mirror of
https://github.com/simple-login/app.git
synced 2024-11-17 01:18:29 +01:00
Set VERP for the forward phase to the contact domain
This commit is contained in:
parent
90cef3ca7d
commit
d6ff744083
1 changed files with 2 additions and 1 deletions
|
@ -945,10 +945,11 @@ def forward_email_to_mailbox(
|
||||||
envelope.rcpt_options,
|
envelope.rcpt_options,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
contact_domain = get_email_domain_part(contact.reply_email)
|
||||||
try:
|
try:
|
||||||
sl_sendmail(
|
sl_sendmail(
|
||||||
# use a different envelope sender for each forward (aka VERP)
|
# use a different envelope sender for each forward (aka VERP)
|
||||||
generate_verp_email(VerpType.bounce_forward, email_log.id),
|
generate_verp_email(VerpType.bounce_forward, email_log.id, contact_domain),
|
||||||
mailbox.email,
|
mailbox.email,
|
||||||
msg,
|
msg,
|
||||||
envelope.mail_options,
|
envelope.mail_options,
|
||||||
|
|
Loading…
Reference in a new issue