|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: authentication when sending mail
From: Patrick Ben Koetter (p
state-of-mind.de)
Date: Mon Feb 07 2005 - 07:37:28 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* denis moeller <nimbus
latrina.de>:
> Hey again,
>
> when sending mail, I get the following line in mail.err-log:
>
> postfix/smtpd[12494]: warning: SASL authentication problem: unable to open
> Berkeley db /etc/sasldb2: No such file or directory
Which version of SASL do you use?
p
rick
>
> Actually - it is supposed to authenticate against mysql, which already
> works when checking mail.
> Why is it using Sasl2 when sending?
>
> main.cf is this:
> smtpd_sasl_auth_enable = yes
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks, reject_unauth_destination
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_local_domain = $myhostname
> broken_sasl_auth_clients = yes
> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated, check_recipient_access
> mysql:/etc/postfix/mysql-recipient.cf, reject_unauth_destination, permit
> smtpd_sender_restrictions = check_sender_access
> mysql:/etc/postfix/mysql-sender.cf
> smtpd_client_restrictions = check_client_access
> mysql:/etc/postfix/mysql-client.cf
>
> alias_maps = mysql:/etc/postfix/mysql-aliases.cf
> relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
> transport_maps = mysql:/etc/postfix/mysql-transport.cf
> virtual_maps = mysql:/etc/postfix/mysql-virtual.cf
> virtual_mailbox_base = /home/vmail
> virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
> virtual_uid_maps = mysql:/etc/postfix/mysql-virtual-uid.cf
> virtual_gid_maps = mysql:/etc/postfix/mysql-virtual-gid.cf
>
> smtpd.conf looks like this:
> pwcheck_method: auxprop
> auxprop_plugins: mysql
> log_level: 7
> sasl_pwcheck_method: auxprop
> sasl_auxprop_plugin: mysql
> mech_list: PLAIN LOGIN
> #sasl_auxprop_plugin: mysql login plain crammd6 digestmd5
> mysql_user: postfix
> mysql_passwd: postfix
> mysql_hostnames: localhost
> mysql_database: postfix2
> mysql_statement: SELECT clear FROM postfix_users WHERE email = '%u
%r'
> mysql_verbose: yes
>
> Any help greatly appreciated!
--
SMTP AUTH howto:
<http://postfix.state-of-mind.de/patrick.koetter/smtpauth/>
SMTP AUTH debug utility:
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]