-----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Hannu Liljemark Envoyé : jeudi 14 août 2003 06:54 À : [EMAIL PROTECTED] Objet : Re: [SAtalk] Newbie Spamd/Spamc
On Wed, Aug 13, 2003 at 04:48:00PM +0300, Céline REDON wrote: > Mails are going through the whole plateform , but without > being changed at all.I think they are not getting through > SA.... How *exactly* do you call spamc from postfix? Are you using the content_filter hook and run a spamc.sh or some similar script from it which does all the work? *In Postfix , in /etc/postfix/master.cf the last line calls the filter spamc.sh filter unix - n n - - pipe flags=Rq user=filter argv=/var/spool/filter/spamc.sh -f ${sender} -- ${recipient} In var/spool/filter, spamc.sh has these properties: -rwxr-xr-x 1 root filter 924 aoû 13 17:25 spamc.sh And this is the script # File locations: SENDMAIL="/usr/lib/sendmail -i" SPAMC=/usr/bin/spamc # Exit codes from <sysexits.h> EX_TEMPFAIL=75 EX_UNAVAILABLE=69 cat | $SPAMC -f -u filter 2>/dev/null \ | $SENDMAIL "$@" || \ { echo Message content rejected; exit $EX_UNAVAILABLE; } exit 0 When I send a mail to my domain of test, I can the mail passing through Postfix but not through SA. And though spamd is up. - spamd -d -c -a -D debug: Score set 0 chosen. debug: running in taint mode? no -tail -f /var/log/maillog Aug 21 12:29:27 balpxd02Test spamd[1261]: debug: AWL active, pre-score: 2.4, mea n: undef, originating-ip: undef Aug 21 12:29:27 balpxd02Test spamd[1261]: debug: Post AWL score: 2.4 Aug 21 12:29:27 balpxd02Test spamd[1261]: debug: DB addr list: untie-ing and unl ocking. Aug 21 12:29:27 balpxd02Test spamd[1261]: debug: DB addr list: file locked, brea king lock. Aug 21 12:29:27 balpxd02Test spamd[1261]: debug: unlock: 1261 unlink /tmp/spamas sassin-1261/.spamassassin/auto-whitelist.lock Aug 21 12:29:27 balpxd02Test spamd[1261]: debug: is spam? score=2.4 required=5 t ests=DATE_MISSING,MISSING_HEADERS,NO_REAL_NAME Aug 21 12:29:27 balpxd02Test spamd[1261]: server started on port 783 (running ve rsion 2.55) Aug 21 12:29:27 balpxd02Test spamd[1261]: server pid: 1261 Aug 21 12:29:27 balpxd02Test spamd[1261]: logmsg: server started on port 783 (ru nning version 2.55) Aug 21 12:29:27 balpxd02Test spamd[1261]: server started on port 783 (running ve rsion 2.55) Aug 21 12:29:38 balpxd02Test postfix/smtpd[1325]: connect from localhost.localdomain[127.0.0.1] Aug 21 12:29:38 balpxd02Test postfix/smtpd[1325]: BEFE332279: client=localhost.localdomain[127.0.0.1] Aug 21 12:29:38 balpxd02Test postfix/smtpd[1325]: disconnect from localhost.localdomain[127.0.0.1] Aug 21 12:29:38 balpxd02Test postfix/pickup[681]: DDE1723574: uid=0 from=<[EMAIL PROTECTED]> Aug 21 12:29:38 balpxd02Test postfix/cleanup[1326]: DDE1723574: message-id=<[EMAIL PROTECTED] .fr> Aug 21 12:29:38 balpxd02Test postfix/qmgr[682]: DDE1723574: from=<[EMAIL PROTECTED]>, size=1202, nrcpt=1 (queue active) Aug 21 12:29:39 balpxd02Test postfix/smtp[1328]: DDE1723574: to=<[EMAIL PROTECTED]>, relay=193.104.224.182[193.104.224.182], delay=1, status=sent (250 Ok) Thanx for any help.... Céline REDON ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk