I have a handle on this now; it is a Postfix issue...
On Wed, Mar 21, 2007 at 01:50:48PM -0500, Steven F Siirila
wrote:> We are running Postfix 2.3.3 and Dovecot 1.0-RC27 on a Solaris 10 server.
> We use the Dovecot LDA for local delivery. Problems arise with looping
mail
> whenever a user's .forward contains a reference to themselves. This
most
> frequently occurs when a user sets up a vacation since it then puts this in
> their .forward file:
>
> \username, "|/usr/bin/vacation username"
>
> The vacation program runs fine, and sends a notice back to the message
> originator, but when an attempt is made to deliver the message locally,
> it fails with:
>
> Mar 21 13:02:16 myhost.mydomain postfix/local[13373]:
> 3DF5A2C63: to=<systest at myhost.mydomain>, relay=local,
> delay=0.15, delays=0.12/0/0/0.03, dsn=5.4.6,
> status=bounced (mail forwarding loop for systest at myhost.mydomain)
>
> Any ideas? I hope it's something stupid I've overlooked...
>
> Noteworthy line in postfix/main.cf:
>
> mailbox_command = /opt/dovecot/libexec/dovecot/deliver -f
"$SENDER"
>
> and finally, dovecot -n:
>
> # /etc/opt/dovecot/dovecot.conf
> syslog_facility: local6
> protocols: imap imaps pop3 pop3s
> listen(default): *:143
> listen(imap): *:143
> listen(pop3): *:110
> ssl_listen(default): *:993
> ssl_listen(imap): *:993
> ssl_listen(pop3): *:995
> ssl_cert_file: /etc/opt/openssl/certs/dovecot.pem
> ssl_key_file: /etc/opt/openssl/private/dovecot.pem
> shutdown_clients: no
> login_dir: /var/opt/dovecot/run/dovecot/login
> login_executable(default): /opt/dovecot/libexec/dovecot/imap-login
> login_executable(imap): /opt/dovecot/libexec/dovecot/imap-login
> login_executable(pop3): /opt/dovecot/libexec/dovecot/pop3-login
> login_processes_count: 32
> login_max_processes_count: 4096
> max_mail_processes: 8192
> first_valid_uid: 100
> default_mail_env: mbox:~/:INBOX=/var/mail/%u
> mail_location: mbox:~/:INBOX=/var/mail/%u
> mail_full_filesystem_access: yes
> mbox_lazy_writes: no
> mail_executable(default): /opt/dovecot/libexec/dovecot/imap
> mail_executable(imap): /opt/dovecot/libexec/dovecot/imap
> mail_executable(pop3): /opt/dovecot/libexec/dovecot/pop3
> mail_plugin_dir(default): /opt/dovecot/lib/dovecot/imap
> mail_plugin_dir(imap): /opt/dovecot/lib/dovecot/imap
> mail_plugin_dir(pop3): /opt/dovecot/lib/dovecot/pop3
> imap_client_workarounds(default): delay-newmail outlook-idle
tb-extra-mailbox-sep
> imap_client_workarounds(imap): delay-newmail outlook-idle
tb-extra-mailbox-sep
> imap_client_workarounds(pop3): outlook-idle
> pop3_uidl_format(default):
> pop3_uidl_format(imap):
> pop3_uidl_format(pop3): %08Xu%08Xv
> namespace:
> type: private
> separator: /
> location: mbox:~/:INBOX=/var/mail/%u
> inbox: yes
> hidden: yes
> auth default:
> username_format: %Lu
> verbose: yes
> debug: yes
> passdb:
> driver: pam
> args: session=yes *
> userdb:
> driver: passwd
>
> --
>
> Steven F. Siirila Office: Lind Hall, Room 130B
> Internet Services E-mail: sfs at umn.edu
> Office of Information Technology Voice: (612) 626-0244
> University of Minnesota Fax: (612) 626-7593
--
Steven F. Siirila Office: Lind Hall, Room 130B
Internet Services E-mail: sfs at umn.edu
Office of Information Technology Voice: (612) 626-0244
University of Minnesota Fax: (612) 626-7593