This is a discussion on Re: [courier-users] multiply mail-addresses problem within the Courier-Imap forums, part of the Mail Servers and Related category; Martin Orr wrote: > On 05/12/06 11:12, Anton Basistov wrote: >>>> Ok. I'll ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Martin Orr wrote:
> On 05/12/06 11:12, Anton Basistov wrote: >>>> Ok. I'll ask from another side. >>>> Can I configure Courier not to tell me about the wrong addresses? Even if >>>> my >>>> mail client very bad? > > I did this once, using a localmailfilter, I too > but I forget the details. I didn't :-) > It is something like: > Create a catch-all alias whose .courier file bounces messages. That is a .courier-default in aliasdir. I configure it to dynamically call a script, e.g. `|| /etc/courier/aliasdir/rcptfilter.sh' or whatever. The script can either output the real destination address or refuse the mail, thereby causing a bounce to be generated. > Write a localmailfilter which rejects a recipient if they are mapped to the > catch-all alias and the client IP address is not equal to the one with the > bad mail client, and accepts it otherwise. This can be done better using the same script called on delivery. When called as a whitelist filter, the script can decide for an on-line refusal (SMTP error) rather than a bounce. I posted on this subject on Fri, 27 Oct 2006 20:53:29 +0200, see e.g. http://groups.google.it/group/mailin...6bb37e01dfbe8e ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |