Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, December 31, 2018 11:56 PM, wrote: > That seems weird. Perhaps there is something extra to configure in amavis to > keep this from happening. Then > again if it works it works. Maybe, i'll check the default amavis config file if I can find an option

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread edgar
On Mon, Dec 31, 2018 at 10:46:45PM +, mabi wrote: > ??? Original Message ??? > On Monday, December 31, 2018 9:44 PM, wrote: > > > be forwarned I haven't used amavis in a few years. > > No problem you got it right anyway, amavis listens on port 10024 and sends it > back to OpenSMTPD

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, December 31, 2018 9:44 PM, wrote: > be forwarned I haven't used amavis in a few years. No problem you got it right anyway, amavis listens on port 10024 and sends it back to OpenSMTPD on 10025 ;) I wasn't aware about the mailaddr table but that does

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, December 31, 2018 8:29 PM, wrote: > no worries. I'm sure its still possible. Could you post your full config with > the listen directives. That would be cool :) Below is my full smtpd.conf... # PKI pki mx.mydomain.org cert

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread edgar
On Mon, Dec 31, 2018 at 06:55:48PM +, mabi wrote: > ??? Original Message ??? > On Monday, December 31, 2018 7:29 PM, wrote: > > > pretty sure you just need... > > action "relay_amavis" relay host smtp://127.0.0.1:10024 virtual > > That would have been very nice, unfortunately the

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, December 31, 2018 7:29 PM, wrote: > pretty sure you just need... > action "relay_amavis" relay host smtp://127.0.0.1:10024 virtual That would have been very nice, unfortunately the "virtual" parameter does not seem to work with relay as I get a

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread edgar
On Mon, Dec 31, 2018 at 08:47:29AM +, mabi wrote: > Hi, > > I have an OpenSMTPD on OpenBSD 6.4 MX server which first scans mails with > Amavis (SpamAssassin + ClamAV) and then delivers it using LMTP to Dovecot. > Now all mails first go through Amavis which means that even if the mailbox in