View Full Version : [ubuntu] configuring postfix to use external smtp server
November 23rd, 2008, 07:55 AM
Hello and thank you for helping me out with this!
I currently have postfix set up to use gmail smtp server for outgoing mail. I set this up because yahoo was not taking my emails since it is coming from a residential ip.
Would it be possible to use a external smtp server like smtp.gmail.com but have the outgoing emails not use the gmail login for the from field.
So I want to send mail as email@example.com for example, but it's sending as firstname.lastname@example.org
is this possible or should I just create a new gmail account?
December 8th, 2008, 01:49 AM
Is there any info I can give to get an answer to this? Anyone know if this is possible? Thanks.
December 8th, 2008, 02:03 AM
I don't believe this is possible with gmail. All mail authenticated with your user name on their server will be sent "FROM" that username.
I relay my mail through AT&T's mail servers, and they don't do this.
December 8th, 2008, 03:09 AM
You should ask you ISP, it is pretty likely that they have an SMTP server that you can use, configuring your the Postfix setup on your box to send all the outgoing email thru that server.
On the Postfix's config file, look for the option:
Add the server's hostname that your ISP tell you, and restart Postfix to make the change active.
Usually these SMTP servers have a limit, or a cap, if you try to send more than X amount of emails per minute, it is pretty common to ban the offending IP address.
December 8th, 2008, 04:03 AM
I can send staright from my box using DDNS
Received-SPF: neutral (google.com: 68.XXX.XXX.85 is neither permitted nor denied by best guess record for domain of email@example.com) client-ip=68.XXX.XXX.85;
Authentication-Results: mx.google.com; spf=neutral (google.com: 68.XXX.XXX.85 is neither permitted nor denied by best guess record for domain of firstname.lastname@example.org) email@example.com
I better start reading
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.