On Tue, Aug 07, 2012 at 03:28:45PM -0700, Scott Brown wrote:

> I recently switched from using flat virtual files to using mysql
> to manage a virtual table.

        http://www.postfix.org/DEBUG_README.html#mail

> Aug ?7 17:52:13 miltermatic postfix/smtpd[15169]: resolve_clnt: `' -> 
> `sbr...@oldvirtualdomain.com' -> transp=`error' host=`User unknown in virtual 
> alias table' rcpt=`sbr...@oldvirtualdomain.com' flags= class=alias

This is a virtual alias domain.

        http://www.postfix.org/ADDRESS_CLASS_README.html

> Aug ?7 17:50:03 miltermatic postfix/smtpd[15246]: resolve_clnt: `' -> 
> `sbr...@domainaftermysql.com' -> transp=`smtp' host=`67.22.105.2' 
> rcpt=`sbr...@domainaftermysql.com' flags= class=default

This domain is not in any of the address classes, so it results to the
default transport and the recipient is subject to "relay controls".

> Aug ?7 17:50:04 miltermatic postfix/smtpd[15246]: NOQUEUE: reject: RCPT from 
> mail-qc0-f170.google.com[209.85.216.170]: 554 5.7.1 
> <sbr...@domainaftermysql.com>: Relay access denied; 
> from=<sc...@livecareer.com> to=<sbr...@domainaftermysql.com> proto=ESMTP 
> helo=<mail-qc0-f170.google.com>

As expected if the client is not "trusted" to relay through your system.

> I get "Relay access denied" if I try sending email to that domain
> from gmail. ?If I try sending email to that domain with a manual
> telnet smtp session to localhost port 25 on the machine postfix is
> running on, it goes through fine:

As expected, since "127.0.0.1" is a trusted client.

-- 
        Viktor.

Reply via email to