Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Spamassassin Email Filtering, master.cf configuration
renan
post Feb 15 2005, 01:52 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 15-February 05
Member No.: 4,660



hello linuxhelp.net

I install spamassassin but i does't work use my spamchk srcript but the mail server
not responce all my email is going back to the sender here the configuration of my master.cf
any one can help me with this.

then i already set the chmod 777 /usr/local/sbin/spamchk

#-----start of spamchk script
#!/bin/sh
#file: spamchk
#Purpose: SPAMASSASSIN shel-based filter
#Location: /usr/local/bin
then
$SENDMAIL xyz@xxxxxx.xxx < /var/rempfs/out.$$
else
$SENDMAIL "$@" < /var/tempfs/out.$$
fi
exit $?

#----end of spamchk script

# master.cf configuration

smtp inet - n - n - - smtpd
-o conten_filter = spamchk

spamchk unix - n n - - pipe
flaqs=Rq user=filter argv=/usr/local/bin/spamchk -f ${sender} --${recipient}



here is the error


Final-Recipient: rfc822; xxxxx@xxxxxx.xxx.xx
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Command died with status 1:
"/usr/local/bin/spamchk"


renan
Thanks in advance
Go to the top of the page
 
+Quote Post
cagey cretin
post Feb 16 2005, 06:26 PM
Post #2


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413



I don't use sendmail (cause I'm a sissy wink.gif), but I don't see the 'if' statement to match with the 'fi'...
Go to the top of the page
 
+Quote Post
renan
post Feb 17 2005, 08:52 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 15-February 05
Member No.: 4,660



I'm using a postfix not a sendmail, if you talking about mta's i use postfix and i use postfix
beacuse it's easy to configure other than sendmail

my question is if i put this two line on my postfix master.cf my email server could not send and
recieve a e-mails

some documentation say i need to alter this options to or

SENDMAIL="/usr/sbin/sendmail -i"
SENDMAIL="/usr/sbin/sendmail.postfix -i"

i got the same error

smtp inet - n - n - - smtpd
-o conten_filter = spamchk

spamchk unix - n n - - pipe
flaqs=Rq user=filter argv=/usr/local/bin/spamchk -f ${sender} --${recipient}
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 11th December 2017 - 10:18 AM