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 routing issues impossible to 
diagnose. You're not even munging consistently!

> due to is a null client config,

Here is a sample null client config:
    http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client

> so i put xxx.xxx.com in 
> relay_domains entry also cannot help, anyone please help.

You should understand what relay_domains is before you try that.
    http://www.postfix.org/ADDRESS_CLASS_README.html#relay_domain_class
    http://www.postfix.org/postconf.5.html#relay_domains

> 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,

Here you are showing one value as the recipient domain ...

> status=bounced (mail for xxx.xxx loops back to myself)

... and a different one as the nexthop!

No. Mail routing is done by means of the recipient address, and the 
munging of the domain names makes this impossible to solve here. 
ADDRESS_CLASS_README explains the basics of how mail is routed, with 
links to other relevant information.

Another thing for you to consider is that Postfix might be too big 
and complex for your needs. There are other null client software 
projects which might make more sense for you.
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to