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]: 691C24888010: message-id=< 20100710063735.691c24888...@xxx.xxx.com> Jul 10 14:37:35 smtp1 postfix/qmgr[32513]: 691C24888010: from=<>, size=4092, nrcpt=1 (queue active) Jul 10 14:37:35 smtp1 postfix/bounce[32551]: 5B94E488800F: sender non-delivery notification: 691C24888010 Jul 10 14:37:35 smtp1 postfix/qmgr[32513]: 5B94E488800F: removed Jul 10 14:37:35 smtp1 postfix/smtp[32550]: 691C24888010: to=< r...@xxx.xxx.com>, relay=none, delay=0, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for xxx.xxx loops back to myself) Jul 10 14:37:35 smtp1 postfix/qmgr[32513]: 691C24888010: removed On Fri, Jul 9, 2010 at 10:58 AM, Teh Kim Chooi <tehwa...@gmail.com> wrote: > 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), please help. > > > On Fri, Jul 9, 2010 at 6:25 AM, Jeroen Geilman <jer...@adaptr.nl> wrote: > >> 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=< >> postmas...@xxx.xxx.com>, orig_to=<postmaster>, relay=none, delay=0.01, >> delays=0/0/0/0, dsn=5.0.0, status=bounced (local mail delivery is disabled) >> Jul 8 22:57:07 smtp2 postfix/bounce[9619]: warning: 3E7C82BE8004: >> undeliverable postmaster notification discarded >> Jul 8 22:57:07 smtp2 postfix/qmgr[9611]: 3E7C82BE8004: removed >> Jul 8 22:57:07 smtp2 postfix/cleanup[9617]: 3FC532BE8002: message-id=< >> 20100708145707.3fc532be8...@smtp2.ytlcomms.com> >> Jul 8 22:57:07 smtp2 postfix/qmgr[9611]: 3FC532BE8002: from=< >> double-bou...@xxx.xxx.com>, size=5541, nrcpt=1 (queue active) >> Jul 8 22:57:07 smtp2 postfix/bounce[9620]: 3E1DA2BE8003: postmaster >> non-delivery notification: 3FC532BE8002 >> Jul 8 22:57:07 smtp2 postfix/qmgr[9611]: 3E1DA2BE8003: removed >> Jul 8 22:57:07 smtp2 postfix/error[9618]: 3FC532BE8002: to=< >> postmas...@xxx.xxx.com>, orig_to=<postmaster>, relay=none, delay=0, >> delays=0/0/0/0, dsn=5.0.0, status=bounced (local mail delivery is disabled) >> Jul 8 22:57:07 smtp2 postfix/bounce[9620]: warning: 3FC532BE8002: >> undeliverable postmaster notification discarded >> Jul 8 22:57:07 smtp2 postfix/qmgr[9611]: 3FC532BE8002: removed >> >> [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 >> inet_interfaces = all >> mydestination = >> local_recipient_maps = >> local_transport = error:local mail delivery is disabled >> mail_owner = postfix >> mailq_path = /usr/bin/mailq.postfix >> manpage_directory = /usr/share/man >> mydomain = xxx.com >> myhostname = xxx.xxx.com >> mynetworks = 0.0.0.0/0 >> myorigin = xxx.com >> newaliases_path = /usr/bin/newaliases.postfix >> notify_classes = bounce, delay, resource, software >> queue_directory = /var/spool/postfix >> readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES >> relay_domains = xxx.net, abc.my >> sample_directory = /usr/share/doc/postfix-2.3.3/samples >> sendmail_path = /usr/sbin/sendmail.postfix >> setgid_group = postdrop >> smtp_bind_address = 192.168.1.141 >> smtpd_client_restrictions = permit_mynetworks, check_client_access >> hash:/etc/postfix/access, reject_unauth_destination >> smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access, >> reject >> transport_maps = hash:/etc/postfix/transport >> unknown_local_recipient_reject_code = 550 >> virtual_alias_maps = hash:/etc/postfix/virtual >> >> [r...@smtp2 postfix]# tail virtual >> # >> # AUTHOR(S) >> # Wietse Venema >> # IBM T.J. Watson Research >> # P.O. Box 704 >> # Yorktown Heights, NY 10598, USA >> # >> # >> VIRTUAL(5) >> root r...@localhost >> postmaster postmas...@xxx.xxx.com >> >> i do comment out local in the master.cf file. >> >> From the document, i should be able to send email to root or postmaster, >> but i cant, do i miss out something ? >> >> Regards, >> Teh >> >> >> Yes. >> You have disabled all local delivery, which means that r...@localhost is >> not a valid address. >> And you have no virtual_mailbox_maps, so nothing (NOTHING) can be >> delivered locally, on this machine. nothing. at all. >> >> J. >> >> >