On Tue, 11 Nov 2008 12:59:10 +0800 (CST) Stephen Liu <[EMAIL PROTECTED]> wrote:
> Nov 11 02:41:55 xen05 postfix/smtpd[3445]: NOQUEUE: reject: RCPT from > unknown[121.34.170.57]: 554 5.7.1 <[EMAIL PROTECTED]>: Relay access > denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP > helo=<57.170.34.121.broad.sz.gd.dynamic.163data.com.cn> > Nov 11 02:41:55 xen05 postfix/smtpd[3445]: lost connection after RCPT > from unknown[121.34.170.57] > Nov 11 02:41:55 xen05 postfix/smtpd[3445]: disconnect from > unknown[121.34.170.57] > I have been googling a while without solution discovered. The cause > is supposed to be no relay_domains defined. > mysql> SELECT * from domains; > +------+-----------------------+-----------+---------+ > | pkid | domain | transport | enabled | > +------+-----------------------+-----------+---------+ > | 1 | localhost | virtual: | 1 | > | 2 | localhost.localdomain | virtual: | 1 | > | 3 | satimis.com.tld | virtual: | 1 | > +------+-----------------------+-----------+---------+ > 3 rows in set (0.00 sec) > > > Whether it just needs "satimis.com" dropping ".tld"-top_level_domain ? That seems about right. I don't know postfix, but it seems that postfix on <localhost> rejected to relay mail from <[EMAIL PROTECTED]> to <[EMAIL PROTECTED]> and dropped the SMTP connection after the recipient (RCPT) was transmitted because the domain satimis.com is not one of the domains you configured postfix to relay mail for. <Localhost>, I guess, is xen05.satimis.com, though I didn't see where you allow postfix to handle mail for <localhost> other than in "mydestination". If you have several hosts in the domain satimis.com and want postfix to relay mail for them, you will need to configure postfix to do so. What I don't understand is why localhost, localhost.localdomain and xen05.satimis.com are also listed as virtual mailbox domains: These domains are not virtual? So how do you configure the domains postfix is supposed to relay mail for? BTW, if you think exim, a domain --- as in: to relay|accept mail for --- is always a FQDN (letting aside, maybe, localhost). That is important to understand, and if this is any different with postfix, I'd be curious to know how. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]