> dovecot_destination_recipient_limit = 1
I had this option in main.conf already.
Why did "postconf -n" not list it? Not even "postconf" does, uhm...
> if it still doesn't work, tell us how you defined the "dovecot"
> transport? is it a pipe based transport in master.cf?
Exactly.
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d
${user}@${nexthop}
> If so, take a look at the "COMMAND ATTRIBUTE SYNTAX" section in
> http://www.postfix.org/pipe.8.html
> check the "flags=...". excerpt:
>
> O Prepend an "X-Original-To: recipient" message
Ahhhh, great! That does it! Wonderful, you made my day!
While reading this part of the manpage, I'm wondering whether I
shouldn't put the flag "X" there, too?
X Indicate that the external command performs
final delivery. This flag affects the sta-
tus reported in "success" DSN (delivery sta-
tus notification) messages, and changes it
from "relayed" into "delivered".
dovecot DOES do the final delivery, doesn't it?
> > SpamAssassin etc. will come
> > later when I've solved the prefix issue...
>
> when you do that, make sure you expand aliases after the filter
> (just before delivery).
Thanks for the warning. I'm afraid I don't understand how to
influence this order. I set up postfix+AMaViS quite a few years ago
by setting
content_filter = smtp-amavis:[127.0.0.1]:10024
and
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
Is that ok with the order you mentioned?
Thanks a lot,
Andy.
--
lƃǝıds ʎpuɐ