Re: [courier-users] multiply mail-addresses problem

2006-12-06 Thread Alessandro Vesely
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/mailing.unix.courier-imap/browse_frm/thread/372a9a716cc333d0/d16bb37e01dfbe8e


-
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?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] multiply mail-addresses problem

2006-12-05 Thread Anton Basistov

 Gordon Messmer 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?

 Yes, it can, but not selectively.  That is, if you want courier to be
 quiet about bad addresses, and bounce them, it will behave that way for
 your users and also for the internet at large.  What will then happen is
 spammers will attempt dictionary attacks against your mail server to get
 valid addresses, and will generate all positives.  They'll then send
 huge volumes of spam to your server, which courier would accept and then
 try to bounce.  The spam would have a bad return address, and then sit
 undeliverable in your mail queue for a very long time before bouncing to
 the postmaster.

 The end result is that you can't read postmaster mail because there are
 too many messages, and you can't determine whether or not there's any
 valid problems with your mail server.  The problem increases until your
 mail queue is full of thousands of messages which can't be delivered,
 and legitimate service degrades until it's not usable any more.

 Don't go down that road.  It sucks.

Ok, thank you very much! I understand now.

Anton. 


-
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?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] multiply mail-addresses problem

2006-12-05 Thread Martin Orr
On 05/12/06 11:12, Anton Basistov wrote:
  Gordon Messmer 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 take it that what you want to do is:
If mail comes from a particular client, accept it whoever it is to, and
bounce it later if they don't exist.
If it comes from anywhere else, reject at SMTP time if the recipient doesn't
exist.

I did this once, using a localmailfilter, but I forget the details.  It is
something like:
Create a catch-all alias whose .courier file bounces messages.
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.

-- 
Martin Orr

-
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?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] multiply mail-addresses problem

2006-12-04 Thread Anton Basistov
I have some problem:

If I want to send a letter to many recipients, I type many addresses in
TO.
And if the only one address is nonexistent (and it is at local domain)
Courier does not take my letter at all during email-client-smtp-session.
And it does not say which address is wrong.

Do you know, how can I fix it? I want Courier to take the mail in any case,
and just to send back error msg, if error.

Anton.


-
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?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] multiply mail-addresses problem

2006-12-04 Thread Tim Hunter
On Mon, December 4, 2006 12:42 pm, Anton Basistov wrote:
 I have some problem:


 If I want to send a letter to many recipients, I type many addresses in
 TO.
 And if the only one address is nonexistent (and it is at local domain)
 Courier does not take my letter at all during email-client-smtp-session.
 And it does not say which address is wrong.

Sam already answered this question the last time you asked it.
The mail CLIENT sends this information one address at a time to courier,
courier tells the client at the time its sent that the address is
nonexistent.  It is the mail CLIENTS job to tell you which one.

 Do you know, how can I fix it? I want Courier to take the mail in any
 case, and just to send back error msg, if error.

Courier can if your mail CLIENT tells it to.  You are barking up the wrong
tree.

 Anton.



-
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?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] multiply mail-addresses problem

2006-12-04 Thread Anton Basistov
 If I want to send a letter to many recipients, I type many addresses in
 TO.
 And if the only one address is nonexistent (and it is at local domain)
 Courier does not take my letter at all during email-client-smtp-session.
 And it does not say which address is wrong.

 Sam already answered this question the last time you asked it.
 The mail CLIENT sends this information one address at a time to courier,
 courier tells the client at the time its sent that the address is
 nonexistent.  It is the mail CLIENTS job to tell you which one.

 Do you know, how can I fix it? I want Courier to take the mail in any
 case, and just to send back error msg, if error.

 Courier can if your mail CLIENT tells it to.  You are barking up the wrong
 tree.

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 am asking because I know, that SENDMAIL can do that.

Thanks.
Anton, again. 


-
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?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] multiply mail-addresses problem

2006-12-04 Thread Gordon Messmer
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?

Yes, it can, but not selectively.  That is, if you want courier to be 
quiet about bad addresses, and bounce them, it will behave that way for 
your users and also for the internet at large.  What will then happen is 
spammers will attempt dictionary attacks against your mail server to get 
valid addresses, and will generate all positives.  They'll then send 
huge volumes of spam to your server, which courier would accept and then 
try to bounce.  The spam would have a bad return address, and then sit 
undeliverable in your mail queue for a very long time before bouncing to 
the postmaster.

The end result is that you can't read postmaster mail because there are 
too many messages, and you can't determine whether or not there's any 
valid problems with your mail server.  The problem increases until your 
mail queue is full of thousands of messages which can't be delivered, 
and legitimate service degrades until it's not usable any more.

Don't go down that road.  It sucks.


-
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?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users