Posts: 0
Threads: 22
Joined: Jan 2025
Reputation:
0
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=<ak6783@gmail.com>, 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=<akong@aspa.idv.tw>, 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?
Restored from old drupal forum, for user uid:30183 username:akong
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Jan 2025
Reputation:
0
how did you solved ? if possible, tell and everybody can utilise.
most porbably, there is a missing directory of amavis.
Restored from old drupal forum, for user uid:30183 username:akong
You may reset your password to access your new account here.
Posts: 0
Threads: 22
Joined: Jan 2025
Reputation:
0
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.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 22
Joined: Jan 2025
Reputation:
0
Edit /etc/postfix/master.cf have more -o.
Please add space in top.
Restored from old drupal forum, for user uid:30183 username:akong
You may reset your password to access your new account here.
Posts: 0
Threads: 22
Joined: Jan 2025
Reputation:
0
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.
Restored from old drupal forum, for user uid:30183 username:akong
You may reset your password to access your new account here.