This is a discussion on Re: Blocking bad HELO ( and Netsky virus ) within the mailing.postfix.users forums, part of the Mail Servers and Related category; Alex wrote regarding 'Re: Blocking bad HELO ( and Netsky virus )' on Wed, Oct 20 at 08:46: > On Tue, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Alex wrote regarding 'Re: Blocking bad HELO ( and Netsky virus )' on Wed, Oct 20 at 08:46:
> On Tue, Oct 19, 2004 at 10:57:11AM -0500, Danny Sauer wrote: > > > > --main.cf--- > > > smtpd_recipient_restrictions = > > > .. > > > check_helo_access hash:/etc/postfix/tables/smtp_helo_blacklist > > > .. > > > Just out of curiosity, is there any reason to put that in the > > smtpd_recipient_restrictions instead of smtpd_helo_restrictions? > > Having all restrictions in the same place makes it easy to see in > what order they will be executed. Also, it makes it more easy to > whitelist. > > Suppose you'd whitelist some server in smtpd_recipient_restrictions, > you'd have to do the same in smtpd_helo_restrictions or else the > whitelist entry would never take effect. > > HTH T does indeed H. I normally just list the restrictions in order of evaluation in main.cf, for just that reason. I was hoping I wasn't missing some highly technical reason, though. :) --Danny |