[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix can't send and receive mails



On Tue, 11 Nov 2008 12:59:10 +0800 (CST)
Stephen Liu <satimis@yahoo.com> wrote:

> Nov 11 02:41:55 xen05 postfix/smtpd[3445]: NOQUEUE: reject: RCPT from
> unknown[121.34.170.57]: 554 5.7.1 <mail@satimis.com>: Relay access
> denied; from=<mail@satimis.com> to=<mail@satimis.com> 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 <mail@satimis.com> to
<mail@satimis.com> 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.


Reply to: