Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
117 views

How can I mitigate a flood of inbound emails that look legitimate to filters?

I have a mail server - postfix, amavis, dovecot. Currently one of my inboxes is being flooded with random email from all over the globe. It's like someone signed me up to 10,000 newsletters all at ...
Nick Wiltshire's user avatar
0 votes
0 answers
47 views

Postfix / Courier / Amavis - Move spam to junk folder

Running Postfix / Courier / Amavis / Spamassassin on my Debian 12 server. Using this setup for quite some time now. Everything is configured and works well (DMARC, DKIM SPF, MTA-STS etc.). Incoming ...
andy's user avatar
  • 101
0 votes
0 answers
46 views

How to integrate a python script with amavis or spamassasin?

I have an MTA setup with postfix acting as MTA and Amavis acting as content filter; Amavis is configured for using SpamAssassin and Clamav. I have written a Python script that basically analyses an ...
SUNITA GUPTA's user avatar
0 votes
0 answers
226 views

Moving Spam to Spam folder ( postfix-courier imap, spamassassin)

I've a mail server that supports virtual-users on mysql with ( courier-imap , postfix , spamassassin, amavis) For every new user my server creats dirs like (inbox, drafts, sent, trash) In /home/...
Mailserveradmin's user avatar
1 vote
0 answers
381 views

Most Incoming Emails are not being processed by SpamAssassin

Incoming emails are mostly unchecked by SpamAssassin, although we can see in the headers that they were checked with Amavisd-new for viruses. We've tried many things to fix it, including asking ...
Peter White's user avatar
1 vote
0 answers
211 views

What are my server-side options for scanning email attachments for words and phrases?

I currently run an email system with Postfix/Dovecot and I am looking for a way to scan the contents of attachments (mainly doc(x) and pdf) for certain words and bounce the email back to the user with ...
Mark's user avatar
  • 11
1 vote
1 answer
403 views

How to whitelist our own outgoing emails from being blocked in amavis/spamassassin using Spamhaus' block lists?

Just after we implemented spam filtering on our Postfix server using spamassassin-dqs through amavisd-new we drastically reduced received spam, but to our surprise our own outgoing e-mails are being ...
Claudio's user avatar
  • 179
0 votes
1 answer
89 views

Spamassassin ignores spam in multi-part email

Sometimes my email server gets multi-part emails where the embedded email is detected as spam, but the containing email gets a score of 0. So the message is marked as SPAM but not moved to the ...
Chris's user avatar
  • 1
2 votes
1 answer
608 views

spamhaus sbl error 3.64.1.98 — blocked using sbl.spamhaus.org; Error: open resolver

For I don't know how long — maybe a decade — I've had the following in my postfix configuration: smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes....
philolegein's user avatar
0 votes
0 answers
726 views

Amavis Configuration on Ubuntu 20.04 / Port 10025 already in use

i try to configure amavis on my ubuntu 20.04 with working postfix and kopano. Postfix crashes with the following error: Jan 10 11:23:52 mail postfix/postfix-script[143585]: fatal: cannot execute /usr/...
nils50122's user avatar
1 vote
1 answer
1k views

Postfix not accepting recipient address: connect to private/policy: Connection refused

I thought I'd be clever and add amavis/spamassassin/clamav to my working Postfix installation. I got it working and then made a change. Walked away, had a beer, then found out I'd mucked up. This is ...
Mike M's user avatar
  • 13
0 votes
1 answer
2k views

Amavis and Spamassassin error with '.pre' files (using iRedMail)

