Le 02/02/2011 16:55, Andy Spiegl a écrit :
>> 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...
>
the postconf command doesn't show "custom" variables, and
{foobar}_destination_recipient_limit is a custom var.
>> 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?
>
It's up to you. as far as your return a DSN, be it "relayed" or
"delivered", I'd say it's ok. DSN seems to cause lot of debates. so
let's not get into that trap!