27 Jul
2024
27 Jul
'24
12:56 a.m.
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