mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 17:08:30 +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,
|
||||
)
|
||||
|
||||
contact_domain = get_email_domain_part(contact.reply_email)
|
||||
try:
|
||||
sl_sendmail(
|
||||
# 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,
|
||||
msg,
|
||||
envelope.mail_options,
|
||||
|
|
Loading…
Reference in a new issue