I installed iRedMail which would install amavis and spamassassin. When I test sending and receiving email, I have an error in the /var/log/mail.log, I see this line of error: postfix/amavis/smtp[...
Mahsa's user avatar
  • 111
3 votes
1 answer
398 views

Posftwd is double counting emails when used with Posftix and amavis

Our Postfix mail server uses Amavis with spam assassin for spam and virus scanning. We have it setup in a way , postfix forwards mail to amavis and amavis then re queue the email back to postfix to ...
Sreehari Nair's user avatar
0 votes
1 answer
778 views

Postfix: How to malware & spam scan outgoing SMTP SASL auth users?

Although I have found two answers to this, I can't work out how to actually implement them, and at least one of them doesn't actually answer the question. So if anyone has any experience to share I'd ...
TommyPeanuts's user avatar
-1 votes
1 answer
732 views

Postfix removes "friendly" Email

I'm running Postfix, Dovecot and Amavis on Debian. Somehow an email from a colleague wasn't delivered and I started to search the logs. Here is what I've found. I don't know where the problem is. My ...
Marcel's user avatar
  • 1
0 votes
1 answer
362 views

Postfix checks the message in Amavis even for non-existent mailboxes

Here is my problem: My email address is for example [email protected]. Everything is ok when Postfix receives email for address [email protected]. But spammers often use random mailboxes, for ...
user avatar
2 votes
1 answer
2k views

Amavis adding SPAM marker in Subject, but mail is not spam

I have a Debian 10 server with posfix, amavis and spamassassin. Another server managed by me sends every day a mail containing no content and only a gif as attachment. I have whitelisted the from ...
chmike's user avatar
  • 448
1 vote
1 answer
443 views

Notifications from Amavis don't have addresses mapped by Postfix

After Amavis sends a message to $spam_admin, how do I get Postfix to apply the address rewriting in virtual_alias_maps before handing the message off to my local delivery agent? I've had Amavis + ...
Neil Smith's user avatar
0 votes
0 answers
682 views

SpamAssassin doesn't flag any e-mails; no spam headers in e-mail

We use Amavis between Postfix and Spamassassin. Emails that contain GTUBE pass clean through Amavis even though they should be marked with their corresponding headers. Sep 24 20:11:09 mail amavis[955]:...
UnlegitApple's user avatar
4 votes
1 answer
6k views

How to find a reason why a email is marked 3.5 BAYES_99 BODY

I am trying to find out why my messages getting marked in http://isnotspam.com with a 3.5 BAYES_99 BODY score. It is nice that the report shows "SpamAssassin Check : ham (non-spam)" However, ...
Thom's user avatar
  • 41
3 votes
1 answer
6k views

OpenDKIM won't start: "opendkim: milter socket must be specified"

I'm trying to setup a server using postfix, dovecot, amavis and opendkim for signing. OpenDKIM won't start, here is the output of journalctl -xe, after stopping and starting opendkim: Jul 21 21:54:17 ...
UnlegitApple's user avatar
2 votes
0 answers
419 views

E-mail body changed after DKIM signing

I've got a postfix e-mail server which uses amavisd-new for virus scanning, spam checking, DKIM checking and DKIM signing. I'm having issues with the DKIM signing in particular. Amavisd-new signs the ...
Yuusou's user avatar
  • 21
1 vote
0 answers
288 views

Mail going missing with Spamassassin, Postfix and Dovecot

I am setting up a new Centos8 server with Spamassassin, Postfix and Dovecot, ClamAV and Amavis. All was going well until I added a third domain, the first two worked fine for receiving and sending e-...
Imag1ne's user avatar
  • 235
0 votes
0 answers
66 views

Enable spamassassin only for certain domains

I have a postfix/dovecot/spamassassin mail server with virtual users on mysql. The server have more than one domain. I need a way to leave disabled spammassassin by default and enable it only for ...
David's user avatar
  • 101
3 votes
1 answer
1k views

Postfix does not pass mails to Amavis, when received from Z-push

Im kind of staring myself blind in how get ActiveSync to work correctly with my mailserver, so maybe anybody here have an idea? The deal is mailserver is hosting four domains and I want that all sent ...
Lasse Michael Mølgaard's user avatar
0 votes
1 answer
1k views

How to cut-off spam (postfix+amavis-new)

I'm using postfix+dovecot+amavis-new+clamav+spamassassin+postgrey on my Ubuntu based VPS. Since some days i'm receiving a lot of spam, with a low level of spam score in headers. Common for all spam ...
msc3's user avatar
  • 1
0 votes
1 answer
164 views

Postfix (Maia Mailguard) relayhost update ignored

I have a postfix mail server used in conjunction with Maia Mailguard, Amavis, and clamav for spam. I've upgraded the primary mail server and it has a new IP address. I change main.cf and transport to ...
W.Jackson's user avatar
  • 113
0 votes
1 answer
397 views

Postfix/Amavis : send group messages separately and do not fail if one recipient fails

Background: We have a online shop which is using a SMTP server to send messages. When a customer place an order, the system sends the confirmation to the customer's address (A), and a copy to other ...
lepe's user avatar
  • 469
0 votes
2 answers
2k views

clamd socket error in conjunction with amavisd (used for postfix) on CentOS 7

I can't seem to figure out a problem after a few hours of trouble-shooting and looking for similar cases. Like ohter email servers in the exact same configuration, the affected one is based on CentOS ...
cora's user avatar
  • 192
0 votes
1 answer
3k views

Amavis : Can't connect to socket 127.0.0.1:* using module IO::Socket::IP: Connection refused

Trying to debug mail server, now I get this error which I feel should be the cause of the server not working : Mar 17 15:06:24 ks4000003 amavis[2001]: (02001-01) (!)connect to 127.0.0.1:* failed, ...
guylabbe.ca's user avatar
0 votes
0 answers
802 views

Postfix defers mails - Amavis not running on port 10024

I recently upgraded from Debian Squeeze (6) to Jessie (8) and the mail server seems to be broken. I did not change anything in the Postfix config and everything was working fine before. From what I ...
guylabbe.ca's user avatar
0 votes
0 answers
1k views

Amavis decide_mail_destiny crash

After upgrading to FreeBSD 12 I'm experiencing issues with amavis from time to time. The reason for the crash in unclear for now. A simple kill -9 $amavispid && service amavids start does ...
Daywalker's user avatar
  • 495
0 votes
1 answer
140 views

How to interpret the debug output from Amavis->Spamassassin?

Could please someone explain how Spamassassin build the following strings: Oct 17 14:00:30 server amavis[29497]: (29497-02) SA dbg: uridnsbl: domain amazonaws.com in skip list, host sns.eu-central-1....
kbu's user avatar
  • 255
2 votes
2 answers
3k views

Postfix - Rspamd + amavis

Currently I have Postfix with Amavis, Spamassassin, Clamav and all the bells and whistles up and running. I would like to add RSpamd to the configuration, I don't want to replace Amavis, just keep ...
InToSSH's user avatar
  • 45
0 votes
1 answer
453 views

Postfix/Amavis not filtering spam for entries in second domain

My postfix installation is working correctly (delivery via dovecot, spam filtering via amavis - spamassasin). I have some aliases in virtual, eg: [email protected] johnDoe However, for the ...
mmalmeida's user avatar
  • 155
2 votes
0 answers
264 views

Email messages arrives without DKIM, and as spam, when I send from a specific network

In a specific case, when I send an e-mail message through thunderbird, the message arrives without the DKIM key and identified as spam at the source: X-Virus-Scanned: amavisd-new at mailserver....
Diogo Braga's user avatar
0 votes
1 answer
255 views

Unable to connect postfix to amavisd in FreeBSD-11 jail

Attempting to send a message through Postfix on a jailed instance of FreeBSD-11 results in the following error when amavisd is configured: /usr/local/sbin/amavisd[47180]: (!)DENIED ACCESS from IP 127....
James B. Byrne's user avatar
0 votes
0 answers
496 views

Spam from my Debian Stretch server - postfix

I have a huge problem with my Debian Stretch installation. Out of the blue one client email address started sending a huge amounts o spam. My server uses standard configuration. I installed it with ...
Get Schwifty's user avatar
1 vote
0 answers
2k views

postfix erro: mail transport unavailable

I install postfix, dovecot, Amavisd, Spamassassin and clamav on FreeBSD 11. I can not receive mail and the log is: Sep 19 16:00:16 t7 postfix/smtpd[1309]: connect from t7.example.com[192.x.x.x] Sep ...
Ichiro's user avatar
  • 11
5 votes
1 answer
7k views

What to do with SpamAssassin after installing Amavis?

As far as I know, Amavis has SpamAssassin on his own (I think Perl Mail::SpamAssassin). Before installing Amavis, I was using SpamAssassin binary and daemon (spamc and spamd) plugged into MTA (...
Miloš Đakonović's user avatar
1 vote
0 answers
168 views

sweep command running in postfix mail server

I have installed postfix with amavis on Redhat. Also, I have configured AV scanner as well in amavis to counter mail viruses. Whenever I see top command result, I find a lot of instances of sweep ...
MarvelT's user avatar
  • 11
1 vote
1 answer
369 views

route all spam to a specific account with amavisd-new and SpamAssassin

I've just set up an MTA using postfix, amavisd-new and SpamAssassin (and ClamAV but not relevant for this question). This MTA sits in front of our mail server and handles scanning of mail for spam and ...
grahamrb's user avatar
  • 186
1 vote
0 answers
415 views

Outgoing mail runs into a series of spamd errors

I've got a mail setup using postfix and dovecot, with spamassassin, clamav and amavis. Incoming mail contains the correct X-Spam* headers and everything appears to be operating more or less correct, ...
Nick Jennings's user avatar
0 votes
2 answers
3k views

Postfix with Amavis returns "name=localhost type=A: Host not found" in mail.log

Full error: Dec 23 19:44:31 example.com postfix/pickup[5589]: 39332276875: uid=0 from=<fredflinstone> Dec 23 19:44:31 example.com postfix/cleanup[5605]: 39332276875: message-id=<...
ajmcello's user avatar
0 votes
1 answer
847 views

AMaViS Quarantine Emails Bouncing

I'm at my wits end here. I've set up AMaViS and ClamAV and linked them in to Postfix. Everything seems to be working fine. Except the quarantine emails are not being delivered and I can't work out why....
Sera H's user avatar
  • 115
-1 votes
1 answer
368 views

spamassassin + amavisd not filtering

My problem is: my spamassassin look like not working at all, no X_SPAM header adding for email, GTUBE test failed, i dont know exactly , but seem's like it's broken after installing spamassassin ...
unixman's user avatar
2 votes
2 answers
4k views

Postfix before-queue spam reject with amavis without sending out a bounce on OS X Server

This is a stock OS X 5.2 Server mail configuration which I'm trying to change to make it reject a spam message with a "554 5.7.0 Reject" before accepting it without sending out any additional non-...
Захар Joe's user avatar
6 votes
5 answers
18k views

clamav error: mpool_malloc(): Attempt to allocate 8388608 bytes

Following error is showed when starting clamd; freshclam[26882]: [LibClamAV] mpool_malloc():Attempt to allocate 8388608 bytes. Please report to http://bugs.clamav.net I have lots of RAM memory ...
george long's user avatar
1 vote
1 answer
11k views

Postfix/Amavis 451 4.3.0 : Temporary lookup failure

I am trying to set up a postfix server to prevent spam/malware. The server should reject incoming mail, that is suspicious, otherwise send it on to the actual mailservers which are listed in ...
unlulau's user avatar
  • 15
0 votes
1 answer
221 views

Mail server - Amavis with 7zip

After 1,5 year with working mail server on Ubuntu 14.04 I've experienced strange amavis logs listed below: http://pastebin.com/RwbNw78f Mail server is: Postfix + Dovecot + MySQL + Amavis + ClamAV + ...
Curl User's user avatar