Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix/SASL : sasldb2.db: Invalid argument
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lonegd
Apprentice
Apprentice


Joined: 07 Dec 2003
Posts: 185
Location: UK

PostPosted: Fri Jul 22, 2005 4:39 pm    Post subject: Postfix/SASL : sasldb2.db: Invalid argument Reply with quote

Oh god I hate FreeBSD ;{

Trying to get Postfix and SASL working about getting:-

Code:

Jul 22 17:28:11 smtp postfix/smtp[42219]: fatal: open database /usr/local/etc/sasldb2.db: Invalid argument
Jul 22 17:28:12 smtp postfix/master[25444]: warning: process /usr/local/libexec/postfix/smtp pid 42219 exit status 1
Jul 22 17:28:12 smtp postfix/master[25444]: warning: /usr/local/libexec/postfix/smtp: bad command startup -- throttling


I'm trying to use pam atm :-

Code:

smtp postfix # cat /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login digest-md5 cram-md5


Postfix 2.2.4
SASLAUTHD 2.1.21 ( authentication mechanisms: sasldb getpwent pam rimap )

Having to use FreeBSD cos its a work machine :(
_________________
Mark Cooper
http://pvrhw.goldfish.org/ - Open Source PVR Hardware Database
Back to top
View user's profile Send private message
Aztechian
n00b
n00b


Joined: 22 Jul 2005
Posts: 4
Location: San Diego, CA

PostPosted: Fri Jul 22, 2005 4:47 pm    Post subject: Reply with quote

check that /etc/conf.d/saslauthd has something like:

SASLAUTHD_OPTS="${SASLAUTH_MECH} -a pam -r"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum