Sergey Golubitsky schrieb:
> 
> IP> I prefer delivery over lmtp - better handling of nonexistent users.
> IP> Setup is:
> 
> IP> in main.cf:
> IP> mailbox_transport=lmtp:unix:/var/imap/socket/lmtp
> 
> IP> and in master.cf disable chroot (or create and user
> IP> that socket somewhere under chrooted environment):
> IP> lmtp    unix    -       -       n       -       -       lmtp
> 
> bash-2.05a$ uname -a
> FreeBSD octagon.westpro.ru 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Wed Apr 10 09:33:
> 48 NOVST 2002     [EMAIL PROTECTED]:/usr/src/sys/compile/BASE  i386
> 
> bash-2.05a$ postconf -n
> alias_database = hash:/etc/aliases
> body_checks = regexp:/usr/local/etc/postfix/body_checks
> command_directory = /usr/local/sbin
> daemon_directory = /usr/local/libexec/postfix
> debug_peer_level = 2
> default_privs = nobody
> fallback_transport = cyrus
> inet_interfaces = all
> local_transport = local
> luser_relay = postmaster
> mail_owner = postfix
> mail_spool_directory = /var/mail
> mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
> mydestination = $myhostname, localhost.$mydomain, $mydomain
> mydomain = octagon.westpro.ru
> mynetworks = *.*.*.*/*, 127.0.0.0/8
> myorigin = $mydomain
> queue_directory = /var/spool/postfix
> relay_domains = $mydestination

Don't you end up with mailbox_transport and fallback_transport
delivering to Cyrus whith this setup?

mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
means that you deliver to cyrus via lmtp

fallback_transport = cyrus
means that you deliver to cyrus via cyrusdeliver.

-Simon

> 
> master.cf:
> smtp      inet  n       -       n       -       -       smtpd
> pickup    fifo  n       n       n       60      1       pickup
> cleanup   unix  -       -       n       -       0       cleanup
> qmgr      fifo  n       -       n       300     1       qmgr
> #qmgr     fifo  n       -       n       300     1       nqmgr
> rewrite   unix  -       -       n       -       -       trivial-rewrite
> bounce    unix  -       -       n       -       0       bounce
> defer     unix  -       -       n       -       0       bounce
> flush     unix  -       -       n       1000?   0       flush
> smtp      unix  -       -       n       -       -       smtp
> showq     unix  n       -       n       -       -       showq
> error     unix  -       -       n       -       -       error
> local     unix  -       n       n       -       -       local
> virtual   unix  -       n       n       -       -       virtual
> lmtp      unix  -       -       n       -       -       lmtp
> cyrus     unix  -       n       n       -       -       pipe
>     flags=R user=cyrus argv=/usr/local/cyrus/bin/deliver -e -m ${extension} ${us
> er}
> uucp      unix  -       n       n       -       -       pipe
>     flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
> ifmail    unix  -       n       n       -       -       pipe
>     flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
> bsmtp     unix  -       n       n       -       -       pipe
>     flags=F. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
> 
> 
> /var/log.maillog:
> Apr 18 18:09:44 octagon postfix/lmtp[3833]: 7598126E: to=<[EMAIL PROTECTED]>
> , relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp], delay=0, status=bounced (h
> ost /var/imap/socket/lmtp[/var/imap/socket/lmtp] said: 550 5.1.1 User unknown)
> Apr 18 18:09:44 octagon postfix/lmtp[3835]: 722AA26F: to=<[EMAIL PROTECTED]>
> , relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp], delay=0, status=bounced (h
> ost /var/imap/socket/lmtp[/var/imap/socket/lmtp] said: 550 5.1.1 User unknown)  IP
> 
> user sg not cyrus-user.
> 
> --
> With best wishes,
> Sergey Golubitsky
> phone (383-2) 181-434, 181-113
> mailto:[EMAIL PROTECTED]


Reply via email to