This is a discussion on [courier-users] perlfilter questions within the Courier-Imap forums, part of the Mail Servers and Related category; This message is in MIME format. Since your mail reader does not understand this format, some or all of this ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible. ------_=_NextPart_001_01C53939.DF9ACB30 Content-Type: text/plain; charset="iso-8859-1" I am working on a system to process email for a particular domain. Mail for this domain will come to my main mailserver for virus scanning and then be sent along to another server for processing (via esmtproutes). I would like to be able to reject invalid users from my mailserver, but I don't want to add hundreds of users and .courier files. I was considering writing a simple perlfilter to check the usernames of any incoming email to this domain. Can I reject individual recipients from a filter? As I understand it, the filter just reports a single SMTP reply, so how can I indicate that I have accepted one address and rejected another? Is there a better way to do this? Thanks, Bowie ------_=_NextPart_001_01C53939.DF9ACB30 Content-Type: text/html; charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2>I am working on a system to process email for a particular domain. </FONT></SPAN><SPAN class=687265616-04042005><FONT face=Arial size=2>Mail for this domain will come to my main mailserver for virus scanning and then be sent along to another server for processing (via esmtproutes).</FONT></SPAN></DIV> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2>I would like to be able to reject invalid users from my mailserver, but I don't want to add hundreds of users and .courier files. I was considering writing a simple perlfilter to check the usernames of any incoming email to this domain. Can I reject individual recipients from a filter? As I understand it, the filter just reports a single SMTP reply, so how can I indicate that I have accepted one address and rejected another?</FONT></SPAN></DIV> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2>Is there a better way to do this?</FONT></SPAN></DIV> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2>Thanks,</FONT></SPAN></DIV> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2>Bowie</FONT></SPAN></DIV> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=687265616-04042005><FONT face=Arial size=2></FONT></SPAN> </DIV></BODY></HTML> ------_=_NextPart_001_01C53939.DF9ACB30-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|