Pamela Saint writes:

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

Set the nochangingfrom configuration file. See man courier.

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

Courier itself has no mechanism to restrict envelope return addresses to a fixed set of domains, however this configuration setting exists to turn off the From: field in webmail, and default it to the login address.

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.

The sender's IP address is recorded in the headers. As such, the sender can be identified from the IP address, irrespective to what the From: header says. After all, even if the sender's address is limited to one of several domains, there's nothing to stop the sender from using any return address in any of the allowable domains.

Attachment: pgpJw1Dn8quV5.pgp
Description: PGP signature

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