Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th December 2008, 20:34
bendycode bendycode is offline
Junior Member
 
Join Date: Dec 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Postfix SMTP Authentication - On The Secure Port Only - MECH question

How do I change MECH values?


Sure enough, my authentication failed the test.

The article says: **If the authentication is not successful, you may have to change the MECH value in /etc/sysconfig/saslauthd and /etc/init.d/saslauthd.

I don't have an /etc/sysconfig/saslauthd file, and I don't see what I need to change in /etc/init.d/saslauthd

saslauthd -V shows:

authentication mechanisms: sasldb getpwent kerberos5 pam rimap shadow ldap

I got to this point after following http://howtoforge.com/virtual-users-...ail-ubuntu8.04 , having everything work, except for SMTP to the server. My ISP blocks port 25, and ports 465 and 587 were not yet serving secure SMTP. That lead me to this howto.


Thanks in advance for your help!
-Steve-
Reply With Quote
Sponsored Links
  #2  
Old 30th December 2008, 14:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Which distribution are you using?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 30th December 2008, 17:25
bendycode bendycode is offline
Junior Member
 
Join Date: Dec 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ubuntu 8.04.1
Reply With Quote
  #4  
Old 31st December 2008, 13:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

What's in /etc/postfix/sasl/smtpd.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 31st December 2008, 17:04
bendycode bendycode is offline
Junior Member
 
Join Date: Dec 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

pwcheck_method: saslauthd
mech_list: plain login
Reply With Quote
  #6  
Old 1st January 2009, 12:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

According to the tutorial it should look as follows:
Code:
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: mail_admin
sql_passwd: mail_admin_password
sql_database: mail
sql_select: select password from users where email = '%u'
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
secure smtp mech

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix: smtpd --> SASL LOGIN authentication failed tom General 25 2nd February 2010 18:43
i dont recive any mail of any domain chua_jose Installation/Configuration 18 10th November 2008 19:55
Postfix not binding to port 25 jasonwashere Installation/Configuration 5 6th August 2008 02:34
Postfix - SMTP - authentication failed Hans Server Operation 4 2nd April 2006 11:30
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 23:40


All times are GMT +2. The time now is 16:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.