
mediaslayer at gmail
Mar 15, 2009, 8:22 PM
Post #9 of 9
(1813 views)
Permalink
|
I'm not sure how, but I finally got it to work. Some of the steps I performed are below (in case someone else has this issue). I'm not sure which one did it because I made one change which caused something else to break. Maybe someone can explain. I am running postfix chrooted, which may have been part of my problem. (I read in places that Debian was tricky in this area) I changed my smtpd.conf file to the following: (it is located in /etc/postfix/sasl) pwcheck_method: saslauthd mech_list: plain login cram-md5 digest-md5 In /etc/default/saslauthd, I changed my options line to the following: OPTIONS="-r -c -m /var/spool/postfix/var/run/saslauthd" And added this line: MECH_OPTIONS="127.0.0.1" I also added postfix user to the SASL group (I was getting an access denied error (in mail.log) on SASL authentication): adduser postfix sasl Thanks to everyone that helped. It would be helpful if someone could explain what (if any) of the above may have fixed this problem. Jorge Bastos wrote: > > I think the best you can do for now is test sasl. > > testsaslauthd -u test -p test > 0: NO "authentication failed" > > > >> -----Original Message----- >> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On >> Behalf Of mediaslayer >> Sent: domingo, 15 de Março de 2009 20:31 >> To: dbmail [at] dbmail >> Subject: Re: [Dbmail] DBMail and SASL Authentication >> >> >> IMAP is working. >> I can send/receive e-mail with accounts within the server. I have not >> opened the port to outside access yet because I want SASL to work >> first. >> I can send mail to outside addresses. >> >> IMAP works with Outlook as a client as well as Squirrel, RedCube, and a >> few >> others. (haven't decided which one I'm going to use yet.) >> >> As far as I am concerned, everything is working except SMTP >> authentication. >> I don't want to open the port until SASL is working. >> >> >> Paul J Stevens wrote: >> > >> > >> > Hi there, >> > >> > Before you start worrying about saslauth, you should make sure that >> all >> > components involved work properly themselves. >> > >> > Is dbmail-imapd running, accepting connections, etc? Can you login to >> > imap? >> > >> > Is postfix working ok? Can you send mail out, and can you make sure >> > incoming email is delivered to dbmail? >> > >> > Only when all this is working should you start concerning yourself >> with >> > sasl. >> > >> > mediaslayer wrote: >> >> Well, I got a little further, but I'm not sure I have SASL >> configured >> >> correctly. I'm new to SASL, Postfix, DBMail etc. >> >> >> >> I noticed that my auth.log file has some entries about postfix/smtpd >> >> quering >> >> dbmail's database. I thought it used IMAP to verify the >> credentials. >> >> Did I >> >> miss something? >> > >> > That depends. If you are using postfix to verify local recipients >> > against the dbmail database that might be ok. If those queries are >> > trying to validate users, you postfix configuration is incorrect. >> > >> > Small steps. >> > >> > -- >> > ________________________________________________________________ >> > Paul Stevens paul at nfg.nl >> > NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 >> > The Netherlands________________________________http://www.nfg.nl >> > _______________________________________________ >> > DBmail mailing list >> > DBmail [at] dbmail >> > http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail >> > >> > >> >> -- >> View this message in context: http://www.nabble.com/DBMail-and-SASL- >> Authentication-tp22513352p22527640.html >> Sent from the dbmail users mailing list archive at Nabble.com. >> >> _______________________________________________ >> DBmail mailing list >> DBmail [at] dbmail >> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail > > _______________________________________________ > DBmail mailing list > DBmail [at] dbmail > http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail > > -- View this message in context: http://www.nabble.com/DBMail-and-SASL-Authentication-tp22513352p22531374.html Sent from the dbmail users mailing list archive at Nabble.com. _______________________________________________ DBmail mailing list DBmail [at] dbmail http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
|