[Dovecot] LDA not being called by postfix?
Luca Corti
cortez at tiscali.it
Thu May 11 15:35:42 EEST 2006
On Thu, 2006-05-11 at 13:21 +0200, Andreas Martin wrote:
> If you never use the Postfix virtual to deliver Mail, you can omit
> virtual_gid_maps = static:1234
> virtual_mailbox_base = /var/vmail
> virtual_minimum_uid = 1001
> virtual_uid_maps = static:1234
> since these setting are not used by Dovecot-LDA.
These should not do any harm anyway right?
> Furthermore, I could imagine an entry in your transport-table, which
> redirects this mailaddress/domain to virtual, or the entry in your
> postfix/master.cf, which defines another virtual transport for the
> return from amavisd-new.
I have the transport maps in MySQL:
user = myuser
password = mypass
hosts = localhost
dbname = postfix
table = domain
select_field = transport
where_field = domain
additional_conditions = and active = 1
and in the db:
+----+-------------+-------------+---------+-----------+----------+-----------+----------+---------------------+---------------------+--------+
| id | domain | description | aliases | mailboxes | maxquota |
transport | backupmx | created | modified |
active |
+----+-------------+-------------+---------+-----------+----------+-----------+----------+---------------------+---------------------+--------+
| 2 | example.com | example.com | 5 | 10 | 20 |
virtual | 0 | 2006-05-08 01:30:58 | 2006-05-08 11:42:55 |
1 |
+----+-------------+-------------+---------+-----------+----------+-----------+----------+---------------------+---------------------+--------+
In my master.cf I have
# Amavis
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options=no_header_body_checks,no_unknown_recipient_checks
The transport gets correctly selected upon mail delivery:
May 11 13:09:47 ns1 postfix/virtual[9797]: 7C4D4847BC:
to=<luca at example.com>, relay=virtual, delay=0, status=sent (delivered to
maildir)
but it seems the LDA does not work or is not called. SHould the log look
different if the lda was used for delivery? I've also updated to dovecot
stable cvs.
I really do not understand what is wrong with my setup.
--
Luca Corti
PGP Key ID 1F38C091
BOFH excuse of the moment:
multicasts on broken packets
More information about the dovecot
mailing list