procmail
[Top] [All Lists]

Re: How do I relay from within procmail?

2002-05-10 03:43:26
Having a little trouble reading my signature? It's at the bottom of this
message, to.

On Fri, May 10, 2002 at 03:43:26AM -0500, SI Reasoning wrote:
On Fri, 2002-05-10 at 03:19, Andrew Edelstein wrote:
<snipped>

The probem being that there is no office.com or any other domain name
associated with this exchange server except for its internal domain name
(domain). However, I am currently receiving the email from one spot on the
internet in order to filter out spam and local mail, however any mail
received from a certain domain I wish to forward to an ip address of the
exchange server on the internet (through a firewall of course). I was also
hoping to avoid having to identify  all users through procmail and instead
just send any non-spam file from this domain to the exchange server.

For instance, let's say the ip address is 111.111.111.111 and the email was
sent to si(_at_)office(_dot_)com(_dot_) I would like the email relayed to 
111.111.111.111 but
the headers would be to si(_at_)office(_dot_)com (which the exchange server 
already
knows how to accept.)

This way I can filter out spam and then relay.

Then the Exchange server needs to be fixed. It should also be able to accept
mail for the hostname to which the IP address 111.111.111.111 resolves.

-- 
Andrew Edelstein                 -              http://andrew.pure-chaos.com

Please do not reply directly to me, or Cc: me on a reply to a list message.
Replies sent back to the list are more effective, as the discussion remains in
front of the eyes of the rest of the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>