Server :: Sendmail - Automatically Forwarding To Another Machine In LAN

Jan 26, 2010

How do I automatically forward mail to a different user on a different machine in my LAN? I have been beating my head for several hours trying to accomplish this. I have sendmail configured as an MTA solely to receive system mail from daemons. For my personal mail I just use KMail and POP. I want all mail on any system in my LAN to forward mail to my office system, where my normal account can receive the messages. Although my office machine is powered on the most often, the box is not available 24/7.

So any other system that can't immediately forward mail should keep that mail queued as long as necessary. I have no problem forwarding root's mail on each local machine to a local user account on that same machine. I have been able to forward the mails but not the way I want. The mails get forwarded to the local /var/mail/me location rather than into the remote office machine /var/mail/me. Adding another alias in the local /etc/mail/aliases has no effect.

Creating ~/.forward in the local user's home directory also has no effect. Both efforts always result in the mails being forwarded to the local location rather than remote. I can send user-to-user email to and from any machine on my LAN. There are no network problems between any machine. Basic forwarding does work, just not to a remote machine at a different account. I won't pretend to know much about mail systems, let alone sendmail.

View 6 Replies


ADVERTISEMENT

Server :: Sendmail Not Forwarding Email To Domain's SMTP?

Apr 9, 2010

I have a server "test1" in domain [URL]. I installed sendmail on it. I have another mail server "mailsrv" installed in [URL] which is my primary mail server and contains all accounts and mailboxes. Now when I send email to [URL] from [URL] it sends successfully. But when I try to mail to user1@abc.com it tries to search user1 in [URL] but I want it to forward this mail to mailsrv.abc.com over SMTP port. Delivery will then be taken care by [URL]

My log shows following

Code:
Apr 9 18:37:06 test1 sendmail[7512]: o39Db6Hs007512: to=user1@abc.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30047, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o39Db6Il007513 Message accepted for delivery) It should not go to relay=[127.0.0.1], it should go to relay=[10.10.10.1]

View 4 Replies View Related

Server :: Sendmail M4 Configuration Base Directory /usr/share/sendmail-cf Was Not Found

Nov 1, 2010

I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message

Quote:

The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at sendmail.org, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have

Quote:

Sendmail M4 base directory = /usr/share/sendmail-cf

which is not there. I did a locate / sendmail-cf on the command line, it finds nothing

View 17 Replies View Related

Server :: Sendmail Not Reading Default Sendmail.cf ?

Apr 1, 2010

I recently modified sendmail.cf to use a third party SMTP server to send emails. It works great. But when I run sendmail from the command line, I have to specify the -C flag and force feed it the location of my sendmail.cf, or else it doesn't work.

So in other words, the following works great:

However, if I don't specify the -C flag, sendmail doesn't consider what's in the sendmail.cf and barfs:

I don't run sendmail as a daemon. I'm only using it to send emails. I know my modifications of sendmail.cf are correct because it works perfectly when I use the -C flag. I searched my disk to see if I could find another sendmail.cf on the machine and only the one in /etc/mail came up.

Why sendmail is not reading my sendmail.cf?

I'm running Sendmail version 8.14.2 on Fedora Core 8.

View 1 Replies View Related

Ubuntu Servers :: X Forwarding - Access Via Ssh A Virtualbox Guest Machine?

Mar 29, 2010

host - ubuntu 9.10 desktop
virtualizer - VirtualBox

What will be the easiest way to ssh connect a VM on VirtualBox, exporting its desktop to host, while it is already running ? I found; Howto Access via ssh a Virtualbox Guest machine.

[Code]...

View 4 Replies View Related

Ubuntu Security :: Stopped Forwarding All Ports To Machine In Router

Mar 1, 2011

This morning I was looking at the router's log file and noticed a certain IP address was able to gain LAN access on port 2222. That just happens to be the port my SSH server is listening on! A whois search revealed that IP address is in Germany. As soon as I found this out I stopped forwarding all ports to this machine in my router.

how to tell what had happened, what information this person was able to obtain, and if he left any goodies behind that could hurt me? I've read through some of the logs on my computer and haven't been able to find much at all. I did have some personal information on the hard drives, but that information is encrypted. I'm thinking if they were able to get my SSH password then that information probably isn't safe either (assuming they have some of it).

View 7 Replies View Related

