Re: Local delivery not working properly

2010-07-19 Thread Teh Kim Chooi
> >    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 vir

Re: Local delivery not working properly

2010-07-11 Thread Wietse Venema
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:

RE: Local delivery not working properly

2010-07-11 Thread Terry Gilsenan
>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 te

Re: Local delivery not working properly

2010-07-11 Thread Jerry
On Sun, 11 Jul 2010 17:34:10 +0800 Teh Kim Chooi 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. > > Th

Re: Local delivery not working properly

2010-07-11 Thread Teh Kim Chooi
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

Re: Local delivery not working properly

2010-07-10 Thread Jeroen Geilman
On 07/10/2010 09:20 PM, Teh Kim Chooi wrote: Here's postconf -n [r...@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 o

Re: Local delivery not working properly

2010-07-10 Thread Teh Kim Chooi
my transport_maps is to relay my example.net domain to another mail server. i just remove the transport_maps, but i still get loops to myself error. Teh On Sun, Jul 11, 2010 at 4:12 AM, Wietse Venema wrote: > Teh Kim Chooi: >> Here's postconf -n >> >> >> [r...@smtp2 postfix]# postconf -n

Re: Local delivery not working properly

2010-07-10 Thread Wietse Venema
Teh Kim Chooi: > Here's postconf -n > >> > [r...@smtp2 postfix]# postconf -n > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases > command_directory = /usr/sbin > config_directory = /etc/postfix > daemon_directory = /usr/libexec/postfix > debug_peer_level = 2 > home_mailbo

Re: Local delivery not working properly

2010-07-10 Thread Teh Kim Chooi
Here's postconf -n >> [r...@smtp2 postfix]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no in

Re: Local delivery not working properly

2010-07-10 Thread Wietse Venema
Teh Kim Chooi: > hi, > > I do follow the > http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client > , > i google and said if mail for example.com loops back to myself, then > should add myhostname to mydestination, or relay_domains, cause > mydestination must be empty so i add to re

Re: Local delivery not working properly

2010-07-10 Thread Teh Kim Chooi
hi, I do follow the http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client , i google and said if mail for example.com loops back to myself, then should add myhostname to mydestination, or relay_domains, cause mydestination must be empty so i add to relay_domains. myhostname = smtp

Re: Local delivery not working properly

2010-07-10 Thread /dev/rob0
Please do not top-post your replies. Thank you. On Sat, Jul 10, 2010 at 02:49:11PM +0800, Teh Kim Chooi wrote: > ok, i missed out mydestination entry cause the bounce. after i put > in the entry, now i got mail from for xxx.xxx.com loops back to > myself. Munged domain names will make mail rout

Re: Local delivery not working properly

2010-07-09 Thread Teh Kim Chooi
ok, i missed out mydestination entry cause the bounce. after i put in the entry, now i got mail from for xxx.xxx.com loops back to myself. due to is a null client config, so i put xxx.xxx.com in relay_domains entry also cannot help, anyone please help. Jul 10 14:37:35 smtp1 postfix/cleanup[32546]

Re: Local delivery not working properly

2010-07-08 Thread Teh Kim Chooi
Yes, i know i disable the local delivery agent, but i still wish to have root local delivery to be enable. I follow the document instruction never mention need to add virtual_mailbox_maps. I just try the virtual_mailbox_maps with r...@localhost, but i still get (local mail delivery is disabled), pl

Re: Local delivery not working properly

2010-07-08 Thread Jeroen Geilman
On 07/08/2010 05:42 PM, Teh Kim Chooi wrote: Hi, i have disable local delivery follow the document instruction, then i enable 2 user in the virtual file but not able to send to these users. Jul 8 22:57:07 smtp2 postfix/error[9618]: 3E7C82BE8004: to=mailto:postmas...@xxx.xxx.com>>, orig_to=