Ubuntu :: Forwarding System Email Through External Gmail?
Jan 14, 2010
I have configured a command line (9.10) server to forward all the system email notices to an external Gmail account.
All is forwarding fine except, all the emails from root have a return email address of "root <myaccountname@gmail.com>".
I do not think that it is a big security issue but, I would prefer that the root emails were forwarded to an existing user account on the server and then forwarded to my external Gmail account. That way the return address would not say "root" within the address but rather "existinguser <myaccountname@gmail.com".
Anyone have a thought on this? Is exposing the "root" name within the return email address a serious security issue?
I just bought a domain, let's say it's called example.com
I also have a gmail account, let's say it's: my.account@gmail.com
I want all email to master@example.com to forward to my.account@gmail.com, and likewise I want all e-mail from my.account@gmail.com to be from master@example.com, and have the reply-to also be master@example.com.
I guess the most pressing issue here is setting up some proxy to forward all my @example.com emails to my gmail. I've been looking through the forums and reading some tutorials, but none of them seem to do exactly what I'm looking for.
I am thinking about buying a domain name and hosting my web server.
I have seen pricing from $8 to $30 a year. Any favorites from fellow ubunters? Also this whole "whois" thing scares me, if I am correct my information I enter when buying the domain is enter into some big pool of information. People can find this information out and dig up important information. url Can I prevent this with private Whois or how do I set it up? This website examples some of my fears with this whole WhoIs thing, url whois/Private-Whois.html Does most/all domain registers come with email or just email forwarding or both? How does that work? At this moment, my only question about Web Hosting is how do I get Website Statistics as in: Stats, web analytics, web traffic stats and more? I will be web hosting through Ubuntu 9.10 gnome.
I use evolution 2.26.1 on my jaunty machine. I have a couple of gmail accounts, and use pop3 to have that mail sent to evolution on my computer. All was fine until a few days ago. Then I noticed that I was no longer getting mail from my freecycle account sent to my machine. I went to the gmail web interface and saw that freecycle mail is still being sent to me. But gmail isn't passing it along to my evolution. The odd thing is, other mail from that gmail account *is* reaching evolution okay.
I use fedora 13 now. I want to try mutt, but I don't know how to make it work.so I search by Google, Then,I add a .fetchmailrc in my home directory as below:
set daemon 60 set logfile /home/kenifanying/.fetchlog poll pop.gmail.com protocol POP3 user "abc@gmail.com" password "123456" ssl sslcertck sslcertpath /home/kenifanying/.certs/
There are two files named gmail.pem and Equifax_Secure_CA.pem in ~/.certs/ I create these two files like this: First, I retrieve the Gmail certificate provided by the Gmail pop server: $ openssl s_client -connect pop.gmail.com:995 -showcerts
i am working on a neat little bash script, and i want the output to be mailed to my email account. So far i have tried installing sendmail then running: mail -s Test myemail@gmail.com But that hasn't worked; and i did check my spam folder. Am i missing something or is there a better technique all together?
I am running debian testing, amd64 architecture on my box. I have 3 gmail accounts that I use regularly. I have used mainly thunderbird/icedove to access my mailboxes via imap.However, now two of them have really several tens of thousands of emails I often experience difficulties in dealing with them (the connection often freezes, browsing my folders is a pain).I tried also sylpheed and claws, but the situation has not really improved.I do not think there is anything fundamentally wrong in the way I configured my accounts on the various clients (actually, some of them even boast automatic setup of gmail accounts).
I'm facing the best problem which I ever had, where is the previous vendor don't do any documentation. So my task actually do some enhancement on the filtering solution actually, but what I found out is like this..
here my cat /var/log/maillog
Jan 31 09:47:02 mws postfix/cleanup[11028]: 998464290DB: hold: header Received: from mail.jkm.gov.my (webmail.jkm.gov.my [10.0.223.2])??by webmail.jkm.gov.my (Postfix) with ESMTP id 998464290DB??for <hidzuan@gmail.com>; Mon, 31 Jan 2011 09:47:02 +0800 (MYT) from webmail.jkm.gov.my[10.0.223.2]; from=<e1@jkm.gov.my> to=<hidzuan@gmail.com> proto=ESMTP helo=<mail.jkm.gov.my>
I am pretty new to C.L.I/text editing work. So maybe its a bit old-fashioned but I am interested in learning how to send email via the command line. I am running 10.04 32 bit
Situation: I have followed the explicit and step-by-step actions at http://klenwell.com/is/UbuntuCommandLineGmail
Question: Upon completion, when trying to send a test email to myself via gmail (from CLI) I get the following error: "msmtp: no recipients found". In CLI below it asks me to explicitly pick a mailx to download. I think I already have mailx as when I type mailx I get "no mail for primary".
Here is my work Code: :~$ sudo apt-get install msmtp mailx [sudo] password for: Reading package lists... Done Building dependency tree Reading state information... Done msmtp is already the newest version. Package mailx is a virtual package provided by: mailutils 1:2.1+dfsg1-4ubuntu1 heirloom-mailx 12.4-1.1 bsd-mailx 8.1.2-0.20090911cvs-2ubuntu1
You should explicitly select one to install. E: Package mailx has no installation candidate :~$ gedit ~/.msmtprc :~$ chmod 600 ~/.msmtprc :~$ gedit ~/.mailrc :~$ echo -e "testing email from the command line" > /tmp/test_email :~$ mailx -s "mailx gmail test" xxxxxxx@gmail.com < /tmp/test_email msmtp: no recipients found
Here is ~/.msmtprc Code: # config options: [URL]#A-user-configuration-file defaults logfile /tmp/msmtp.log # gmail account #account gmail auth on host smtp.gmail.com port 587 user xxxxxx@gmail.com password xxxxxx from xxxxxx@gmail.com tls on tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt # set default account to use (not necessary with single account) #account default : gmail and here is ~/.mailrc
Code: # set smtp for mailx # gmail account (default) # $ mailx -s "subject line" -a /path/attachment recipient@email.com < /path/body.txt set from="xxxxxx@gmail.com (xxxxx)" set sendmail="/usr/bin/msmtp" set message-sendmail-extra-arguments="-a gmail"
I have a problem sending emails in the command line. I have introduced this command:
sendEmail -f my.account@gmail.com -t myself@domain.tld -u this is the test tile -m "this is a test message" -s smtp.gmail.com -o tls=yes -xu usernameonly -xp mypasswd
But then I received this message: sendEmail[13230]: ERROR => Connection attempt to smtp.gmail.com:25 failed: IO::Socket::INET: connect: Connection timed out
Is it possible to send an email to abc123@gmail.com directly from Console? If it is possible, do I need to do some 'configuration stuff' to get it to work? How do I start it?
I am trying to figure out how if it is even possible to set up my centos server to email messages to gmail account I have tried mail -S Test account@gmail.com but every time it say in my log files that Connection refused by [127.0.0.1]
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]
for like two weeks I have been trying to send email using evolution for some reason I always get the same Code: Could not connect to smtp.gmail.com: Input/output error
I have been trying to figure out how to keep my company's email from being treated as junk mail by Hotmail, Yahoo & Gmail for over a year.
When I acquired the company its email was hosted by sina.com as its in China. It was being run under a windows server and had issues sending & receiving.
I moved it to a linux server system in Hong Kong that has a US co-host site in Chicago area thinking its got to better than whats running in China.
We are still having problems sending emails to hotmail, yahoo and gmail.
My entire company is about ready to redmond our company email and use their personal webmail accounts.
I install qmail server from source according to document on qmailrocks.org but when i add domain and email account and after press the button create the next window in explorer is blank.
i have centos 5.5 and qmail installed in it this qmail is used for internal mail , we are not send mail from internal to external ids i.e gmail, yahoo etc, this qmail intalled on 192.x.x.x ip server this ip is not live ip but my problem is that from few days mail are sending from internal to external like indiatimes ,yahoo
I am trying to send an email by sendmail (ubuntu) to external servers, but unable to send. following is what i am trying to do and what i got the response:
I've set up a mail server using Postfix + dovecot. It works just fine sending email to users in my domain. However, I can't send email to external domains (like gmail, yahoo, etc) different than mine. I've tried sending from a remote connection using Evolution and I get the following message on mail.log
Jan 8 10:45:20 mail postfix/smtpd[14911]: connect from unknown[] Jan 8 10:45:21 mail postfix/smtpd[14911]: NOQUEUE: reject: RCPT from unknown[]: 550 5.1.1 <lobomacz@gmail.com>: Recipient address rejected: User unknown in local recipient table; from=<user@mydomain.com> to=<lobomacz@gmail.com> proto=ESMTP helo=<[10.24.4.230]>
I just setup a mail server on my web server and I cannot for the life of me figure out how to send emails to external (as in outside my LAN) emails or receive from external emails. I'm using Postfix with Dovecot and Squirrelmail. I get this delivery report in Squirrelmail when trying to send an email to my hotmail address.
Final-Recipient: rfc822; example@hotmail.com Action: failed Status: 5.0.0 Remote-MTA: dns; mx3.hotmail.com Diagnostic-Code: smtp; 550 DY-001 Mail rejected by Windows Live Hotmail for policy reasons. We generally do not accept email from dynamic IP's as they are not typically used to deliver unauthenticated SMTP e-mail to an Internet mail server. [URL] maintains lists of dynamic and residential IP addresses. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit [URL] for email delivery information and support.
I have a slackware machine which has preinstalled the sendmail mail server. For this machine I have given a domain name (I have a static IP), so I'm able to administer my email through the UI of webmin, i.e. I can send and receive emails.
However I would like to use it only as an email server, i.e. what I would like to do is Conecting to it, by using an email client (e.g. Thundirbird) in order to receive and send emails Conecting to it from a web server so a to send new posts etc.
By searching around I found that in order to test the mail server from outside you can use the following series of commands:
I have been running an email server on a Red Hat 9 system for 5 years, and wanting to upgrade it to the latest Fedora OS. A few days ago it crashed. The server is running Fedora 11 (up-to-date). Clients are Fedora 11 and Windows XP machines using Thunderbird for accessing email. The server is running Postfix and Dovecot. Within my local network I can send and receive emails. I can also send email to addresses outside of my local network. The only problem is that I cannot receive any email from outside the local network. I cannot think of anything aside from my firewall (iptables) or postfix config that could be causing the problem.
Below are my iptables file, and the postfix main.cf changes that I have made. Iptables (the same file I was using on Red Hat version 9 with one minor deprecated syntax changed): *nat :PREROUTING ACCEPT [22:1894] :POSTROUTING ACCEPT [14:840] :OUTPUT ACCEPT [17:1356] -A POSTROUTING -o eth0 -j MASQUERADE COMMIT *filter .....
I am using postfix and dovecot installed in one machine running linux centos 5.4 and I have two lan card eth0 and eth1 the eth0 is my IP from ISP the eth1 is my internal IP
Now since my postfix and dovecot are started without any errors what I mean is. I can able to send in yahoo,gmail,etc... and also i can recieve email from outside. My question is how can I restrict this email address prinzz@prinzz.com denied for outside but can send and recieve only in internal while this prinzz2@prinzz.com is allow to send and receive outside and inside.
use any browser and go to gmail. i can't get gmail to load. if i browse on videos, links to videos don't work. they appear to be taking a long time to buffer, then a message appears saying to try again. sometimes, links on google search pages are all dead. yahoo mail loads as far as logging me in, then i get a page with all dead links.
i'm using a laptop at several locations that have free public wifi. at some places, everything works perfectly normally. at other places, google and yahoo are almost useless. the "bad" places work just fine under ms windows.
so i figure it's a networking/handshaking issue, but that's all i can figure. i need help to troubleshoot it further. if it's happening to me, it has to be happening to other people, and i consider it a major hassle.