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='test@example.net' TO='xxxxx@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
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='test@example.net' TO='xxxxx@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
According to me for get dovecot use the from in sieve in the envelope you can do this First Check Sieve Capabilities you can Use the envelope Test Configuration in Dovecot After configuring, test the setup by sending emails and observing whether they are processed correctly according to your Sieve rules
participants (3)
-
leoniemeeyr@gmail.com
-
Marc
-
Michael Tokarev