[courier-users] perlfilter questions

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 ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-04-2005
Bowie Bailey
 
Posts: n/a
Default [courier-users] perlfilter questions

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.&nbsp; </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>&nbsp;</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.&nbsp; I was considering writing a simple
perlfilter to check the usernames of any incoming email to this domain.&nbsp;
Can I reject individual recipients from a filter?&nbsp; 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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=687265616-04042005><FONT face=Arial
size=2></FONT></SPAN>&nbsp;</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
Reply With Quote
Reply


Thread Tools
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

vB 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 04:12 PM.


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