Postfix и спамфильтр
Добавлено: 2007-10-24 14:42:42
Настраивал сервак по статье http://wiki.bsdportal.ru/doc:freebsd6_bulldozer_howto
при подключении спамфильтра возникла проблема.
master.cf
127.0.0.1:10026 inet n - n - - smtpd
-o content_filter=spamfilter
-o myhostname=mailer.urspectr.info
# -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
# -o smtpd_helo_restrictions=
# -o smtpd_client_restrictions=
# -o smtpd_sender_restrictions=
# -o smtpd_recipient_restrictions=permit_mynetworks,reject
# -o mynetworks_style=host
# -o smtpd_authorized_xforward_hosts=127.0.0.0/8
spamfilter unix - n n - 10 pipe
flags=R
user=filter argv=/usr/local/etc/postfix/scripts/filter-spam.pl localhost:10027 spamfilter ${sender} ${recipient} /usr/local/bin/spamc
localhost:10027 inet n - n - 10 smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o mynetworks=127.0.0.0/8
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o myhostname=localhost
В таком случае выдает ошибку:
"/usr/local/etc/postfix/scripts/filter-spam.pl". Command output: pipe:
fatal: pipe_command: execvp /usr/local/etc/postfix/scripts/filter-spam.pl:
Permission denied
Если же поставить
spamfilter unix - - n - 10 pipe -то выдаетfatal: service spamfilter requires privileged operation
mail postfix/master[21212]: warning: process /usr/local/libexec/postfix/pipe pid 21212 exit status 1
mail postfix/master[21212]: warning: /usr/local/libexec/postfix/pipe: bad command startup -- throttling
Млин замучался уже.. подскажите.
при подключении спамфильтра возникла проблема.
master.cf
127.0.0.1:10026 inet n - n - - smtpd
-o content_filter=spamfilter
-o myhostname=mailer.urspectr.info
# -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
# -o smtpd_helo_restrictions=
# -o smtpd_client_restrictions=
# -o smtpd_sender_restrictions=
# -o smtpd_recipient_restrictions=permit_mynetworks,reject
# -o mynetworks_style=host
# -o smtpd_authorized_xforward_hosts=127.0.0.0/8
spamfilter unix - n n - 10 pipe
flags=R
user=filter argv=/usr/local/etc/postfix/scripts/filter-spam.pl localhost:10027 spamfilter ${sender} ${recipient} /usr/local/bin/spamc
localhost:10027 inet n - n - 10 smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o mynetworks=127.0.0.0/8
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o myhostname=localhost
В таком случае выдает ошибку:
"/usr/local/etc/postfix/scripts/filter-spam.pl". Command output: pipe:
fatal: pipe_command: execvp /usr/local/etc/postfix/scripts/filter-spam.pl:
Permission denied
Если же поставить
spamfilter unix - - n - 10 pipe -то выдаетfatal: service spamfilter requires privileged operation
mail postfix/master[21212]: warning: process /usr/local/libexec/postfix/pipe pid 21212 exit status 1
mail postfix/master[21212]: warning: /usr/local/libexec/postfix/pipe: bad command startup -- throttling
Млин замучался уже.. подскажите.