report a bug |  advanced search |  statistics |  developer log in/out
Bug #60 Recipient list wrongly parsed in recipient_extra
Submitted: 2016-02-10 14:39 UTC Modified: 2016-05-22 08:14 UTC
From: lp+bug at circoise dot eu Assigned: maintainer at mlmmj dot org
Status: Closed
Mlmmj Version: 1.2.18.1 OS: debian
MTA: postfix MTA Version: 2.11.3
 [2016-02-10 14:39 UTC] lp+bug at circoise dot eu
Description:
------------
When a mail is sent to a recipient address that contains a + and the list address in that order, mlmmj interprets the left part after the + as a command although the right part is not the list name.


Test script:
---------------
Ex: send a mail to: someone+ext@domain1.net, listname@domain2.net

The first address is not the list address but in function main, recipextra is computed from the first email address:
  recipextra = recipient_extra(listdir, toemails.emaillist[0]);
and function recipient_extra doesn't check that the left part "someone" is not the list name. So "ext" is considered as an unknown command and the mail is silently discarded.


Expected result:
----------------
mlmmj should check that the left part of the first address is the listname before considering the right part as a command.