On 11 Jan 2006, at 18:18, rik wrote:
Hi all,
I'm testing Qpsmtpd as a front-end mx for my mail hosting system and I
think
i'ts great.
I've a question for you.. I'd to know if this is possibile without
coding my
own plugin.
If one of my user receive a virus, is it possibile to send an alert to
his
recipient and save the email in a quarantine directory insted of
blocking
the message?
Yes it's possible, but it requires you write your own plugin (as nobody
has done that yet, or they may have but haven't open sourced it).
Basically the way I'd do it is via a "deny" hook which looks at why it
was denied and creates a mail to the recipient if it was a virus deny.
I'd create the mail using something simple like Email::Send rather than
trying to use the qpsmtpd API.
Matt.