Ubuntu :: X11 Forwarding Via Ssh Connection - Doesn't Forward To Display To Local Machine

Jul 30, 2010

I am trying to run xeyes on a remote machine via ssh connection. Both my local and remote machines are Ubuntu 10.04. I connect to remote server via ssh -X and It does not forward to display to my local machine...

Code:
root@goliath:/opt/install/bits# ssh -X -l root duke
root@duke's password:
Linux duke 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
Ubuntu 10.04 LTS
[Code]....

View 6 Replies View Related

Red Hat / Fedora :: Connect Machine With Internet And Send Mails Through Sendmail?

Jul 18, 2010

I have configured sendmail server on my Rhel5 machine.i just wanted to know whether i can connect my machine with internet and send my mails through sendmail.

View 1 Replies View Related

General :: Start A Machine Automatically?

Nov 4, 2010

I am using fedora 13. I need to start machine at 9 am and shut-down or hibernate it on 9 pm automatically. Is their is any way.In windows i found this way

View 6 Replies View Related

Fedora Servers :: BIND Detect Client Machine Name Automatically?

Aug 10, 2009

When DNS server is configured on Windows server, it will automatically detect and catch computer names and IP address. With Linux (BIND), I have to enter each clients manual under zone file. example (computer1 IN A 10.10.1.4). is there anyway to make Linux detect client automatically as windows does?

View 6 Replies View Related

Ubuntu Multimedia :: Automatically Rip A CD When Inserted Into The Machine And Then Eject When It Is Complete?

Apr 7, 2011

I currently have a little box with Mediatomb installed which I use to stream to my Linn DS. Is there an application that I can use that will automatically rip a CD when it is inserted into the machine and then eject when it is complete?

View 1 Replies View Related

OpenSUSE :: Wrote A Script To Make Machine Suspend For 30 Secs And Then Wakeup Automatically?

Mar 17, 2010

#!/bin/bash
echo 0 > /sys/class/rtc/rtc0/wakealarm
echo `date '+%s' -d '+ 30 seconds'` > /sys/class/rtc/rtc0/wakealarm

[code]....

View 3 Replies View Related

General :: Automatically Run A Virtual Machine (made By Vmware In Fedora OS) At Startup In Fullscreen?

Sep 11, 2010

I am an administrator of a student lab with 20 PCs. I was thinking of a way to protect those machines in the long run with the presence of some students with destructive behaviour. The most suitable solution to install a Linux OS and use virtual machines to load Microsoft OS. This way once the OS fails I can simply replace the VM with a clone that was previously made.

The point is that most students have no experience with Linux, that's why I need to load the Virtual machine automatically at login and in full-screen view so that The startup process ends up in Microsoft OS through the virtual machine (VMWare based) in Linux platform.

update : I'm using Fedora13 Linux distribution. I believe that part of launching the VM in full-screen is more difficult than automatically launching VMWare at startup. Is there some way I can tell VMWare to launch a particular virtual machine in full-screen when it starts on boot?

View 1 Replies View Related

Server :: Port Forwarding For FTP?

Oct 21, 2010

my ftp (with SSL) server is behind firewall.

