Re: Postfix bouncing<846a16d7-8ab7-4e6d-a788-d09c16170cc9@v4g2000hsf.googlegroups.com><0d362fae-8249-4f84-8e15-3d94e80666a3@b15g2000hsa.googlegroups.com>

This is a discussion on Re: Postfix bouncing<846a16d7-8ab7-4e6d-a788-d09c16170cc9@v4g2000hsf.googlegroups.com><0d362fae-8249-4f84-8e15-3d94e80666a3@b15g2000hsa.googlegroups.com> within the mailing.postfix.users forums, part of the Mail Servers and Related category; On 2007-11-30, ONYX <ivakras1@gmail.com> wrote: > smtpd_recipient_restrictions = ..., > ..., > check_sender_access regexp:/path/to/file_with_restrictions, &...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-02-2007
Ralf Hildebrandt
 
Posts: n/a
Default Re: Postfix bouncing<846a16d7-8ab7-4e6d-a788-d09c16170cc9@v4g2000hsf.googlegroups.com><0d362fae-8249-4f84-8e15-3d94e80666a3@b15g2000hsa.googlegroups.com>

On 2007-11-30, ONYX <ivakras1@gmail.com> wrote:

> smtpd_recipient_restrictions = ...,
> ...,
> check_sender_access regexp:/path/to/file_with_restrictions,
> ...
>
> The file /path/to/file_with_restrictions must contain something like
> that:
> /^spamer@.*/ REJECT Drink a poison
> /.*@spamer-domain.com$/ REJECT Drink a poison
> /^good-sender@.*/ OK
> /.*@good-domain.com/ OK


You don't need regexp for that, hash will do:
spamer@ REJECT Drink a poison
spamer-domain.com REJECT Drink a poison
good-sender@ OK
good-domain.com OK

> If you wish to use smtpd_sender_restrictions - use it without
> check_sender_access:
>
> smtpd_sender_restrictions = ...,
> ...,
> regexp:/path/to/file_with_restrictions,
> ...


You can still use it with check_sender_access regexp:/path/to/file_with_restrictions

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk@charite.de
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0