Debian :: Forward All Root Mail To External E-mail Account?
Jun 28, 2010
The question is pretty much the same as the subject. I have a bunch of debian servers - most of them running exim4 default installations configured as internet site using dpkg-reconfigure exim4-config. It can send mails fine from php scripts and some other applications, but I can't seem to find a way to forward all root mail to some external address. I have tried adding "root: someaddress@example.com" to /etc/aliases and run newaliases command, but it doesn't seem to work.
I have one Centos Server and I want to forward root mail to 1 external account: [URL] I installed sendmail and created /root/.forward with this content: [URL] and I sent a test mail with this command: /usr/sbin/sendmail root <prueba.txt But nothing was forwarded.
After that I ran the same command with the verbose option:
/usr/sbin/sendmail -v root <prueba.txt
And this is the output:
root... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.13.8/8.13.8; Wed, 3 Nov 2010 21:09:39 -0600 >>> EHLO localhost.localdomain 250-localhost.localdomain Hello myfriend [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES
[code]....
For some reason sendmail tried to connect to example.com smtp server and couldn't reach it. I am sure this is because the smtp server for example.com domain is not example.com is mail.example.com. Besides mail.example.com requires authentication, username , password and the smtp port is not the default 25 is 9999. configure sendmail to forward root mail to a smtp server that requires authentication, username, password with a not the default 25 port?
I have installed Fedora Core 11 with SELinux enforcing.It appears (via log files) that if I use a .forward file in the home directory for root that SELinux prevents the use of this mechanism for forwarding e-mail.Is there a way to continue to use SELinux and be able to forward root's e-mail to an outside account?
I have set up evolution with two POP account and it deleted all my mails from the servers, migrating them on the local machine.
How could I forward all the messages from Evolution to a mail account so I can access them over the Internet?
Forwarding all of them as attachment doesn't, because many of the emails themselves have attachment and it gives an error saying attachment type not supported.
If I try forwarding inline or quoted I have to forward them one by one and there are around 4000.
I have a Fedora 10 machine that I want to setup to send email. However I don't want it to be a full blown SMTP setup.What I am looking to achieve is when something sends email from the local machine (e.g. from cron) to an address I want it to use an MTA on the local machine which will then connect to, and authenticate with, my e-mail providers SMTP server this will then take care of actually sending the e-mail.I don't want, or need, to setup a full blown SMTP service (i.e. only the local machine should be able to use it) so sendmail seems a bit over the top for my needs. Nor do I want to mess about with MX records (am I right in thinking this will mean I have to manage all mail for my domain?).
I am running CentOS 5.5 and am trying to get Nagios to send out Emails.
After a bit of reading I have the following in my /etc/mail.rc file:
Code: [root@linux ~]# cat /etc/mail.rc set ask askcc append dot save crt ignore Received Message-Id Resent-Message-Id Status Mail-From Return-Path Via set smtp=172.29.1.76 You have new mail in /var/spool/mail/root [root@linux ~]#
I have Nagios setup correctly and introduced an error to generate an Email but nothing has come through.I suppose I have two questions:
1. Is mail.rc setup correctly? 2. Can I test to see if mail.rc is working correctly?
I just added my login id to /etc/aliases to forward root's local e-mail to my local e-mail account in evolution.
As always, when I make a change to /etc/aliases, I run newaliases. I now get the following, and root's mail is not showing up in my local mail Inbox:
Code:
Is this correct?
I understand my hostname (i.e., Eng-Lab-010) is not a fully qualified host name, but I never had a problem before. But it appears this not a good thing. What should I do?
I have wiped Windows and am running 10.04 exclusively. 32 bit, when setting up evolution e mail account i dont see where to enter password....where is it? anyone have link with screenshots? i know i can use regular hotmail but want to know how to use default ubuntu programs.
I still can't find a spot for password. options are, login, set preferences and a remember password checkbox but nowhere to enter a password
Can this be done? A company is currently running a postfix mail server. They got a new server and, while the users are migrated, they need to have the messages delivered on BOTH servers.
I thought it could be easily done in postfix: deliver locally AND forward mail to new server, but all solutions I found would deliver the messages in just ONE place.
There is an requirement, intranet people they may not have internet access but they want to send mail to external domain(internet),but in that intranet network one machine can have internet access. Is there any solution for this requirement.
I cannot get exim4 to actually deliver any "local delivery only; not on a network".But whatever I do in the config, all mail gets frozen with entries in the log file like:"root@empty R=nonlocal: Mailing to remote domains not supported"Maybe the problem is that there is no fqdn for the computer (and will never be). How can I enable local mail delivery?
I need help in setting up the native e-mail client included in Debian Squeeze. My ultimate goal is to have the Debian e-mail client download e-mail messages and process attachments automatically.
i basically had this system installed for our mail system.The setup is as follows:
1. Operating system installed is Debian ver. 5.0.3
2. Roundcube is installed as a webmail(if its right for me to say that)
3. The server is hosted right here at our offices
4.The server uses relay system to send mail i.e. relays all our mails to our ISP
That all i can say about the configurations becuase thats as much as i understand it.The problem now is that we are not able to send or recieve emails from both internal and external.I tried to send mail to a collegue in the office who is on our local LAN,Roundcube says sent successfully but the person does not recieve the mail.i tried to send to my yahoo address but nothing.I dont know where these mails have been trapped.
I've installed Postfix and have the server running.On installation, it asked me which domain the service will be for. I entered "test.com". The service will be used for multiple domains. Can Postfix service multiple domains? If so, how can it be done?How does one create a user account? I have read the user account is a UNIX user account. My UNIX user name is "n", so would that mean my e-mail would be "n@test.com"?Is it true mail will be stored in /var/mail by default?I read on Wikipedia that Postfix does not support IMAP, so how does one access mail remotely, or even locally?
I vae Ubuntu, postfix. I need to forward e-mail based on sender. Can I do it with .forward ?
E-mail that comes from user@yahoo.com destined to user@mydomain.com to be forwarded to user@gmail.com. Other e-mail that comes from any addresse must not be forwarded.
im unable to forward a mail with attachment my problem is as below cat /root/data|mail -s "subject" [URL] its not forwarding mail and not throwing any error my attached file is more than 100MB ,will any one me with correct syntax how much length of file can be attached maximum i also tried like this mail -s "subject" [URL] < /root/data its also not working
I have been trying to figure out how to forward a message without showing all of the previous subjects under the header. I would like to be able to highlight and remove the subjects, but it deletes the whole message. Only Outlook, Telus Web Mail, and Hotmail behave in the desired way, but I would like to have a native Linux email client on my machine to do this.
I want to setup a mail virtualserver in apache so that a mail. subdomain whats pointed to the box will automatically goto my roundcube install. i have all of the document root stuff working, however, mail.* doesnt work for a server name.
I wish to intercept/forward emails that is sent to one user on multi user mail server.I only want email from one specific address or group,to be redirected and it will be redirected to another user on same server.The email should not arrive in original users inbox.".forward" file can not give me such solution,because ".forward" file will forward all mails to another specific mail id,which i don't want. I want only specific users mails onto another local user.Is this possible in sendmail?Anybody have clear idea of "virtusetable" & "aliases" file?
I have been using evolution for my email for about a year.It currently has 2 accounts set up.I want to create a third account so I went to Edit > Preferences > Accounts > Add.On the first page I click on "forward" and on the second page enter the new details. New name, new email address and when I'm finished I click on forward again and the second screen comes up. It has some server details on it iirc. Sadly after 2 seconds or so this screen disappears and the very first screen re-appears (where the only thing to click on is "forward").What's happening? Is 2 accounts the maximum? Any clues please?
I set up a mail account in Tbird 3.1.8 - only to find it was incorrect (IMAP rather than POP).
I have set up the new account correctly, but there does not seem to be any way to delete the old account. I have renamed it to avoid confudion; but I really need to delete it.
How do I get kmail to send an email to back to the same account I am using it from? For example - if I am using kmail for the account me@email.net and I have something from an irc chat or IM I need to keep for future reference (instructions for something, contact info for someone, etc.) I open a new blank email in kmail, address it to myself, copy in the info and hit send, but the message never arrives. I have previously used this method with Thunderbird and Evolution and it works in both of them just fine but does not ever work in kmail.
i m using Centos 5.4 Dovecot and Sendmail serve my secondary server have some problems and shwoing me BOGUS files in var/mail
m using Centos 5.4 wiht dovecot and Sendmail my all users receiving a message 20times every time when they press their send/receive button three messages are repeating on every system i deleted all mail from my accounts but some of my accounts facing this problem
i have another problem when i insert my Cd or DVd in DVDwrite on my server and mount him mount /dev/scd0 ---- it dispaly that dev/scd0 does not exist in et/fstab i tried it clicking on DVDWriter Mount but seems error no media,..
how i can resend a message to specific mail account and not delete it when qtrap is enabled in a domain? If qtrap find a word in a mail, delete the mail but i want resend to another mail address?