"Gordon Messmer" <yiny...@eburg.com> wrote:

>Pamela Saint wrote:
>>
>> How can I configure Courier to restrict the dispatch from customers
>> (allowable  to relay per IP) have set an address of another domain
>> (foo.com),
>> but sent through my server (mydomain.edu)?.
>>
>> SPF, smtp filters, etc. any idea?
>
>Your question isn't perfectly clear, but I think you want to restrict
>what users can put in the From: header of messages that they send.  If
>that's so, then you'll need to use a courierfilter.  If you search the
>list archives, I believe that this has come up before.  You may find a
>courierfilter that is already written which can do what you want.
>

Thanks Gordon.
I'm sorry for the lack of clarity.

We have a problem with spam in Webmail local service. 
Outgoing messages have the address of the sender (From header) with an
external domain for example "otherdomain.com" which is obviously not a
domain local call "localdomain.edu. This problem causes the external
mail systems try to block our messages as spam, which is logical. 

I need to know which mechanisms to tell Courier that only accepts
outbound messages from domains in hosteddomains, local, etc.. It would
be like setting smtpaccess by IP addresses, and also by domain of the
sender address (From: header "localdomain.edu). 

I wrote a module for pythonfilter (based on localsenders) using methods
IsRelayed and IsHostedDomain except for the backup MXs, that resolves
this situation in a hasty, but I do not know if it is an unorthodox way
of doing so. 

I too am intrigued, if this problem is common in mail systems, as this
can be a problem on systems that are configured to allow relay for IP
addresses but not using SMTP authentication.

I forgot!!!, I will review courierfilter.

Thanks very much.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to