On 30/10/2014 10:32, Axb wrote:
On 10/30/2014 08:55 AM, José Manuel Giner wrote:
Hello, we are a hosting provider and to prevent spammers to use our
servers as a MTA we want filter all our outgoing e-mails with
SpamAssasin.

We have some cPanel server and via smart_route option, we forward all
outgoing e-mails to a Postfix server.

In the Postfix server we have configured Spamassasin.

But incoming e-mails in the Postfix server are not filtered with the
SpamAssasin service.

How we need to check? what configuration option to filter ALL incoming
e-mails?


- How are you using SA?
(pls specify: amavis, MIMEDefang, a milter, Mailscanner, procmail,
Fuglu, etc, etc)

You need to consult the docs of whatever intreface to SpamAssassin you
have chosen and configure your system accordingly.

Once you have that sorted out maillog should show SA doing something.




The Postfix + SpamAssasin server is installed via Virtualmin. The default Virtualmin install.

I've not experience doing a full spamassasin config by hand, so, I expected the Virtualmin install can help me as in the Virtualmin config I can manage the Spamassasin filters in a very simple way.



On 30/10/2014 12:22, Benny Pedersen wrote:> On October 30, 2014 8:55:20 AM José Manuel Giner <j...@ginernet.com> wrote:
>
>> Please, check this screen for a visual understand:
>> http://prntscr.com/5171jf
>
> Its a postfix question, so post on postfix maillist to get more help
>
> Provide at least postconf -n and a log line with shows what works and
> what does not



[root@antispam ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
always_bcc = log@hostname
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_protocols = all
mail_name = GinerNet antispam mail-out filter
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mynetworks = x.x.x.x, 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated rejec t_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
[root@antispam ~]#



--
José Manuel Giner
http://ginernet.com

Reply via email to