Hey, Ok - long story short, I'm a small web designer, and I end up hosting most of my clients sites on my Fedora 6 server, running ISPConfig and Postfix. Right now, if they need email, I just sign them up with google's apps for your domain service, which provides free email domain hosting. Works great, until now... I have two clients; one wants a PHPbb forum, and the other wants Zen cart. Both *need* emails to be able to be sent from the website via PHP scripts. I want to be able to use their domain name, (i.e. [email protected], instead of [email protected]). Simple - just use Postfix. Well, I have another problem. I'm on a Bellsouth DSL connection, with port 25 blocked. I've talked with them, and threatened to leave, and they won't unblock port 25. Supposedly, I can authenticate all my outgoing mail through my ISP's email servers, because my gmail account can send outgoing just fine. So, connecting the dots, you'd think I would be able to send my domain.com email through their mailservers, right? People have told me I can... Could anybody do me a BIG favor, and let me know how to do this, or link me to some tutorials? I'll make a fresh install of any distro you want, and install whatever packages, and follow any directions. I have a spare server to use. I don't care if its postfix or sendmail at this point - I just want something to work, so I can see that it does work and how it does work. FYI: ISP is bellsouth, so mailservers are mail.bellsouth.net. Thank you very very very much for any replies!
Hi, This thread could be very interesting for you: http://www.howtoforge.com/forums/showthread.php?t=13556
wow, most entertaining thread in a while! Sends me in circles... Check the link... you linked to this one ;-) Thanks for replying though!
Thistut by falko is what you need. http://www.howtoforge.com/postfix_relaying_through_another_mailserver Make sure that your php forums *actually* use your postfix. most of them default to trying to send out mail on their own, which is as you found out, blocked. aqua
Well, I followed the directions... here's what I got back... Next is this: Or this: Continues: I'll look around to see what's going on.
hmm... maybe bellsouth.net doesn't even require SMTP-AUTH? I can enter this into console: (reply is in quotes, my commands are in non-quotes) [root@localhost]# telnet mail.bellsouth.net 25 EHLO quit Didn't ask for Authentication. Does that mean I don't need SMTP-AUTH? I'm so confused... EDIT - So, I turned off SMTP-AUTH by doing this: " postconf -e 'relayhost = mail.bellsouth.net' postconf -e 'smtp_sasl_auth_enable = no' " And tried sending mail. I can still connect... but I get the same old "Diagnostic-Code: smtp; 550 #5.1.0 Address rejected." thing. Grrrr. Appreciate any help...
IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2 months later... finally! Thanks for sending me that link... turns out all I had to do was: edit my /etc/postfix/main.cf file, and add: " relayhost = [mail.bellsouth.net] " Then of course, restarting postfix. It needed those darned brackets. No SMTP-AUTH needed. Just takes it as I send it. Dang. I assume that was the same as saying: " postconf -e 'relayhost = [mail.bellsouth.net]' " Man. Finally. Thanks for all the help, people! I'm one happy camper now