Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 09-27-2004, 06:30 PM   #1
Registered: Mar 2004
Posts: 30

Rep: Reputation: 15
Question 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 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

Added the following to

# 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 usernameassword (where destination is and username and passwd are my username and passwd for my sbcglobal account)

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

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

Old 09-28-2004, 09:32 PM   #2
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Found out I had to add in
relayhost = [relayhostname]

as well had to install libsasl* libraries

Seems to work fine now.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP Authentication jademan83 *BSD 0 10-04-2005 01:20 PM
postfix installation on suse with smtp authentication murattas Linux - Software 0 05-03-2005 12:16 PM
smtp authentication ashfaq Linux - Software 1 02-25-2004 02:59 AM
Qmail and SMTP Authentication miknight Linux - Software 0 01-30-2003 05:03 AM
SMTP Authentication msmith7735 Linux - Software 1 11-26-2002 06:24 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration