[Dovecot] (no subject)
Using Postfix with Virtual Users/Virtual Domains, I have configured it with a wild card entry; i.e., "*.mydomain.com"
This works fine in Postfix; however, using Dovecot for delivery is causing the message to bounce since Dovecot does not have an entry in the "user passwd" or "userdb" file. I want to store the catch-all addresses in a separate mailbox. Can I use sieve for this or will that fail also?
This is the entry in the postfix master.cf file:
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
The output of dovecot -n
# 1.2.4: /usr/local/etc/dovecot.conf # OS: FreeBSD 7.2-STABLE i386 ufs log_path: /usr/home/gerard/dovecot.log protocols: pop3 pop3s managesieve listen(default): * listen(pop3): * listen(managesieve): localhost:2000 disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/pop3-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login login_greeting: Greetings From Seibercom.net verbose_proctitle: yes first_valid_uid: 1000 first_valid_gid: 1000 mail_privileged_group: mail mail_location: maildir:/var/mail/vhost/%d/%n mail_executable(default): /usr/local/libexec/dovecot/pop3 mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve mail_plugins(default): expire mail_plugins(pop3): expire mail_plugins(managesieve): mail_plugin_dir(default): /usr/local/lib/dovecot/pop3 mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve pop3_client_workarounds(default): outlook-no-nuls oe-ns-eoh pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh pop3_client_workarounds(managesieve): dict_db_config: /usr/local/etc/dovecot-db.conf managesieve_logout_format(default): bytes=%i/%o managesieve_logout_format(pop3): bytes=%i/%o managesieve_logout_format(managesieve): bytes ( in=%i : out=%o ) lda: postmaster_address: postmaster@seibercom.net mail_plugins: expire sieve: /usr/local/etc/dovecot/sieve/gerard.sieve sieve_global_path: /usr/local/etc/dovecot/sieve/gerard.sieve sendmail_path: /usr/sbin/sendmail auth default: mechanisms: plain login cram-md5 digest-md5 username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@+ username_format: %Lu passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf userdb: driver: passwd args: blocking=yes userdb: driver: sql args: /usr/local/etc/dovecot-sql.conf socket: type: listen client: path: /var/run/dovecot/auth-client mode: 438 master: path: /var/run/dovecot/auth-master mode: 438 plugin: expire: Trash 7 Spam 30 expire_dict: proxy::expire dict: expire: mysql:/usr/local/etc/dovecot-dict-expire.conf
-- Jerry gesbbb@yahoo.com
DEFAULT: The hardware's, of course.
On 10/11/2009 05:42 PM Jerry wrote:
Using Postfix with Virtual Users/Virtual Domains, I have configured it with a wild card entry; i.e., "*.mydomain.com"
This works fine in Postfix; however, using Dovecot for delivery is causing the message to bounce since Dovecot does not have an entry in the "user passwd" or "userdb" file. I want to store the catch-all addresses in a separate mailbox. Can I use sieve for this or will that fail also?
Sieve will also fail, because dovecot does not know the user.
You could try to translate whatever@ronadom.example.com in spambox@example.com using http://wiki.dovecot.org/AuthDatabase/CheckPassword
Or you will need an regular expression virtual_alias_map (see postconf(5), virtual(5) and regexp_table(5) or pcre_table(5)).
Regards, Pascal
The trapper recommends today: fabaceae.0928614@localdomain.org
participants (2)
-
Jerry
-
Pascal Volk