Drop email relayed from backup mail server with non-exist recipient address

Alex Neuman alex at vidadigital.com.pa
Tue Oct 20 17:56:25 UTC 2015


You shouldn't do that. You should have the backup server look up the
addresses either in real time using LDAP or through some sync mechanism.
Otherwise you're not only breaking the way it's supposed to work (550
errors for nonexistent addresses), you're paying for bandwidth you're not
using and allowing spammers to thrive.



[image: logo]
*Alex Neuman van der Hans* *Producer/Host**, Vida Digital*
+1 (440) 253-9789 <+1+(440)+253-9789> | +507 6781-9505 <+507+6781-9505> |
Panama |alex at vidadigital.com.pa | http://vidadigital.com.pa/ |Skype:
alexneuman
<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Ffacebook.com%2Fvidadigital&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Fpa.linkedin.com%2Fin%2Falexneuman&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Ftwitter.com%2Falexneuman&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Fpinterest.com%2Fvidadigital&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Fyoutube.com%2Fuser%2Freliantpty&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Finstagram.com%2Fvidadigital&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Fvidadigital.com.pa.wordpress.com%2F&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Famazon.com%2F%3Ftag%3Dvidadigi-20&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Fskype%3Aalexneuman%2F%3Fcall%26topic%3DSignature&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

<http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Fwhatsapp%2F%2Fsend%3Ftext%3DHello&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d>

On Tue, Oct 20, 2015 at 12:38 PM, Gao <gao at pztop.com> wrote:

> Hi list,
>
> I have a backup email server to relay emails to the main server when it
> received emails. I configured it only relay the domain I defined and
> discard all other domains. For example, an email to abc at mydomain.tld get
> relayed to the main server, others like to abc at xyz.tld will get refused.
>
> But I see lots spam emails come to my backup server with wrong user
> account, like fakename-1 at mydomain.tld, fakename-2 at mydomain.tld.,etc.
> Those emails also get relayed to the main server. It cause the main server
> send out rejection emails to the spammer - and most likely the FROM address
> is a fake email address as well.
>
> So I want to add a rule to postfix or MailScanner: If the email is from my
> backup server with IP A.B.C.D, and the recipient address is not found in
> our virtual user table, the just drop the email.
>
> I googled and read POSTFIX doc and could not figure out a way to
> accomplish this. Could you please help me?
>
> Thanks a lot.
>
> Gao
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20151020/9e1090f0/attachment.html>


More information about the MailScanner mailing list