Re: Sendmail Milter Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Fr, den 22.10.2004 schrieb Yang Xiao um 16:40:

> include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
> VERSIONID(`@(#)ohpp')dnl
> OSTYPE(linux)dnl
> FEATURE(nocanonify)dnl
> MASQUERADE_AS(ohpp.com)dnl
> FEATURE(allmasquerade)dnl
> dnl Milter
> dnl APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
> define(`MAIL_HUB', `mail.domain.com')dnl
> define(`SMART_HOST', `mail.domain.com')dnl
> define(`confFORWARD_PATH', `')dnl
> define(`STATUS_FILE', `/var/log/mail/statistics')dnl
> define(`UUCP_MAILER_MAX', `2000000')dnl
> FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
> dnl SpamAssassin Milter
> INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock,
> F=,T=C:15m;S:4m;R:4m;E:10m')
> dnl ClamAV Milter
> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clamd.sock, F=,
> T=S:4m;R:4m')dnl
> define(`confINPUT_MAIL_FILTERS', `clmilter')dnl
> dnl FEATURE(always_add_domain)dnl
> FEATURE(use_cw_file)dnl
> FEATURE(use_ct_file)dnl
> EXPOSED_USER(`root')dnl
> MAILER(smtp)dnl

> Yang

Annotation to this sendmail.mc:
- please respect that the entries shall follow an order: define lines in
front of all FEATURE lines
- APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
this is a compile setting for site.config.m4 and has not to be in any
sendmail.mc (though you already commented it)
- you have no MAILER(local) line; has to be in front of the MAILER(smtp)
line

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 16:56:08 up 2 days, 13:35, load average: 2.03, 1.78, 1.52 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux