I'm trying to send a notification to the sender of a message when a message is send to exactly one address in the local domain (
[email protected]).
Q1: How would be the syntax for the condition (the above don't work) ? :
notify_reply:
driver=accept
domains = +local_domains
senders = ! ^.*-request@.*:\
! ^bounce-.*@.*:\
! ^.*-bounce@.*:\
! ^owner-.*@.*:\
! ^postmaster@.*:\
! ^webmaster@.*:\
! ^listmaster@.*:\
! ^mailer-daemon@.*:\
! ^root@.*:\
! ^noreply@.*
condition = ${if eq {$received_for}{
[email protected]}}
no_expn
transport=notify_transport
unseen
no_verify
Q2: How to write multiline string in the config file for "text" ? :
notify_transport:
driver=autoreply
[email protected]
to=$sender_address
subject=Your mail for
text="Please resend your messasge to
[email protected]
This is a temporary modification."