Hello.
I'm looking for an email (IMAP) proxy for a small LAN gateway. The sole purpose of the proxy is to run ClamAV on incoming emails. Please feel free to correct me if any of the concepts I've stated here are inconsistent with how things work.
Objectives:
* Most devices on the LAN are mobiles, I would prefer to not store or manage user email credentials on the gateway and have the auth mechanism passed directly from device to proxy to main server (ex: gmail).
* Handoff to ClamAV, then process message based on scan result.
* If proxy is required to make this work, a Transparent, Lightweight, Non-Caching solution.
* Clients do not use POP3, so an IMAP-only solution is OK.
* Support for TLS (gmail) connection. Preference: query & close (not keep-alive).
* Platform: FreeBSD 11-Stable with Jailed ClamAV, clamd listening for incoming scan requests.
From what I've read Perdition seems capable of doing this, I would like to confirm as such.
Thanks & Regards.
--
Please CC my email when responding, mail from list is not delivered.
Hi,
I'm trying to configure the perdition-pbs (pop before smtp) to use with
qmail + perdition imaps proxy and am having difficulty setting up
$logtime_pat and $pat variables:
My log is in the following format:
2017-07-28T16:49:03.108845-03:00 mailserver1 perdition.imaps[5355]:
Auth: a.b.c.d:48824->a.b.c.d:993 client-secure=plaintext
authorisation_id=NONE authentication_id="user"
server="localmailserve:143" protocol=IMAP4S server-secure=plaintext
status="ok"
$logtime_pat = '(\w\w\w\w-\d\-\dT+d:\d+\:\d+\.\d\.\w\w\w\w\w\w\-d\:\d)';
$pat = '^[LOGTIME] mailserver1 \S+ perdition\.imaps\[\d+\]: ' .
'Auth: \d+\.\d+\.\d+\.\d+:\d+\-\>\d+\.\d+\.\d+\.\d+:\d+ ' .
'client-secure=\plaintext authorisation_id=NONE ' .
'authentication_id=\"\S+\" server=\"\S+\" protocol=\"\S+\"
server-secure=plaintext status=\"ok\"';
But it was unsuccessful. Any helps? Thanks.
-