Plesk 12.x / Linux :: Bulk Switch On Antivirus Protection For All Mailboxes?
Mar 11, 2015
Is there a command to turn on antivirus for all mailboxes without having to enter each mailbox and update manually. I have over 800 mailboxes which need updating,
Unfortunately today the mailboxes of two domains were "gone". The mailbox was still there physically but no mails would be delivered into the mailbox, nor could the user connect to it.
The log said:
Apr 20 07:22:11 plesk dovecot_authdb_plesk[30678]: No such user 'mail@domain.com' in mail authorization database Apr 20 07:22:11 plesk dovecot: auth: Debug: master in: USER#0111#011mail@domain.com#011service=lda Apr 20 07:22:11 plesk dovecot: auth: plesk(mail@domain.com): Mail account information for user='mail@domain.com' was not found Apr 20 07:22:11 plesk dovecot: auth: Debug: userdb out: NOTFOUND#0111 Apr 20 07:22:11 plesk postfix/pipe[27105]: 7DD5F5DA02D: to=<mail@domain.com>, relay=plesk_virtual, delay=90585, delays=90585/0/0/0.03, dsn=4.2.1, status=deferred (Message can not be delivered at this tim$
The only solution that worked for me was to delete the mailbox, create it again and copy the old mails back. That problem only occured in two cases (two domains of one customer). All his other domains worked like a charm and no other customer was affected.
Two days ago we have upgrade a Plesk Panel 11.5 to 12.0.18. It have been working properly until today. Lots of mailboxes doesn't work with the error
Jun 24 13:30:12 hosting2 plesk_saslauthd[19704]: No such user 'mailbox@domain.tld' in mail authorization database Jun 24 13:30:12 hosting2 plesk_saslauthd[19704]: failed mail authenticatication attempt for user 'mailbox@domain.tld' (password len=10)
The /usr/local/psa/admin/bin/mail_auth_view show only a few mailboxes. The /usr/local/psa/admin/sbin/mchk --with-spam does´t fix the problem.
If we change the password of one of the crashed mailbox, it works until the /usr/local/psa/admin/sbin/mchk command is executed.
If we try to clear a new mailbox in one of the domains that doesn't work, we adquire the error "mailmng-outgoing failed"...
I'm having a hard time figuring why me emails are not delivered to mailboxes.
A bit of context: OS: Ubuntu 12 Plesk pannel: 11.5
This server was supposed to be a new server (upgrade) from a previous who was working correctly (Also Linux with Plesk but both older versions).
After new server installed and websited up and running, I decided to create mailboxes and then copied all mailboxes (including emails and folders) to this new server.
First issue I got was i could not connect, until I figure out permissions were incorrect (for root after copy) and fixed it to be accessible by "popuser" (each user to access his mailbox).
Now i can connect, but new emails stay on qmail and can't be delivered to mailboxes.
Even after I have deleted the emalboxes and recreate them (now new emails are being delivered) all those emails in the queue can't be delivered.
I forced queue flush with "postqueue -f" but I get errors on the log:
(temporary failure. Command output: .qmail has prog delivery but has x bit set. (#4.7.0) 4.2.1 Message can not be delivered at this time )...
Which user should i give permissions (if that is the case) so tha both popuser (email user) and qmail/postfix can write on the mailboxes and deliver messages?
when trying to add several useraccounts to our mail domain using the cli, we have a problem enabling the antivirus. We add user with the following CLI command, the antivirus flag is set. /usr/local/psa/bin/mail --create mail@mail.box -mailbox true -antivirus inout -passwd yourpassword -cp-access true
But when we got to the web interface and select the newly created user, the antivirus is still disabled for him and has to be enabled manually. Is this a known problem? Or is there any other way to automatically enable antivirus than using the "-antivirus" flag? Because we 're talking about more than 100 users it would take a lot of time enabling the AV manually for each of them.We 're running 12.0.18 Update Nr. 29
The premium antivirus when enabled it automatically sends notifications to both sender and server admin. I wish to disable the the notification to the sender and also only send a summary email weekly to the admin.
So I set up a Cloud VM to host a number of websites and as a precaution I enabled the Parallels Antivirus.... wow. The server memory usage has shot up from 55% to 108% when it is turned on.
This is bonkers - how can I reduce the memory back to a safer % while keeping the AV turned on? Are there other services that are non essential that I can turn off without effecting performance?
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:
After I've upgraded Plesk 1.0.18 to latest version, I'm unable to set protection on directories. Plesk say it is set, but it is not. I can access protected directory without pop-up of login-details. Old protected directories work, but for new one added not working anymore. I also tried by conventional way adding .htaccess and .htpasswd files to the directory, but it does not apply either.
I have 5 Linux Plesk 12 servers, and I use Spamassassin, usually at a sensitivity of 2 or 3, I also use the following DNS
Blackhole lists: zen. spamhaus. org;b. barracudacentral.org;abuse.rfc-ignorant.org;cbl.abuseat.org;bl.spamcop.net;nomail.rhsbl.sorbs.net
But all of this seems to have minimal effect. I examine spam that comes through which looks very obviously like spam, but Spamassassin gives it a very low score, usually in the negative numbers.
Is SA just not as effective as I thought? Seems like if Gmail, etc can filter spam so effectively, then why can't SA? If there's something I'm not doing right, or what you all do to combat spam with Plesk 12.
I have some error when the new outgoing spam protection (limitation for outgoing mail) is enabled. Mail clients are unable to use SMTP for sending mails. "My mail client says: The message could not be sent. You are not allowed to use sendmail utility."
I don't undestand the blocking behaviour since the checkbox "Allow scripts and users to use Sendmail" is checked and no limit is exeeded.This is the relevant log part of maillog:
Code:
Jul 3 00:44:36 srv01 postfix/smtpd[3326]: C0E5182A20: client=46.128.x.x.dynamic.cablesurf.de[46.128.x.x], sasl_method=CRAM-MD5, sasl_username=info@domain.de Jul 3 00:44:36 srv01 postfix/cleanup[3331]: C0E5182A20: message-id=<0A380CA8-AAE3-4FA8-BA7A-A3FDF7CD16E2@domain.de> Jul 3 00:44:37 srv01 /usr/lib/plesk-9.0/psa-pc-remote[3280]: handlers_stderr: DATA REPLY:554:[B]5.7.0 The message could not be sent. You are not allowed to use sendmail utility.[/B] REJECT Jul 3 00:44:37 srv01 /usr/lib/plesk-9.0/psa-pc-remote[3280]: REJECT during call 'limit-out' handler Jul 3 00:44:37 srv01 postfix/cleanup[3331]: C0E5182A20: milter-reject: END-OF-MESSAGE from 46.128.213.43.dynamic.cablesurf.de[46.128.x.x]: 5.7.0 The message could not be sent. You are not allowed to use sendmail utility.; from=<info@domain.de> to=<mail@domain2.de> proto=ESMTP helo=<[192.168.1.20]> Jul 3 00:44:37 srv01 postfix/smtpd[3326]: disconnect from 46.128.x.x.dynamic.cablesurf.de[46.128.x.x]
Moreover I disabled the line "non_smtpd_milters" in postfix main.conf since my server has same issues discribed in the following thread: Postfix: mails sent through sendmail binary are blocked because of wrong HELO
Just in the process of upgrading to new box Plesk 12 (Ubuntu 14.04LTS). ON the previous (plesk 10) I was able to disable ftp services by editing /etc/xinetd.d/ftp_psa - this doesn't seem to be an option now. How to do this on plesk 12?
I am unable to switch from qmail to postfix via the control panel. It opens a new window that just hangs and never loads. While waiting for it to load, I see these 2 processes running..
But after waiting 20 minutes, the browser never loaded and the two proceses remain. So I killed both processes and removed /tmp/psa-installer.lock and started again. The same thing happened.
Is there a way to fix this? If not, is there an easy way to switch MTAs from the command line?
I can't switch a subscription to another service plan, my conf is very simple.I have on reseller account with service pack "Default Reseller".This reseller account contains 1 client with custom subscription.
When I want to switch the pack to another service plan, I have only one choice : "No change" so I cannot.I have 4 service plan so I don't know how to solve this problem.
Can anyone recommend a linux antivirus? I know such a thing isn't widely used however we'd like a way to scan attachments uploaded on a vbulletin forum to be scanned so other users don't get infected.
I've been getting so many warnings from my data center that there are active viruses on my server. These viruses get uploaded when user uploads data using FTP.
I am looking for a good / cost effective antivirus for server which should check all files as well as emails and remove virus from server.
I need to create more than a 1000 domains and i'm hoping to do this using an automated process. I can create them individually through the command line interface on our windows server but this will take a lot of time and effort.
Is there a way to use traffic shaping in Linux? Like limit traffic to certain port, set priorities etc. Like ex: I'd want to set FTP to use max of 1mbps, http max of 80mbps, and set total to 90mbps.
Also is there ways to setup dos protection within linux? What I'd basically want is if it detects a dos, it either turns off the server, or does some other action that would cut it off either until I take action or for a set amount of time. Think turning off would be only solution since if I just drop packets I'd still be paying for that traffic.
Basically I want to ensure that if I get a DoS I'm not stuck paying insane bandwidth overcharges. I rather have a few days of downtime to deal with, then a few thousand dollars to pay and me having to declare bankruptcy and sell property etc...