LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Postfix smtp authentication help (https://www.linuxquestions.org/questions/mandriva-30/postfix-smtp-authentication-help-235935/)

dt23 09-27-2004 05:30 PM

Postfix smtp authentication help
 
I'm running Mandrake 9.2, and using Postfix as my MTA.

Whenever I try sending email through my php script to an sbcglobal.net email, for example, it keeps getting bounced. I know many other people have had the same problem.

Apparently, it seems I need to relay messages to my ISP SMTP server in order for the messages to be sent successfully.

I get to the point where the messages are returning a "authentication required" message... so here's what I did, according to:(http://www.mandrakesecure.net/en/docs/postfix-sasl.php)

Added the following to main.cf:

# Other configurable parameters
# server
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, check_relay_domains
smtpd_sasl_security_options = noanonymous
# client
smtp_sasl_auth_enable = yes

smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

Added the following to sasl_passwd:
destination username:password (where destination is smtp.sbgglobal.yaho.com and username and passwd are my username and passwd for my sbcglobal account)

Next, I ran: 'postmap main.cf' and 'postmap sasl_passwd', and reloaded postfix.

Why are my messages still not being authenticated and sent successfully?
Any help would be greatly appreciated!

-dt23

dt23 09-28-2004 08:32 PM

Found out I had to add in main.cf:
relayhost = [relayhostname]

as well had to install libsasl* libraries

Seems to work fine now.

-dt23


All times are GMT -5. The time now is 02:44 PM.