Code:81.81.81.81 FIREWALL (my external address) 192.168.1.5 - FTP server How to create portforwarding for such a configuration. I`m not interesting about iptables rules. I would like to know which port should I redirect and how ? FTP server usualy using 20 and 21. What about VSFTPD with SSL ? Also 20 and 21 ?

View 1 Replies View Related

Networking :: Access A Windows Server 2000 Machine Using A Machine Via KDE?

Apr 9, 2010

I need to access a Windows Server 2000 machine using a Linux machine via KDE, but that will migrate to Gnome. The Linux user to connect to Windows machine, you should open an application 'XYZ' automatically, and only this, denying any unauthorized access. When you close the application 'XYZ' communications (RDP?) Should be terminated. Do I need a log of accesses and possible attempts to circumvent the system and access other application.

View 7 Replies View Related

Server :: Postfix As Spam Mailscanner To Protect Mail Server Running Sendmail?

Jul 27, 2011

I am using postfix as spam Mailscanner to protect my mail server running sendmail. The problem is that when I forward an email from MailScanner mail me back with the following error:

<postmaster@localhost.@mydomain.com.>... Real domain name required for sender address (in reply to MAIL FROM command))
Jul 27 13:15:59 smtp postfix/local[28465]: C68AC1000001: to=<root@smtp.mydomain.com>,

[code]....

View 1 Replies View Related

Server :: Can't Login To Sendmail Server Using Cyrus-imap On Fedora Core

Apr 4, 2011

I recently setup an email server on Fedora Core (14). Sendmail is running and I am trying to authenticate from a client pc using imaps. I installed Cyrus-imap and it is running and listening on 993. When I try to login, it doesn't accept authentication even though I verified the user's password is correct. (tested with ssh)Is there something I have to do with Cyrus or on the server to allow connections to email? I have not used Cyrus before. I am attempting to access my mail folders via Sendmail and did not make mailboxes in Cyrus. I did allow imaps through the firewall.

View 1 Replies View Related

Server :: Slackware Based SMTP Server Running Sendmail Is Having These Errors ?

Apr 7, 2011

Im not able to find good response on this from google, urgent help required.

While im looking at my smtp server log at /var/log/maillog, im having these two errors for which im unable to find the reason.

1)Could not open inline file /etc/MailScanner/reports/en/inline.sig.txt, No such file or directory

2)did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

View 1 Replies View Related

Server :: PHP And Sendmail With External Mail Server / Failed Reverse DNS Check?

Jun 7, 2010

After searching the forum I could not find a clear answer to my question so I am giving it a try...

I have installed a LAMP server with Postfix as mail server. The scripts send email as user www-data using the mail server on the same machine.

However, the email got rejected by external mail servers (failed reverse DNS check) so I setup a mail server that meets all needed requirements.

Now I would like to use this second server instead of the mail server on the LAMP server. I found that this could be done with changing sendmail settings in php.ini (I think).

However I am not sure how that will go: www-data is no actual user on the new email server (which requires authentication before sending). Do I need to create a new user on the email server or change the settings in php.ini to match an existing user?

View 1 Replies View Related

Server :: Sendmail - Mail Server Rejected Email And Unable To Send

Feb 24, 2010

I have users [URL] unable to send email to [URL]. [URL] user also unable to send email to [URL]. But both email addresses are fine as they can receive email from others or from [URL] and [URL]. I able to telnet mail server 110 and 25, no problem. Version: ESMTP Sendmail 8.12.10

Mail Log:

Feb 23 11:36:35 mail sendmail[16228]: o1N3aZxt016215: to=<xxx1@gas.com>, ctladdr=<xxx@abc.com> (501/501), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=442918, relay=gas.com, dsn=5.1.2, stat=Host unknown (Name server: gas.com: no data known)

[code]....

View 4 Replies View Related

Server :: Sendmail Server - Status - Sent - But Unable To Retrieve On User Inbox - FEDORA CORE 9

Jan 20, 2010

We're running a sendmail server on a fedora core 9 which we've configured recently. The problem is, the server is working fine but there are some e-mails that enter our server but doesn't get forwarded to the user.

Quote:

Quote:

Here it says "stat=Sent" but nothing from the above mail address has been received on the client's inbox. We've experienced this with Microsoft Outlook, Outlook Express and Thunderbird alike so far with Two(2) of our user accounts.

View 1 Replies View Related

Fedora Servers :: Turn Public Server Into A Sendmail Server?

Feb 22, 2009

I'm new to send mail. I have a server with a public address and domain name. But I only want to implement a small sendmail network on our 20-user LAN. Can I turn my public server into a sendmail server? Are there any simple step-by-step instructions for this?

View 1 Replies View Related

General :: Setup A Sendmail Server On Dedicated Server And Exim

Mar 16, 2010

I am trying to setup a sendmail server on my dedicated server. It was pre-configured to use exim from cpanel. Is it possible to use exim for all emails from a a certain domain i setup on the server and sendmail for others?

ex.
domain1.com -> exim
domain2.com -> sendmail

If it is possible can someone let me know how i would go about doing this? If it is not how would i disable exim and use sendmail for all mail?

View 4 Replies View Related

Server :: Of FQDNs - Sendmail - And Apache VirtualHost Server Aliases

Feb 26, 2011

I'm setting up a full server configuration on Fedora, moving it from Mandriva which sadly faces a rather uncertain future. Things are going well and I will be ready (and more familiar with Fedora) in time to upgrade to Fedora 15.

What I have done so far in regard to networking setup:

I first removed Network Manager and replaced it with the network service (chkconfig --level 25 network on). That put an end to the overwriting of /etc/hosts, which now reads simply:

View 2 Replies View Related

Server :: Setting Up Sendmail On A Blank RHEL 5.5 Server Setup

Jun 21, 2010

Having some issues setting up sendmail on a (basically) blank RHEL 5.5 server setup. My ultimate goal is to be able to automagically send logs / errors / notifications to ourselves from the server.

Our basic setup is a Win 2003 domain with exchange running on mail.domain.com.au.

I've edited the '/etc/mail/sendmail.mc' and added the :

Code:

line to it.

Also added the domain (domain.com.au) to the '/etc/mail/local-host-names' files

Also edited submit.mc and added

Code:

When I try and send a mail from root or a test user to one of the domain accounts, it seems to go fine, i.e no errors are reported but it never gets delivered.

From the mail logs:

Code:

So it seems to be sent to the queue no problems and when I check the queue :

Code:

Total requests: 0

Not nothing ever gets received. Am I missing something? I have read and read and read but dont seem to be getting any furthur.

So in the end this server doesn't need to do anything except be able to send mail from root to an external mail address.

View 1 Replies View Related

CentOS 5 Server :: Email Server Setup Using Sendmail And Dovecot?

Apr 24, 2009

I am trying to set up a mail server on centos5 using sendmail and dovecot, and eventually spamassassin and some antivirus filter as well. I'd also like to get the proper secure auth mechanism set up at some point too. But for starters, I've been having a lot of difficulty trying to even connect to the mail server from a client computer in the local network. I installed Eudora on the client and after some tweaking in dovecot I was able to connect to the mail server, but then when I try to send an email I get a "connection refused" error, with nothing being logged on the server that I can see.

The last time I set up a mail server was Fedora Core 2, so the configuration files have changed a bit to say the least, and I can't really refer back to those to set up this new server. Does anybody know of a good step-by-step doc on getting the mail server going? I've read the man pages and other various readme's, but these really only list out the available options with no really good explanation of what needs to be done to get the mail server going. If there isn't a full write-up on how to do this, I'll put something together when I'm finished so others can use it in the future.

View 7 Replies View Related

Networking :: Port Forwarding 80 To LAN (Web Server)

Feb 3, 2010

I have two PC's, one with slackware and one with arch, and I am trying to access the web server from the archlinux machine but i haven't manage to do that. The archlinux machine is connect to the internet via the slackware machine via a crossover cable:
internet > eth0 (pc1) and ppp0 (the PPPoE connection, pc1) > eth1 (pc1) > eth0 (pc2)

PC1:
ifconfig eth1 192.168.0.1 netmask 255.255.255.0
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -A FORWARD -i ppp0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i eth1 -o ppp0 -j ACCEPT

pc2:
ifconfig eth0 192.168.0.2 netmask 255.255.255.0
ifconfig eth0 up
route add default gw 192.168.0.1 eth0
/etc/resolv.conf (The same DNS as the first PC)

And now the internet is working and on the archlinux machine, but I am not able to access the web server from LAN with a public IP. I tried many iptables port forwarding commands but none worked.

View 14 Replies View Related

Server :: SSH Tunnel Forwarding With No Shell?

Jul 9, 2010

I am trying to have the SSH tunnel Remote forwarding command in a shell script. I should be able to do 2 tasks, but unable to get that going.1) I have 3 servers Server 1, Server 2, Server 3.I have my Database running on Server 1 and my script running on Server 2 which should be able to do port forwarding from Server 1 to Server 3.so for example on Server 2ssh -i $ssh_key -R 9000:Server1:3333 root@Server2.

I need to be able to stick this in a shell script something like
getTunnel()
{

[code]...

View 1 Replies View Related

Server :: SSH Tunnel Port Forwarding

Mar 18, 2010

I currently have a gui running on port 8000 on some of my remote servers, unfortunately i do not control the firewall so can not open that outbound port to access it from hereIs there a way with an ssh tunnel to redirect that to another port so i can access it from here?

View 2 Replies View Related

Server :: Forward Mail Of One User To Other In Sendmail Server?

Jan 5, 2011

i have configured sendmail server in my lan and it is working fine for me.but there is one little problem for me. i want mails send sunita should be received by vinita.sunita and vinita both are normal users on same pc.

for this i made entry in
Code:
/etc/aliases sunita: vinita

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved