Postfix errors
i keep getting these errors and im not sure why
May 13 16:32:33 broken postfix/smtpd[8521]: saslpluginload failed on saslauxproppluginit for plugin: sql
y 13 17:00:20 broken postfix/smtpd[8664]: saslpluginload failed on saslauxproppluginit for plugin: sql
System Events
=-=-=-=-=-=-=
May 13 16:32:33 broken postfix/smtpd[8521]: sql_select option missing
May 13 16:32:33 broken postfix/smtpd[8521]: auxpropfunc error no mechanism available
broken postfix/smtpd[8664]: sql_select option missing
May 13 17:00:20 broken postfix/smtpd[8664]: auxpropfunc error no mechanism available
and so forth.. any ideas?
3 Replies
But there are obvious problems with this: What about mobile users? They would have to change their SMTP settings constantly depending on what network they're on. Spyware was the nail in the coffin as it quickly learned to flood whatever open SMTP it could find.
So then there's SASL. A bloated authentication layer that had the audacity to put "Simple" in the title. It allows SMTP to use usernames and passwords like any other modern Internet protocol.
I use Postfix+MySQL+SASL+ClamSMTP on a Debian Sarge machine, and it wasn't trivial to setup. Although now it works beautifully and handles thousands of e-mails a day without fail.
I'm not going to provide links because a simple Google search for Postfix and whatever your having problems with will return tons of relevant results. Also, the Postfix mailing list is quite good and the archives contain just about any question you could think of.
One hint: Take Postfix out of its default chroot environment. Sure its a "huge" security risk, but it makes life much much easier.
Anyway, I'm rambling and probably not helping, so please post more details about what your setup (or intended setup) is like if you want further help.
for sasl setup, it should check against the mysql database that contains everything such as usernames/passwords. (im doing a postfix-mysql setup). umm config file is as follows for the main.cf
smtpdbanner = $myhostname ESMTP $mailname (Debian/GNU)
biff = no
appending .domain is the MUA's job.
appenddotmydomain = no
Uncomment the next line to generate "delayed mail" warnings
delaywarningtime = 4h
myhostname = mail.our-lan.com
alias_maps = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost
mynetworks = 127.0.0.0/8
mailbox_command =
mailboxsizelimit = 0
recipient_delimiter = +
virtualaliasmaps = mysql:/etc/postfix/mysql-virtualforwardings.cf mysql:/etc/postfix/mysql-virtualemail2email.cf
virtualmailboxdomains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtualmailboxmaps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtualmailboxbase = /home/vmail
virtualuidmaps = static:5000
virtualgidmaps = static:5000
smtpdsaslauth_enable = yes
brokensaslauth_clients = yes
smtpdrecipientrestrictions = permitmynetworks, permitsaslauthenticated, rejectunauth_destination
smtpdusetls = yes
smtpdtlscert_file = /etc/postfix/smtpd.cert
smtpdtlskey_file = /etc/postfix/smtpd.key
let me know if there is others u need
cheers
Nathan