<div dir="ltr">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.<div><br></div><img src="http://t.sidekickopen23.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dcLCW8qSMPl2zhrHPN4WJlXjQFLCHVLXL-m1k1H6H0?si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d" style="display:none!important" height="1" width="1"></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="font-family:arial;font-size:small"><div></div></div><table border="0" width="470" style="width:470px;font-family:Helvetica,Arial,sans-serif"><tbody><tr valign="top"><td style="width:10px;vertical-align:top;white-space:nowrap"><br><img src="https://s3.amazonaws.com/ucwebapp.wisestamp.com/3a24359a-1c75-4fb9-b572-f019a13fd09a/alexneuman.format_png.resize_120x.png" alt="logo" style="border-radius:4px;width:65px"> <span style="font-size:small">  <br></span></td><td style="text-align:initial"><span style="font-size:15px"><span style="color:rgb(128,128,128)"><strong style="color:rgb(0,161,230)">Alex Neuman van der Hans</strong> <span style="color:rgb(136,136,136)"><em>Producer/Host</em></span><span style="color:rgb(136,136,136)"><em>, Vida Digital</em></span></span></span><br><span style="font-size:15px"><span style="color:rgb(128,128,128)"><a href="tel:+1+(440)+253-9789" style="text-decoration:none;color:rgb(128,128,128)" target="_blank">+1 (440) 253-9789</a> </span><span style="color:rgb(128,128,128)"><span style="color:rgb(0,161,230)">| </span><a href="tel:+507+6781-9505" style="text-decoration:none;color:rgb(128,128,128)" target="_blank">+507 6781-9505</a> </span><span style="color:rgb(128,128,128)"><span style="color:rgb(0,161,230)">| </span>Panama </span></span><span style="font-size:15px"><span style="color:rgb(0,161,230)">|</span><a href="mailto:alex@vidadigital.com.pa" style="color:rgb(128,128,128)" target="_blank">alex@vidadigital.com.pa</a> </span><span style="font-size:15px"><span style="color:rgb(0,161,230)">| </span><a href="http://vidadigital.com.pa/" style="color:rgb(128,128,128)" target="_blank">http://vidadigital.com.pa/</a> </span><span style="font-size:15px"><span style="color:rgb(0,161,230)">|</span><span style="color:rgb(128,128,128)">Skype: <a style="text-decoration:none;color:rgb(128,128,128)">alexneuman</a></span> </span><br><div style="margin-top:5px"><a href="http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Ffacebook.com%2Fvidadigital&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d" target="_blank"><img width="32" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/facebook.png" style="border-radius:0px;border:0px;width:29px"></a> <a href="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" target="_blank"><img width="32" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/linkedin.png" style="border-radius:0px;border:0px;width:29px;display:none!important"></a> <a href="http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Ftwitter.com%2Falexneuman&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d" target="_blank"><img width="32" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/twitter.png" style="border-radius:0px;border:0px;width:29px"></a> <a href="http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Fpinterest.com%2Fvidadigital&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d" target="_blank"><img width="32" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/pinterest.png" style="border-radius:0px;border:0px;width:29px;display:none!important"></a> <a href="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" target="_blank"><img width="32" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/youtube.png" style="border-radius:0px;border:0px;width:29px;display:none!important"></a> <a href="http://t.sidekickopen23.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsQByMPN7d-5TTRYFRKW7fsH1M56dwbYf6CVDXz02?t=http%3A%2F%2Finstagram.com%2Fvidadigital&si=5887134288314368&pi=86a5113e-6ddd-4c09-e74d-11d7a443c35d" target="_blank"><img width="32" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/instagram.png" style="border-radius:0px;border:0px;width:29px"></a> <a href="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" target="_blank"><img width="32" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/wordpress.png" style="border-radius:0px;border:0px;width:29px"></a> <a href="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" target="_blank"><img width="32" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/amazon.png" style="border-radius:0px;border:0px;width:29px"></a> <a href="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" target="_blank"><img width="32" src="https://s3.amazonaws.com/webapp.wisestamp.com/XT9yavvmRJaZZvINZFTQ_skype.png" style="border-radius:0px;border:0px;width:29px"></a> <a href="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" target="_blank"><img width="32" src="https://s3.amazonaws.com/webapp.wisestamp.com/wEM3vsigQhq5yev6iwEV_whatsapp.png" style="border-radius:0px;border:0px;width:29px"></a></div></td></tr></tbody></table></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Oct 20, 2015 at 12:38 PM, Gao <span dir="ltr"><<a href="mailto:gao@pztop.com" target="_blank">gao@pztop.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
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@mydomain.tld get relayed to the main server, others like to abc@xyz.tld will get refused.<br>
<br>
But I see lots spam emails come to my backup server with wrong user account, like fakename-1@mydomain.tld, fakename-2@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.<br>
<br>
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.<br>
<br>
I googled and read POSTFIX doc and could not figure out a way to accomplish this. Could you please help me?<br>
<br>
Thanks a lot.<span class="HOEnZb"><font color="#888888"><br>
<br>
Gao<br>
<br>
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/listinfo/mailscanner</a><br>
<br>
</font></span></blockquote></div><br></div>