Stopping following spam case

Issue #498 closed
Alexander created an issue

I noticed that spammers send Mail via Port 25 to local email boxes using the recipient address as sending address. Is there a way to add a block, so that it's not possible to use port 25 to send mail to a recipient using his address as sender address.

Example: myname@domain.com to myname@domain.com should be blocked as spam.

Comments (7)

  1. S B

    What if you email yourself things so you can have it on a tablet or webmail? - I do this often

    It would also stop test messages in Microsoft Outlook working

  2. Alexander reporter

    This case would go via transmission port 587 and you would authenticate to send mail via your server, so no problem at all.

  3. Alexander reporter

    Actually, it should be extended to the following: Mails with a locally hosted domain in the sender adress that are sent via another mail server should be blocked unless the sending server is whitlisted.

  4. Scott MacDonald

    The second case/example yes.. but I'm not sure about the 1st. SPF, when used strict can certainly reduce SPAM.

    Are you using SPF Alexander?

  5. SH repo owner

    I must close this, there is nothing I can do about it if we don't want break delivery in some edge cases. If you filter out messages which has From header matching your local domain you will loose ability to use multiple smtp/delivery servers. Also group messaging migh be broken too.

    But some filtration can be done, see #503

  6. Log in to comment