> 
> >
> > >
> > > How to get dovecot use the from in sieve in the envelope?
> > >
> > >
> >
> > obviously this is set:
> > sieve_vacation_send_from_recipient = yes
> 
> At first I thought maybe it was some spf/dmarc related setting. But this
> script is sending out the test message. I need the vacation to use/add
> the -f option.
> 
> #!/bin/sh
> 
> FROM='t...@example.net'
> TO='xx...@gmail.com'
> /usr/sbin/sendmail -f $FROM -i -t << MESSAGE_END
> To: ${TO}
> From: ${FROM}
> 
> Hi, this is my message,
> and I'm sending it to you!
> MESSAGE_END


Adding/changing this to dovecot
lda_original_recipient_header = X-Original-To

sieve_vacation_use_original_recipient = yes
sieve_vacation_dont_check_recipient = yes
sieve_vacation_send_from_recipient = yes


Adding this to sendmail.mc
LOCAL_CONFIG
H?${u}?X-Original-To: $u
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to