Messages addressed to recipients starting with apostrophe
Problem reported by Gregory Petry - 10/5/2017 at 5:37 AM
One of my customers reported that they are receiving a lot of spam despite her mail being filtered through a front end processor.
I've been looking into the problem and noticed that spammers are bypassing our filtering system by prepending an apostrophe to the recipient's address. This is something I can fix in the filter. However, while investigating, I saw something unusual going on with the way SmarterMail is handling these messages.
It appears that SmarterMail is dropping the leading apostrophe in RCPT T: when expanding the value to the recipient address. The message ends up being routed to the recipient's email. Here's an example from my logs:
[2017.10.04] 06:06:27 [][40651350] cmd: RCPT To:<'>
[2017.10.04] 06:06:27 [][40651350] rsp: 250 OK <> Recipient ok
I found that even if I create a mailbox for ', which is a perfectly valid email address, SmarterMail will still deliver the message to
SmarterMail is not dropping the apostrophe unless it is the first character of the address in RCPT TO. If I embed an apostrophe in the middle of the user portion of the email address, the message is not modified as it goes through SmarterMail, and will bounce if there is no matching recipient.
I also tested outgoing mail, and it appears that this behavior persists for message sent through Webmail, and outbound messages submitted via SMTP.
My question is if this behavior is by design, or is it considered a bug? Is there any way to disable this particular behavior?
We're running SmarterMail 15.7.6411.

1 Reply

Reply to Thread
Matthew Leyda Replied
I verified this bug SmarterMail Version - 15.7.6474
Kendra Support
Junk Email filtered ISP

Reply to Thread