On Tue, Oct 22, 2013 at 01:53:55PM -0000, Michiel van Es wrote: > Hello, >
Ohai, > I am using OpenSMTPD 5.3.3p1 portable release on Ubuntu 64 bit. > > I am trying to set up Clamav with OpenSMTPD following: > https://poolp.org/0x765d/OpenSMTPD:-LDAP-support-selectable-source--DKIM-and-Goodies > > But I am stuck with my own setup. > The setup is as follows: > > [...] > > Now all mail is catched by the 'accept from any for domain <vdomains> > virtual <vusers> deliver to mda "procmail -f -"' rule. > Yup, since we perform first match, then if a mail comes for a domain part of your vdomains table, it will necessarily match that rule. > How can I ensure that all incoming and TLS+AUTH smtp sessions are setup > via the proxy (smtp://127.0.0.1:10026 => ClamSMTP) ? > Wouldn't the following do the job ? accept for local alias <aliases> deliver to mda "procmail -f -" accept tagged CLAM from any for domain <vdomains> virtual <vusers> deliver to mda "procmail -f -" accept tagged CLAM for any relay accept for any relay via smtp://127.0.0.1:10026 -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org