I want install amavis on EHCP 0.37.1.b but have error message.
Submitted by akong on Thu, 01/15/2015 - 03:28
I have installed amavis and see follow webpage.
https://help.ubuntu.com/community/PostfixAmavisNew
But when I use gamil sent to my mailbox.It's will got error message.
Jan 15 09:17:05 web1 postfix/qmgr[22077]: A57A2401D6C: from=, size=3158, nrcpt=1 (queue active)
Jan 15 09:17:05 web1 postfix/qmgr[22077]: warning: connect to transport private/smtp-amavis: No such file or directory
Jan 15 09:17:05 web1 postfix/error[22123]: A57A2401D6C: to=, relay=none, delay=0.47, delays=0.45/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
How to fix it?
Forums:
akong
Thu, 01/15/2015 - 10:41
Permalink
I have solve this problem.
ehcpdeveloper
Thu, 01/15/2015 - 11:17
Permalink
how did you solved ? if
how did you solved ? if possible, tell and everybody can utilise.
most porbably, there is a missing directory of amavis.
akong
Fri, 01/16/2015 - 04:01
Permalink
Please follow https://help
Please follow https://help.ubuntu.com/community/PostfixAmavisNew to install some package and startup spamassassin.
1.Edit /etc/amavis/conf.d/15-content_filter_mode
use strict;
# You can modify this file to re-enable SPAM checking through spamassassin
# and to re-enable antivirus checking.
#
# Default antivirus checking mode
# Uncomment the two lines below to enable it
#
@bypass_virus_checks_maps = (
\%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);
#
# Default SPAM checking mode
# Uncomment the two lines below to enable it
#
@bypass_spam_checks_maps = (
\%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);
1; # insure a defined return
2.Edit /etc/postfix/main.cf and add it:
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
3.Edit /etc/postfix/master.cf and add to the end:
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
4.Restart amavis and postfix,it's should be work.
akong
Fri, 01/16/2015 - 04:05
Permalink
Edit /etc/postfix/master.cf
Edit /etc/postfix/master.cf have more -o.
Please add space in top.
akong
Fri, 01/16/2015 - 04:42
Permalink
I want use sa-learn to learn
I want use sa-learn to learn spam and non-spam.It's will let spam filter to good.But I have no permission to learn /home/vmail/(domain name)/(User).It's must use sudo to run it.But sudo need password.If you setup amavis and spamassassin success.Please check it.Thanks a lot.