procmail
[Top] [All Lists]

Re: sending mail with SMTP auth from a procmail script

2004-01-21 10:09:19
At 16:06 2004-01-21 +0100, Raphael Mack wrote:
I know this is a bit OT, but I wasn't successful in googling and don't know
where to ask else... Sorry for that.

Time to switch to a better search engine perhaps.

Pine (the MUA) supports SMTP auth (via direct submission to an SMTP server, instead of just invoking the local MTA). You could probably pipe the message to it.

I want to filter my incoming mail with procmail and deliver some of them via
authenticated SMTP to a special mail gateway. Normal forwarding won't work,
because if my postifx tries to deliver the mail to the special gateway it
won't use authentication and I do not have the possibility to change the
whole mailserver...

Well, first, find a program which will send via SMTP Auth, and after you've sorted the invocation details, invoke it from procmail.

Procmail itself is neither an SMTP server or client, so it has absolutely nothing to offer WRT SMTP AUTH.

WHy is it you need to auth into another mailserver anyway? That's nearly always used merely to authenticate that you're a legit user of that host so that you can relay off of it (i.e. not delivering to a user there), and rarely necessary for sending mail INTO it. Ask yourself why you need to relay through this other mailhost when you have one locally, unless the local one is restricted from sending SMTP traffic outside of your network (except through this ISP server, let's say), and if that's the case, why wouldn't you want to configure the local host MTA to relay all mail through this SMTP AUTH host?

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from 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>