OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Relaying problems

From: Alex (mysqlstudentgmail.com)
Date: Thu Nov 12 2009 - 13:56:00 CST


Hi,

To follow up with my own post, I should mention that I did postmap the
file, which I should have mentioned.

I also thought it might be better to add it to smtpd_client_restrictions?

smtpd_client_restrictions =
        check_helo_access hash:/etc/postfix/helo_checks

Perhaps that's the way to do it instead?

Thanks again,
Alex

On Thu, Nov 12, 2009 at 2:48 PM, Alex <mysqlstudentgmail.com> wrote:
> Hi folks,
>
> I'm still working on the problem you have all been so kind in helping
> me with, and have a problem relating to helo_checks. We require a
> proper FQDN for the helo, but would like to make an exception for
> several IP addresses.
>
> I've added check_helo_access as the first line of my
> smtpd_recipient_restrictions and it still doesn't work:
>
> smtpd_recipient_restrictions =
>        check_helo_access hash:/etc/postfix/helo_checks,
>
> helo_checks contains:
>
> 192.168.1.99   OK
>
> Yet it is still rejected:
>
> Nov 12 14:40:21 smtp01 postfix/smtpd[8282]: reject: RCPT from
> unknown[192.168.1.99]: 504 <helostring>: Helo command rejected: need
> fully-qualified hostname; from=<insidemydomain.com>
> to=<outsidegmail.com>
>
> What could I be doing wrong?
>
> Thanks,
> Alex
>
>