Re: qpsmtpd as a mail proxy for outgoing mail

[email protected] (Steve Freegard) Wed, 15 Jan 2014 19:43:02 +0000
Newsgroups perl.qpsmtpd
Message-ID <WM!8a8e7d852ade08f11a726ae4bfc910045bd1eec8e2085dc13011f7601df252da6158a03a1eb01e086ab88e6b435d6849!@mail1-ec2.fsl.com>
Bojan,

This seems like a reasonable thing to do and not impossible to do at all.

I moved from qpsmtpd a while ago and I'm using Haraka now (see 
https://github.com/baudehlo/Haraka) and you could probably do this by 
hacking a couple of the existing plugins if you know a bit of Javascript 
(smtp_proxy.js and auth_proxy.js).

Regards,
Steve.

On 15/01/14 14:45, Bojan Čekrlić wrote:
> Hi list,
>
> I've been looking around for this solution and qpsmtpd seems to be the 
> closest thing that I found. Let me explain:
>
> I would like to do something similar with SMTP that Perdition 
> (http://horms.net/projects/perdition/) does for IMAP/POP. Namely, when 
> the user authenticates, his conversation would be forwarded to target 
> outgoing mail server, based on his authentication details.
>
> Basically have one SMTP "gateway" that forwards outgoing mail based on 
> user credentials.
>
> As qsmtpd already has a plugin that autenticates against another SMTP 
> server (http://wiki.qpsmtpd.org/doku.php?id=plugins:auth:auth_smtpd) 
> and perl already has libraries for talking to SMTP, it seems this 
> wouldn't be impossible to do with qsmtpd.
>
>
> The $100 question: has anybody had any experience setting up a 
> configuration like this? Is it even possible with qsmtpd?
>
>
> Thank you,
> B