Bug #1844

Address extension +spam propagated during message forwarding

Added by Davide Principi over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:04/04/2013
Priority:NormalDue date:04/05/2013
Assignee:-% Done:

100%

Category:nethserver-mail-server
Target version:v6.4-beta1
Security class: Resolution:
Affected version:v6.4-alpha2 NEEDINFO:

Description

When "Forward messages" is enabled and a spam message is received the address extension +spam is propagated to the forward address.

The remote mail server may not accept address extensions:

<john+spam@external.com> (expanded from <users+spam@example.com>): host
    mail.external.com[1.2.3.4] said: 550 unknown recipient address
    john+spam@external.com (in reply to RCPT TO command)

..while john@external.com is known to exist.

Expected behaviour:
address extensions must not be appended to forward addresses.


Subtasks

Feature #1846: Mail-server: Support .forward files in user's home directoryCLOSED


Related issues

Related to NethServer 6 - Bug #1840: User mail forwarding not honoured in group delivery CLOSED 04/03/2013 04/03/2013
Related to NethServer 6 - Bug #1857: Ignored delivery type "copy" when recipient is group@host... CLOSED 04/10/2013 04/10/2013

Associated revisions

Revision ce59a6d0
Added by Davide Principi over 6 years ago

NethServer::MailServer (getVirtualMailboxDomain): removed vmail.nh internal domain suffix. Refs #1844

Revision 99b34bd3
Added by Davide Principi over 6 years ago

Removed NethServer::MailServer::getVirtualMailboxDomain() method calls. Refs #1844

Revision fa933154
Added by Davide Principi over 6 years ago

NethServer::MailServer (getMailboxes): removed obsolete function. Refs #1844

Revision f004b7b4
Added by Davide Principi over 6 years ago

NethServer::MailServer (getMailboxAliases): Expand virtual addresses to a local account name Mail forwards must be implemented through local(8) daemon. Refs #1844

Revision 6415a68f
Added by Davide Principi over 6 years ago

/etc/postfix/aliases template: 30forwards fragment delivers messages to aliases defined by user's MailForward* props. Refs #1844

Revision 6462ceb9
Added by Davide Principi over 6 years ago

/etc/postfix/virtual template (15amavis_accounts): refactored code using global $mailServer variable. Refs #1844

Revision 81fe3d4d
Added by Davide Principi over 6 years ago

NethServer::MailServer (getMailboxForwards): fixed MailForwardKeepMessageCopy check logic. Refs #1844

Revision 4229929e
Added by Davide Principi over 6 years ago

password-expired/recipients template (20vmail_delivery): use getAccountMailAddresses() method to obtain a full email address. Refs #1073, #1844

History

#1 Updated by Davide Principi over 6 years ago

When a message is classified as SPAM the +spam extension is appended to the recipient's local address part.

Postfix keeps the extension during subsequent address-rewritings (see propagate_unmatched_extensions parameter).

Another mechanism must be implemented to expand forward address for virtual domains.

#2 Updated by Davide Principi over 6 years ago

  • Due date set to 04/04/2013
  • Status changed from NEW to ON_DEV
  • Start date set to 04/04/2013
  • % Done changed from 0 to 20

#3 Updated by Davide Principi over 6 years ago

  • % Done changed from 20 to 80
  • Parent task set to #1846

#4 Updated by Davide Principi over 6 years ago

  • Parent task deleted (#1846)

#5 Updated by Davide Principi over 6 years ago

  • % Done changed from 80 to 0
  • Estimated time deleted (2.00)

Fixing this bug by implementing delivery through local(8) daemon leaded to .forward files support. See subtask #1846.

#6 Updated by Davide Principi over 6 years ago

  • Status changed from ON_DEV to MODIFIED

#7 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to CLOSED

Also available in: Atom PDF