From: Teh Kim Chooi on 11 Jul 2010 05:34 yes, as i said early, i do have transport_maps which will relay my example.net to another mail server. But now i has taken out, even my own server domain which is example.com also have the loops back for myself bounce. These server shouldnt have any mailbox cause is a mail gateway, so i follow the null client guide. But i do wish to have mail to root locally, unfortunately i keep having the loops back to myself error. mynetworks is open because the filter will be done on the firewall, and the firewall ppl request me not to block the network. I currently using postfix 2.3.3, i believe is a supported version for the null client settings. I do google for solution but no luck, thats why i post here for help... Regards, Teh On Sun, Jul 11, 2010 at 6:04 AM, Jeroen Geilman <jeroen(a)adaptr.nl> wrote: > On 07/10/2010 09:20 PM, Teh Kim Chooi wrote: >> >> Here's postconf -n >> > >> [root(a)smtp2 postfix]# postconf -n >> mynetworks = 127.0.0.0/8, 0.0.0.0/0 >> > > Open relay, here we come. > >> relay_domains = example.net, example.com.my >> > > One or both of these domains loops back to your postfix (via an MX or A > record). > To prevent this, use a specific relayhost for these domains, enclosed in > brackets so postfix will not do a lookup on the domain. > > J. >
From: Jerry on 11 Jul 2010 06:36 On Sun, 11 Jul 2010 17:34:10 +0800 Teh Kim Chooi <tehwater(a)gmail.com> articulated: > yes, as i said early, i do have transport_maps which will relay my > example.net to another mail server. But now i has taken out, even my > own server domain which is example.com also have the loops back for > myself bounce. > > These server shouldnt have any mailbox cause is a mail gateway, so i > follow the null client guide. But i do wish to have mail to root > locally, unfortunately i keep having the loops back to myself error. > > mynetworks is open because the filter will be done on the firewall, > and the firewall ppl request me not to block the network. > > I currently using postfix 2.3.3, i believe is a supported version for > the null client settings. > > I do google for solution but no luck, thats why i post here for help... Please stop "top posting". Who are these "firewall ppl" and why are they claiming you would be blocking the firewall by configuring Postfix correctly? -- Jerry ✌ postfix-user(a)seibercom.net _____________________________________________________________________ TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html There are two theories to arguing with women. Neither one works.
From: Terry Gilsenan on 11 Jul 2010 06:50 <snip> >mynetworks is open because the filter will be done on the firewall, >and the firewall ppl request me not to block the network. You need to fix the problem with accepting the entire internet into your trusted networks. Having 0.0.0.0/0 in mynetworks is not smart, and if technical people are telling you to do this, then you should find some better technical people. Who are your technical (firewall ppl)? What is the external IP address of their firewall? >I currently using postfix 2.3.3, i believe is a supported version for >the null client settings. > >I do google for solution but no luck, thats why i post here for help... > >Regards, >Teh On Sun, Jul 11, 2010 at 6:04 AM, Jeroen Geilman <jeroen(a)adaptr.nl> wrote: > On 07/10/2010 09:20 PM, Teh Kim Chooi wrote: >> >> Here's postconf -n >> > >> [root(a)smtp2 postfix]# postconf -n >> mynetworks = 127.0.0.0/8, 0.0.0.0/0 >> > > Open relay, here we come. > >> relay_domains = example.net, example.com.my >> > > One or both of these domains loops back to your postfix (via an MX or A > record). > To prevent this, use a specific relayhost for these domains, enclosed in > brackets so postfix will not do a lookup on the domain. > > J. >
From: Wietse Venema on 11 Jul 2010 07:37 Teh Kim Chooi: > These server shouldnt have any mailbox cause is a mail gateway, so i > follow the null client guide. But i do wish to have mail to root > locally, unfortunately i keep having the loops back to myself error. For mail gateways, use the Postfix email firewall/gateway configuration: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall DO NOT use the null client for this. > mynetworks is open because the filter will be done on the firewall, > and the firewall ppl request me not to block the network. The mynetworks parameter MUST list ONLY the "inside" networks, otherwise your Postfix server will forward mail FROM anywhere TO anywhere, and the machine will be blacklisted. Wietse
From: Teh Kim Chooi on 19 Jul 2010 09:56 > > http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall > I follow link above which now i enable as postfix gateway. I never enable any transport because i never want to relay incoming mail to redirect to any smtp. So i follow the link, disable local delivery, and add these in virtual_alias_maps 1 /etc/postfix/main.cf: 2 virtual_alias_maps = hash:/etc/postfix/virtual 3 4 /etc/postfix/virtual: 5 root root(a)localhost 6 . . . i test send email to root(a)localhost mail root(a)localhost < TLS_LICENSE, do the have bounced Jul 19 21:47:39 smtp2 sendmail[4572]: o6JDldIP004572: from=root, size=1649, class=0, nrcpts=1, msgid=<201007191347.o6JDldIP004572(a)smtp2.ytlcomms.com>, relay=root(a)localhost Jul 19 21:47:39 smtp2 postfix/smtpd[4569]: connect from localhost[127.0.0.1] Jul 19 21:47:39 smtp2 postfix/smtpd[4569]: D8DF42BE8002: client=localhost[127.0.0.1] Jul 19 21:47:39 smtp2 postfix/cleanup[4574]: D8DF42BE8002: message-id=<201007191347.o6JDldIP004572(a)smtp2.ytlcomms.com> Jul 19 21:47:39 smtp2 sendmail[4572]: o6JDldIP004572: to=root(a)localhost, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31649, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as D8DF42BE8002) Jul 19 21:47:39 smtp2 postfix/qmgr[4568]: D8DF42BE8002: from=<root(a)smtp2.ytlcomms.com>, size=2178, nrcpt=1 (queue active) Jul 19 21:47:39 smtp2 postfix/smtpd[4569]: disconnect from localhost[127.0.0.1] Jul 19 21:47:39 smtp2 postfix/smtp[4575]: D8DF42BE8002: to=<root(a)smtp2.ytlcomms.com>, relay=none, delay=0.06, delays=0.05/0.01/0/0, dsn=5.4.6, status=bounced (mail for smtp2.ytlcomms.com loops back to myself) Jul 19 21:47:39 smtp2 postfix/cleanup[4574]: E70FB2BE8003: message-id=<20100719134739.E70FB2BE8003(a)smtp2.ytlcomms.com> Jul 19 21:47:39 smtp2 postfix/bounce[4576]: D8DF42BE8002: sender non-delivery notification: E70FB2BE8003 Jul 19 21:47:39 smtp2 postfix/qmgr[4568]: E70FB2BE8003: from=<>, size=4017, nrcpt=1 (queue active) Jul 19 21:47:39 smtp2 postfix/qmgr[4568]: D8DF42BE8002: removed Jul 19 21:47:39 smtp2 postfix/smtp[4575]: E70FB2BE8003: to=<root(a)smtp2.ytlcomms.com>, relay=none, delay=0, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for smtp2.ytlcomms.com loops back to myself) Jul 19 21:47:39 smtp2 postfix/qmgr[4568]: E70FB2BE8003: removed I still cant make the local delivery work as follow your instruction links....
First
|
Prev
|
Pages: 1 2 Prev: smtp server authentication fail.. Next: a separate instance for handle bounce only |