Postfix – virtual maps

I znowu zjadłem zęby na pytaniu: „czemu nie działa”:

$ cat /etc/postfix/virtual
konto@jakas.domena.pl konto

OK, niby wszystko w pąsiu? Nie!

First off:
$ postmap /etc/postfix/virtual

Prawie w domu…

$ grep virtual /etc/postfix/main.cf
virtual_alias_domains = jakas.domena.pl
virtual_alias_maps = hash:/etc/postfix/virtual

$ grep permit_sasl /etc/postfix/main.cf
smtpd_recipient_restrictions = permit_sasl_authenticated, (…)

Fkorz:
$ /etc/init.d/saslauthd restart
A potem fkorz:
$ /etc/init.d/posfix reload

No, działa… w końcu…

Do poczytania:
http://www.postfix.org/VIRTUAL_README.html
Oczywiście o SASL tam nic nie ma… Na szczęście pamiętałem, że czegoś może w smtpd_recipient_restrictions brakować.

Postfix – the horrrrrrrorrrrrrrr!

Wszystko pięknie w/g konfiguracji:

http://www.howtoforge.com/perfect_setup_debian_etch_p5

Efekt? Nie działa. Ehhh, Debian…

May 19 13:11:14 (hidden) postfix/smtpd[6073]: connect from (hidden)
May 19 13:11:14 (hidden) postfix/smtpd[6073]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
May 19 13:11:14 (hidden) postfix/smtpd[6073]: warning: (hidden): SASL LOGIN authentication failed: generic failure
May 19 13:11:14 (hidden) postfix/smtpd[6073]: lost connection after AUTH from (hidden)

Rozwiązanie:
http://linux.derkeiler.com/Mailing-Lists/Debian/2004-06/2122.html

Ufff. Chociaż i tak szybciej niż qmailem… (wzdech).

P.S. Postraffiam fsistkich debianofcóf :P