Hi,

Replacing:
accept from source { localhost 109.237.26.21/24 } for any relay

With:
accept for any relay

Attempts to deliver to @gmail.com <[email protected]> though the email
never gets through as its gets bounced so it does look like the following
line is the issue:

accept from source { localhost 109.237.26.21/24 } for any relay
Tom


On Thu, 9 Jul 2015 9:45 pm Herbert J. Skuhra <[email protected]> wrote:

> On Thu, Jul 09, 2015 at 01:03:24PM -0700, Seth wrote:
> > On Thu, 09 Jul 2015 11:58:38 -0700, Herbert J. Skuhra <
> [email protected]>
> > wrote:
> > >>CONFIG
> > >>pki domain.tld certificate  "/etc/smtpd/tls/smtpd.crt"
> > >>pki domain.tld key            "/etc/smtpd/tls/smtpd.key"
> > >>table vdoms                     "/etc/smtpd/vdoms"
> > >>table vusers                     "/etc/smtpd/vusers"
> > >>listen on eth0 hostname domain.tld
> > >>accept from any for domain <vdoms> virtual <vusers> deliver to maildir
> > >>"/home/tom/mails"
> > >>accept from source { localhost 109.237.26.21/24 } for any relay
> > >
> > >I think the above line is the problem. It should work if you add
> > >216.119.104.83!
> >
> > Hm. That last line is meant to allow the local system and other email
> > clients on the specified subnet to be able to send outbound mail through
> the
> > server. It's not intended for other mail servers on the Internet, the
> prior
> > statement should handle that traffic.
>
> So this is a bug? (Not sure if I understand you correctly.)
>
> Changing 'accept from source...' to 'accept for any relay' solves the
> "received
> invalid command: "RCPT TO:xxxx" for me. I am running 5.7.1p1 on FreeBSD.
>
> --
> Herbert
>
> --
> You received this mail because you are subscribed to [email protected]
> To unsubscribe, send a mail to: [email protected]
>
>

Reply via email to