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 = smtp2.example.com
mydomain = example.com
myorigin = example.com

Jul 11 01:43:54 smtp2 postfix/pickup[10975]: 907722BE8003: uid=0 from=<root>
Jul 11 01:43:54 smtp2 postfix/cleanup[10991]: 907722BE8003:
message-id=<20100710174354.907722be8...@smtp2.ytlcomms.com>
Jul 11 01:43:54 smtp2 postfix/qmgr[10976]: 907722BE8003:
from=<r...@example.com>, size=1951, nrcpt=1 (queue active)
Jul 11 01:43:54 smtp2 postfix/smtp[10993]: 907722BE8003:
to=<r...@smtp2.example.com>, orig_to=<root>, relay=none, delay=0.02,
delays=0.01/0.01/0/0, dsn=5.4.6, status=bounced (mail for
smtp2.ytlcomms.com loops back to myself)


virtual entry :

root    r...@smtp2.example.com
postmaster      postmas...@smtp2.example.com

try sent to root or postmaster have the loops back to myself error message.

Teh.


On Sat, Jul 10, 2010 at 10:36 PM, /dev/rob0 <r...@gmx.co.uk> wrote:
> 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