[devel@ns spamd]$ gcc sa-cgp.c libspamc.c utils.c -o sa-cgp
sa-cgp.c: In function `main':
sa-cgp.c:114: error: `SPAMC_PROCESS_XHDR' undeclared (first use in this function)
sa-cgp.c:114: error: (Each undeclared identifier is reported only once
sa-cgp.c:114: error: for each function it appears in.)
Помимо этого, в папке contrib исходников SA, нашел файл communigate.sh
Script to call Spam Assassin from CommuniGate Pro Rules v1.1 Ed Fang
# If you have any improvements, drop me a line at edfang@visi.net
# Thanks for Stefan Seiz for the original template
#
# Script will call SpamAssassin spamc from CommuniGate. Since SA modifies
# the actual message, it must be re-delivered via the Submitted directory.
# Sneaky Header Tagging is used to prevent the message from being scanned
# again, and/or being caught in a loop is spamd fails.
#
# DATA
# Communigate Pro Rules
# Any Recipient in *@domain.com
# Message Size less than 32768
# Header Field is not X-Spam-Status*
#
# ACTION
# Execute [STDERR] [FILE] [RETPATH] [RCPT] /var/CommuniGate/scanspam.sh
# Discard
scanspam.sh - понимаю, что это должен быть файли из контриба....
Но и с ним ничего не получилось, письма возвращаются :(
00:02:21.54 2 LOCALRULES(xxx@xxx.ru) [530259] rule(spam) action #0: launching
external task: [STDERR] [FILE] [RETPATH] [RCPT] /var/CommuniGate/communigate.sh
00:02:21.60 1 LOCALRULES(xxx@xxx.ru) [530259] rule(spam) action #0: external task
failed: Error Code=user OS registration data not found
00:02:21.60 1 ACCOUNT(xxx@xxx.ru) [530259] failed to deliver. Error Code=user OS
registration data not found
Если поможите разобраться хоть с чем нибудь, был бы весьма благодарен.
Спасибо.
Получено Fri Jul 23 12:05:20 2004