LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-27-2004, 05:30 PM   #1
dt23
Member
 
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 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 tohttp://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 usernameassword (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
 
Old 09-28-2004, 08:32 PM   #2
dt23
Member
 
Registered: Mar 2004
Posts: 30

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

as well had to install libsasl* libraries

Seems to work fine now.

-dt23
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 03:15 AM.

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