[Dovecot] Pigeon Sieve, redirect action and SPF

Stephan Bosch stephan at rename-it.nl
Thu Jul 28 21:43:45 EEST 2011


On 07/26/2011 08:37 AM, Nikita Koshikov wrote:
> I have raised this problem earlier here (http://www.mail-archive.com/dovecot@dovecot.org/msg20945.html), but seems it stuck at that point.
>
> The simple way, is to use redirecting user mail_from, so messages will appear like originated from redirecting smtp server.

Yes. I read a bit about this though, and obviously this breaks bounce 
processing.


> The right way for redirecting messages with sieve is to use SRS mechanism. And this should be configured on SMTP server.

Right.

> The problem is when sieve exec sendmail_path smtp server has no clue about "redirect" recipient( user who wrote the sieve script) and srs can't be configured. So adding one more header when redirecting sieve message with original sender will be half of the work - another part it to set up smtp for understanding this header and construct new 'mail from:' address in appropriative way(something like srs0_forward_user-fuzzy_staff-orig.address at forwarded_domain. Exact format should be determine.). Maybe this will be hard to setup, but we at least have something(original sender address and forwarded one) and this is another story.

Would the header name need to be configurable, or is 
X-Sieve-Redirected-From good for all purposes?

Regards,

Stephan.




More information about the dovecot mailing list