Plesk 11.x / Linux :: Spamassassin For Relay Mails?
Oct 1, 2013
We are using Plesk 11.5 with postfix MTA. Spamassassin is working fine for incoming mails and leaves outbound mails unchecked - as it should.
Now there is one of my domains whose mails are relayed to another server (using postfix transport tab; mail support for this domain is disabled in plesk). For the moment, these mails arrive without beeing checked and marked by spamassassin. How could I change this? I have tried to register an additional mail-handler like
Code:
/usr/local/psa/admin/sbin/mail_handlers_control --add --priority=10 --executable=/usr/local/psa/handlers/hooks/spam --name=spam --enabled --queue=before-remote --mailname=relaydomain.de --type=recipient-domain --dont-preserve-on-restore --context=text
but this didn't have any effect so far.
If there is a direct way to enable spam-control for relay domains, Otherwise I could still access spamassassin via postfix' config-files, but how to use two different implementation of spamassassin at the same time.
View 4 Replies
ADVERTISEMENT
Oct 21, 2014
I have a problem with Parallels Plesk 12 Web Host Edition. In the dashboard, Plesk tells me that Spamassassin service is not running and not installed.
How to setting up it ? Is there a component, a service to buy, or do i have to configure it through SSH ?
View 1 Replies
View Related
Sep 19, 2014
The SpamAssassin bayes database has become ineffective on one of our servers and we want to wipe it and start fresh - how to do this on Plesk 11.5.30?
View 1 Replies
View Related
Jul 8, 2014
What steps can we take to improve SpamAssassin performance? I know this was talked about in older Plesk versions, but we may be able to do more now. What configurations can I do to stop more spam?
View 1 Replies
View Related
Jun 15, 2015
It seems that SA is not using bayes on the incoming messages. How to get bayes to work?
I have trained with plenty of ham and spam. Where are the db files for global bayes located?
View 5 Replies
View Related
May 18, 2014
I am running Plesk 11.5.30 Update #44, Postfix 2.8.14 and Spamassassin 3.3.1 on a Red Hat Enterprise Linux Server 6.5 server. I am looking to update the rules within Spamassassin. I have had a bit of a look and see that a crontab has been created but its a bash script with a comment saying it has been disabled by psa-spamassassin package (/etc/cron.d/sa-update).
Code:
#!/bin/sh
# This task was disabled by psa-spamassassin package
exit 0
Is there a reason why it has been disabled by Plesk? If I update the rules, will it break something?
I have recently added into Postfix RBLs to reduce the amount of SPAM my customers is getting and this is my next step in a list of things that I would like to change.
View 1 Replies
View Related
May 23, 2015
I noticed that my spamassassin wasn't running on my server. so I restarted the service from the plesk panel but got the following message:
Error: Unable to make action: Unable to manage service by spammng: spamassassin: unrecognized service
ERROR:spammng:Unable to start SpamAssassin service
('--start', 'spamassassin')
So I SSH'ed into my machine and saw that spamassassin wasn't running.
The I reinstalled spamassassin from the "add and remove product components", but that didn't change anything. Still the same error.
View 18 Replies
View Related
Mar 2, 2015
Installing Plesk Panel with Spamassassin on Ubuntu 14.04 LTS gives a significant error:
Restarting SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none killed.
server socket setup failed, retry 1: spamd: could not create IO::Socket::INET6 socket on [::1]:783: Cannot assign requested address
server socket setup failed, retry 2: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 9: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Address already in use
spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Address already in use
invoke-rc.d: initscript spamassassin, action "restart" failed.
dpkg: error processing package sa-compile (--configure):
even though spamassassin (i.e. spamd) is not running. The usual suspects for the before mentioned error, being
a) differences in the name of the PIDFILE variable in /etc/default/spamassassin and /etc/init.d/spamassassin
b) directory and/or file location are not readable/writable
are not causing this specific installation bug. The work-arounds:
1 - not installing spamassassin (not an option)
2 - installing spamassassin and (afterwards)
change /etc/default/spamassassin, add the option "-4" to the line OPTIONS, resulting in the line: OPTIONS="--nouser-config -4 --username=popuser --daemonize --helper-home-dir=/var/qmail --virtual-config-dir=/var/qmail/mailnames/%d/%l/.spamassassin --create-prefs --max-children=5"
run plesk-installer or autoinstaller again ..Work-around 2 works fine, after reinstallation the /etc/default/spamassassin is as it should be (note that the added "-4" is not present anymore).
The before mentioned work-around suggests some error in the installation process, very likely to be an issue with the chronological order of installation of the various components. In theory, it can be excluded that this bug/issue is caused by psa-spamassassin and/or spamassassin (version 3.3.x) packages, even though some current spamassassin bugs are known: URL....I sincerely hope that Parallels Team can investigate and patch both of the bugs/issues.
View 3 Replies
View Related
May 24, 2015
I just migrated a bunch of domains from plesk 11.5. Everything appears to be working well however when examining the maillog, I am seeing some strange errors... In this example, the message was delivered and had the spamassassin stuff in the header.
spamd: handle_user unable to find user: 'jason@xxxxxxp.com'
View 4 Replies
View Related
Jun 5, 2014
I have one specific domain being to another SMTP server via Postfix transport_maps.
This works great, apart from Spam check not working anymore, Spamassassin is not being called for the domain.
Is there any configuration to have Spamassassin check email before it is routed via transport_maps?
View 3 Replies
View Related
Jun 12, 2014
i have number of plesk server, one of them works with all of the world mail services, many company! sometimes thay don't receive mails from others! and sometimes customers send undelivered mail reasons to us: like this:
Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recipient domain iasco.ir by mail.iasco.ir. [144.76.245.37].
The error that the other server returned was: 550 5.7.1 Command rejectedClick to expand...
View 1 Replies
View Related
Jun 19, 2014
When I set up spamassassin to store spam in the spam folder of my mailbox, it doesn't add any X-Sapm headers nor tags the subject. All I found so far was an old thread where a plesk employee stated that it will be fixed in 'a' future version.
I am on 11.5.30 Update #47.
View 3 Replies
View Related
Jun 12, 2014
The Plesk panel indicates that the Spam folder can be retrieved using an email client. We are using Outlook 2013 and can not figure out a way to make this happen. We can see the Spam folder using Webmail, but the contents never shows up in Outlook...
View 1 Replies
View Related
Sep 30, 2014
I'm suffer 2 major problem as below :
1.
how to turn off spamassassin completely ?
I've already stop the spamassassin service on Services Management but it's only valid one day. The next day, spam assassin service automatically start
2.
my customer mailbox statistic wrong. Even if their mailbox not full but when they send email. The quota said that their mailbox full. So they can't send/receive email.
Our action :
Manually, use command
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f execute-statistics
View 14 Replies
View Related
Jul 14, 2014
i have one Mailbox on my server, which i cannot sending mails. I tested it with Outlook and Horde.
For Example, i see this error at the Maillog:
Code:
Jul 14 22:12:13 gaius postfix/cleanup[12194]: 2F653402A6: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 5.7.0 The message could not be sent. You are not allowed to use sendmail utility.; from=<user@server1.local> to=<user2@server.local> proto=ESMTP helo=<gaius.stefanshome.com>
I delete this Mailbox, but after a time, i have the same problem again. On the Plesk Webinterface there is no problem logging with the outgoing spam protection.
View 2 Replies
View Related
Mar 13, 2015
My postfix is sending huge amounts of e-mail that I was forced to stop postfix.
Even if I set relaying to closed, disable message submission and disable sendmail spam is still being send..
Outgoing mail control reports nothing at all, and if I check my server with online tools to be sure it is not relaying everything is reported fine.
View 3 Replies
View Related
Jun 17, 2014
When I create Mailbox for customer, spamassassin have status (default):
HTML:
Status false
The score that a message must
receive to qualify as spam
What to do with spam mail move
Add the following text to the true
beginning of subject of each
message recognized as spam
Modify spam mail subject text ***SPAM***
Black list
================================
Server-wide black list:
User's black list:
White list
================================
Server-wide white list:
User's white list:
But i want it:
HTML:
Status false
The score that a message must 7
receive to qualify as spam
What to do with spam mail text
Add the following text to the true
beginning of subject of each
message recognized as spam
Modify spam mail subject text ***SPAM***
Black list
================================
Server-wide black list:
User's black list:
White list
================================
Server-wide white list:
User's white list:
Not Move, it only text at "What to do with spam mail text"
How i can do it ?
View 6 Replies
View Related
Apr 22, 2015
I have a PPP12.0 hosted on ubuntu 12.04, and several websites and domains, mail service active using postfix.
Lets take for example two domains :
www.domainA.com
www.domainB.com
DomainA uses postfix
DomainB uses an external mail service , MX records are duly entered in the DNS zone of DomainB
If i send a mail from an adress of DomainA, lets say contact@domainA.com to any email of domainB lets say info@domainB.com, the server does not take into account the MX records, and i receive an answer from the server : 550 5.1.1 <info@domainB.com>: Recipient address rejected: User unknown in virtual alias table
But, if i send an email using any other external mail service (gmail, hotmail...), the mail is correctly forwarded to the mail server entered in the MX record of domainB.
View 2 Replies
View Related
Jul 21, 2015
we have Plesk Version 11.0.9 and I have the following Problem:
(all adresses are examples)
The Server hostet the following Domains and thay all send Mails too:
a.de
b.de
Now I need the following:
If the user "some.user@b.de" send a E-Mail to "user@mydomain.de" the recipient of the Mail have to be changed to "user@mx.mydomain.de". But if "some.user@a.de" do the same, the recipient should not be changed.
View 1 Replies
View Related
Apr 30, 2015
I have a dedicated server with Linux. I have the following problem. Someone has hack my server and is sending illegal newsletters. My hosting sent me an abuse message and in the mailserver logfiles i see that is sending all the time.
View 2 Replies
View Related
Dec 10, 2014
I'm currently expecting some major mail problems on my server. All received mails are removed on arrival. Here's a bit out of my /var/log/maillog:
Code:
Dec 10 14:00:31 scheer postfix/smtpd[421]: connect from smarthost.drukwerkdeal.nl[195.60.212.152]
Dec 10 14:00:31 scheer postfix/smtpd[421]: 2AE9420C84: client=smarthost.drukwerkdeal.nl[195.60.212.152]
Dec 10 14:00:31 scheer greylisting filter[431]: Starting greylisting filter...
Dec 10 14:00:31 scheer greylisting filter[431]: Timeout finished
[Code] .....
I disabled SPF spam protection, as stated in this topic: [URL] .....
View 2 Replies
View Related
Apr 8, 2015
I have Plesk 12 on CentOS 7. I have only MSMTP installed not Postfix or Qmail. No matter what settings I use in the external SMTP settings the mail is never sent and I cannot find any error logs.
I have tried gmail smtp, sendgrid smtp and another smtp server that I own.
This is not a firewall issue as far as I can tell since if I install postfix it just works. Also any Wordpress or Joomla installs that use SMTP settings with gmail or sendgrid work just fine.
Screenshot for information only. I used accurate usernames, passwords, etc.
↑
Quick update. I tried the recommended CentOS 7 with the same result. Can installing Plesk 12 without a mail server and using the msmtp relay option actually works?Click to expand...
View 12 Replies
View Related
Dec 1, 2014
My hosting provider recently (and without any warning) decided to block outgoing connections to port 25. What this means is for any client/domain/email address that has a forwarder setup, the mail will never reach its destination because the connection to the other server always times out. The error logs look like this:
postfix/smtp[8414]: connect to ASPMX2.GOOGLEMAIL.COM[74.125.131.26]:25: Connection timed out
postfix/smtp[8421]: connect to aspmx2.googlemail.com[74.125.131.26]:25: Connection timed out
postfix/smtp[8425]: connect to aspmx3.googlemail.com[64.233.186.26]:25: Connection timed out
postfix/smtp[8423]: connect to aspmx4.googlemail.com[64.233.166.26]:25: Connection timed out
I haven't been able to find a way to force relay to 465. Or maybe I shouldn't have relay on at all and do this another way?
View 1 Replies
View Related
Jun 5, 2014
I use whmcs to bill my cusotmers. when a account is created, plesk sends mail from admin email and name to customer as below,
A new domain name has been created.
Domain name: xxx.xxx
Domain name owner: xxxx xxxxx
IP address associated with the domain name: xxx.xxx.xxx.xxx
How can I disable it ? it ends up in spam and I just don't want customers to receive it.
View 3 Replies
View Related
Jun 20, 2014
We were using the mailserver on our linux install, but have since changed over to an ms exchange server. With that I removed the mailserver and installed MSMTP relay only mailserver (SMTP client) option.
I configured the External SMTP Server settings under Tools & Settings / Mail with a valid email address password host name and port of 587. When I save it says settings saved.
Since doing this I have been unable to use the email link option for share files in the file share portion of my domain. When I try to select a user from the list to send the email to or even type an external email all I get is the error "Unable to send email".
When I checked the maillog file in /usr/local/psa/var/log, I get this error "Jun 20 15:42:59 u16271698 msmtp: host=smtp.1and1.com tls=off auth=on user=to@email.ca from=psaadm recipients=to@email.ca errormsg='cannot use a secure authentication method' exitcode=EX_UNAVAILABLE"
Where I have proper emails configured where I placed "to@email.ca"
How can I get this working with the MSMTP relay only mailserver (SMTP client) option installed?
View 5 Replies
View Related
Nov 4, 2014
Is there any possibility to change the Frequency of the Wordpress Update Notification Mails?
It's very annoying for our Customers to get those Mails every day ... Once a week would be more than enough ...
View 4 Replies
View Related
Nov 20, 2014
I run a server and have ONLY problems if i am sending mails to domains hosted by google ...
OSUbuntu 12.04.5 LTS
Plesk version12.0.18 Update #24, last updated at Nov 20, 2014 06:32 AM
Here a little bit about my configuration:
a) I have set a Reverse DNS (xyz.mydomain1.com) - My hostname!
b) i run 4 domains on this server (mydomain1, mydomain2, mydomain3, mydomain4)
c) my DNS settings are made by myself in my Domain Provider account
d) i also set SPF records and i use Domain Keys
Everything works like a charm but following now the outputs with my problems:
Here is my postconf -n output:
Code:
root@shamu:/etc/postfix# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
append_dot_mydomain = no
[Code] ....
Now I sending a email from my domain2.tld and google rejects this email ...
View 11 Replies
View Related
Jul 4, 2015
I use for my client the webmail Roundcube.. How to I set for Auto Deleting The Mails From Trash Folder and Junk with mail server Dovecot after 30 days?
View 2 Replies
View Related
Jun 23, 2014
My server is using Centos 6.5... I updated from Plesk 11.5 to 12 last week and postfix to 2.8.17.
Since then, all mails sent using the sendmail binary (notifications, mail forwards...) are being rejected with a wrong HELO hostname: localhost.
It seems that sendmail is using locahost as a HELO tag which is not accepted. Here is the following error:
Code:
Jun 23 14:23:20 ns395167 plesk sendmail[29817]: handlers_stderr: SKIP
Jun 23 14:23:20 ns395167 plesk sendmail[29817]: SKIP during call 'check-quota' handler
Jun 23 14:23:20 ns395167 postfix/pickup[29480]: B94BC6AA20A6: uid=0 from=<root@curuba.fr>
Jun 23 14:23:20 ns395167 postfix/cleanup[29507]: B94BC6AA20A6: message-id=<20140623122320.B94BC6AA20A6@ns395167.ip-176-31-117.eu>
[Code] .....
Here is my postconf -n content:
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
[code] .....
My system hostname seems correct:
Code:
hostname -f
ns395167.ip-176-31-117.eu
hostname
ns395167.ip-176-31-117.eu
View 19 Replies
View Related
Jul 10, 2015
After setting up a new server on Plesk12, I successfully ran some test mail outs using phpmailer using the SMTP server on this machine
However, there was an issue in creating new local mail accounts in plesk with an error message each time.
Investigating this issue led me to a solution that I should run mail_restore from the Plesk scripts
This cured the problem of setting up new local accounts but outgoing SMTP mail is always failing with 'relay access denied'.
View 1 Replies
View Related
Jun 25, 2009
I need to clean up the .spamassassin directory for all the accounts on the server. The Bayes files are getting too big and causing mail handling issues.
How would I do that?
I assume this won't work - and don't want to try it until I hear a little feedback:
rm -f /home/*/.spamassassin/*bayes*
Basically, I need a command that will do what the above command looks like it would do - I just don't think the wildcards will work in that manner, and don't want to try it for fear of deleting items outside of the .spamassassin directory.
I'm running CentOS 5.3.x with cPanel/WHM - if it matters...
And feel free to suggest other spam blocking software - but we've gotten rather good at tweaking SA to get the job done. Just this annoyance of the bayes files growing continuously is a pain sometimes...
View 7 Replies
View Related