Bonnetot Jean-Daniel wrote:
Hi,Thanks for this howto, I'm writing something similar in french ;)
The more, the better =)
I looked you Method C which is the one I used to setup my MX, my comments are : - You have "--enable-custom-smtp-reject=y" twice in your simscan configure.
Done.As side effect you caught my attention that i don't mention the queue-custom-reject patch. Will add that in short time.
It does seem to me that it's actually the same. And the howto gets smaller. ;)- I prefer put "Trust simscan" and run clamav and DSPAM with simscan user, but I think this is not critical.
- I think this simscan configure don't use DSPAM ad client/server mode. To do that I had to set ServerPass.Relay1, ServerDomainSocketPath, ClientHost, ClientIdent in dspam.conf, and use "--client --deliver=stdout --debug" for --enable-dspam-args in my simscan configure.
Note the Trust qmaild in dspam.conf. DSPAM will trust what that user tells him. Also, simscan will always use --client and --stdout, from simscan.c, the way it starts to build the dspam call:
--- snip --- /* setup the dspam args */ i = 0; dspam_args[i++] = "--stdout"; dspam_args[i++] = "--client"; --- snip ---all the dspam args you specify in the configure will be appended to those two. At least in the CVS version. I know that some earlier versions of simscan hardcoded the arguments.
- For more speed, you can use simscan tmp dir in ram like that in /etc/fstab : none /var/qmail/simscan tmpfs nodev,noexec,noatime,uid=XXX,gid=XXX,mode=2750 0 0
I have also tried that, but i must say that i wasn't very fortunate. For some reason, probably me, on server high load, the reception of large files would cause unavailability. Probably due to the fact that i was inspecting every attachment, no matter the size.
Regards,
Hugo Monteiro.
--
ci.fct.unl.pt:~# cat .signature
Hugo Monteiro
Email : [EMAIL PROTECTED]
Telefone : +351 212948300 Ext.15307
Centro de Informática
Faculdade de Ciências e Tecnologia da
Universidade Nova de Lisboa
Quinta da Torre 2829-516 Caparica Portugal
Telefone: +351 212948596 Fax: +351 212948548
www.ci.fct.unl.pt [EMAIL PROTECTED]
ci.fct.unl.pt:~# _
signature.asc
Description: OpenPGP digital signature
