Hi Eugene!
Tuesday 12, at 12:59:32 AM you wrote:
> Собственно, проблема не в postfix, т.к. dbmail с лукапом из mysql ведет
> себя так же (unknown user: "user"), пока не определен mailbox_transport.
тогда надо и fallback_transport выставить, чтобы не только виртуальным
пользователям письма приходили.
> auth_socket_path = /var/run/dovecot/auth-master
> }
> auth default {
> mechanisms = plain
> passdb pam {
> }
> userdb passwd {
> }
> passdb passwd-file {
> args = /etc/dovecot/dovecot.passwd
> }
> userdb static {
> args = uid=8 gid=12 home=/mail/%u
> }
> user = root
> }
и где тут написано про auth-master? В auth default { нужно тоже его
указывать:
auth default {
..
socket listen {
# Note that we're setting a master socket. SMTP AUTH for Postfix and
# Exim uses client sockets.
master {
path = /var/run/dovecot/auth-master
....
>
> Теперь при отправке сообщения имеем:
>
> Jun 12 00:42:24 myhost postfix/pickup[19448]: D084A13B7B: uid=0 from=<root>
> Jun 12 00:42:24 myhost postfix/cleanup[19461]: D084A13B7B:
> message-id=<[EMAIL PROTECTED]>
> Jun 12 00:42:24 myhost postfix/qmgr[19449]: D084A13B7B:
> from=<[EMAIL PROTECTED]>, size=306, nrcpt=1 (queue active)
> Jun 12 00:42:24 myhost deliver([EMAIL PROTECTED]):
> net_connect(/var/run/dovecot/auth-master) failed: No such file or directory
> Jun 12 00:42:24 myhost postfix/pipe[19464]: D084A13B7B:
> to=<[EMAIL PROTECTED]>, orig_to=<user>, relay=dovecot,
> delay=0.05, delays=0.02/0/0/0.02, dsn=4.3.0, status=deferred (temporary
> failure)
>
> Сокет /var/run/dovecot/auth-master действительно отсутствует:
>
> # ls -l /var/run/dovecot/
> total 8
> srw------- 1 root root 0 Jun 12 00:39 auth-worker.19192
> srwxrwxrwx 1 root root 0 Jun 12 00:39 dict-server
> drwxr-x--- 2 root dovecot 4096 Jun 12 00:39 login
> -rw------- 1 root root 6 Jun 12 00:39 master.pid
>
> Хотя в конфиге он указан. Почему его нет?
>
--
WBR et al.
_______________________________________________
Sysadmins mailing list
[email protected]
https://lists.altlinux.org/mailman/listinfo/sysadmins