--- lee <[EMAIL PROTECTED]> wrote: > 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.
Hi lee, # grep relayhost /etc/postfix/main.cf relayhost = > <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? comment out that line 'mydestination'; # grep mydestination /etc/postfix/main.cf #mydestination = xen05.satimis.com, localhost.satimis.com, , localhost Incoming mails are still rejected; # tail /var/log/mail.log Nov 12 06:47:48 xen05 postfix/anvil[3444]: statistics: max cache size 1 at Nov 12 06:44:27 Nov 12 06:53:52 xen05 postfix/smtpd[3448]: connect from web35206.mail.mud.yahoo.com[66.163.179.85] Nov 12 06:53:53 xen05 postfix/smtpd[3448]: NOQUEUE: reject: RCPT from web35206.mail.mud.yahoo.com[66.163.179.85]: 554 5.7.1 <[EMAIL PROTECTED]>: Relay access denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=SMTP helo=<web35206.mail.mud.yahoo.com> Nov 12 06:53:54 xen05 postfix/smtpd[3448]: disconnect from web35206.mail.mud.yahoo.com[66.163.179.85] Nov 12 06:53:55 xen05 postfix/smtpd[3448]: connect from web35206.mail.mud.yahoo.com[66.163.179.85] Nov 12 06:53:56 xen05 postfix/smtpd[3448]: NOQUEUE: reject: RCPT from web35206.mail.mud.yahoo.com[66.163.179.85]: 554 5.7.1 <[EMAIL PROTECTED]>: Relay access denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=SMTP helo=<web35206.mail.mud.yahoo.com> Nov 12 06:53:56 xen05 postfix/smtpd[3448]: disconnect from web35206.mail.mud.yahoo.com[66.163.179.85] Nov 12 06:57:16 xen05 postfix/anvil[3449]: statistics: max connection rate 2/60s for (smtp:66.163.179.85) at Nov 12 06:53:55 Nov 12 06:57:16 xen05 postfix/anvil[3449]: statistics: max connection count 1 for (smtp:66.163.179.85) at Nov 12 06:53:52 Nov 12 06:57:16 xen05 postfix/anvil[3449]: statistics: max cache size 1 at Nov 12 06:53:52 > So how do you configure the domains postfix is supposed to relay mail > for? Could you please explain in more detail. Where to check and how to correct it. TIA B.R. Stephen > > 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] > > Send instant messages to your online friends http://uk.messenger.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]