Re: helo_access

2010-02-17 Thread Victor Duchovni
On Wed, Feb 17, 2010 at 02:47:26PM +0100, Manu wrote: > Another problem is that smtp.domaineok.com is a pool of computer (anti > virus + anti spam relay). > I've tried to change /etc/postfix/smtp.domaineok.com to > > .domaineok.com OK > > But it doesn't work. > > It's OK when i put > smtp1.do

Re: helo_access

2010-02-17 Thread Manu
m: "Ralf Hildebrandt" To: Sent: Wednesday, February 17, 2010 2:49 PM Subject: Re: helo_access * Manu : .domaineok.com OK man 5 access says: domain.tld Matches domain.tld as the domain part of an email address. The pattern domain.tld also matches subdomains, but only when t

Re: helo_access

2010-02-17 Thread Ralf Hildebrandt
* Manu : > .domaineok.com OK man 5 access says: domain.tld Matches domain.tld as the domain part of an email address. The pattern domain.tld also matches subdomains, but only when the string smtpd_access_maps is listed in the Postfix par‐ ent_domain_matches_subdomains configuration setting (

Re: helo_access

2010-02-17 Thread Manu
Hello Thanks for all your reply I've made this change : smtpd_recipient_restrictions = check_client_access hash:/etc/postfix/smtp.domaineok.com reject /etc/postfix/smtp.domaineok.com contains: smtp.domaineok.com OK Another problem is that smtp.domaineok.com is a pool of computer (anti

Re: helo_access

2010-02-16 Thread Victor Duchovni
On Tue, Feb 16, 2010 at 11:11:54PM +0100, Ralf Hildebrandt wrote: > * Victor Duchovni : > > > > The key "*" is not defined (man 5 access) > > > Are you sure using the HELO is a smart idea? > > > > The OP is not using a HELO check, it is a "check_client_access" check. > > He was using it twice,

Re: helo_access

2010-02-16 Thread Ralf Hildebrandt
* Victor Duchovni : > > The key "*" is not defined (man 5 access) > > Are you sure using the HELO is a smart idea? > > The OP is not using a HELO check, it is a "check_client_access" check. He was using it twice, once for helo, once for the client: smtpd_helo_restrictions = check_helo_access ha

Re: helo_access

2010-02-16 Thread Victor Duchovni
On Tue, Feb 16, 2010 at 10:46:31PM +0100, Ralf Hildebrandt wrote: > > smtpd_recipient_restrictions = > > permit_mynetworks, > > check_client_access hash:/etc/postfix/helo_access, > > permit_sasl_authenticated, > > reject_unauth_destination, > > reject_non_fqdn_recipient, > > reject_unk

Re: helo_access

2010-02-16 Thread Ralf Hildebrandt
* Manu : > Hello > > I would like to accept mail from only one domain "smtp.domaineok.com" > > This is my main.cf > > smtpd_helo_restrictions = check_helo_access hash:/etc/postfix/helo_access, > reject_invalid_hostname, > reject_unknown_hostname, > reject_non_fqdn_hostname, > > smtpd_recipient_