store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Sat May 18, 2013 3:13 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 5 posts ] 
Author Message
 Post subject: SMTP is down in plesk 9.3.0
Unread postPosted: Mon Mar 08, 2010 7:25 pm 
Offline
New Forum User
New Forum User

Joined: Mon Mar 08, 2010 6:54 pm
Posts: 3
Hello,

I had a problem in mail queue after upgrading my plesk. Problem was that I had more than 10000 email sent from my IP but it wasn't from my clients. So I tried to solve it. In the parallels forum I get this solution to rebuild my mail settings:

/usr/local/psa/admin/sbin/mchk --with-spam

so I tried it and this is result:

# /usr/local/psa/admin/sbin/mchk --with-spam
==> Checking for: mail_spam_restore... ok
==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... fail
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_drweb_restore... ok
==> Checking for: mail_kav_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... fail
==> Checking for: mail_grey_restore... ok
awk: cmd. line:50: (END OF FILE)
awk: cmd. line:50: invalid char 'ÿ' in expression
unable to process "pop3d"
awk: cmd. line:50: (END OF FILE)
awk: cmd. line:50: invalid char 'ÿ' in expression
unable to process "pop3d-ssl"
awk: cmd. line:50: (END OF FILE)
awk: cmd. line:50: invalid char 'ÿ' in expression
unable to process "imapd"
awk: cmd. line:50: (END OF FILE)
awk: cmd. line:50: invalid char 'ÿ' in expression
unable to process "imapd-ssl"
Errors occured in mail restore procedure
Some utilities was exited with errors:
/usr/lib/plesk-9.0/mail_admin_aliases
/usr/lib/plesk-9.0/mail_dk_restore


after this, in the Plesk services management page, SMTP Server(Qmail) show stop and doesn't start anyway. :!:

I tried to switch to postfix and come back with KB article(http://kb.parallels.com/en/5801), but for switching with autoinstaller I get this error, too:

Downloading the file PSA_9.3.0/dist-rpm-CentOS-4.2-i386/opt/maildrivers/courier-imap-3.0.8-cos4.build93091230.07.i586.rpm: skipped because of md5 checksum match.
Downloading the file PSA_9.3.0/dist-rpm-CentOS-4.2-i386/opt/maildrivers/psa-mail-qc-driver-1.0.0-cos4.build93091230.07.i586.rpm: skipped because of md5 checksum match.
Downloading the file PSA_9.3.0/dist-rpm-CentOS-4.2-i386/opt/maildrivers/psa-qmail-1.03-cos4.build93091230.07.i586.rpm: skipped because of md5 checksum match.
Downloading the file PSA_9.3.0/dist-rpm-CentOS-4.2-i386/opt/mail/psa-qmail-rblsmtpd-0.70-cos4.build93091230.07.i586.rpm: skipped because of md5 checksum match.
Starting installation of packages
Installing the package courier-imap-3.0.8-cos4.build93091230.07.i586
package courier-imap-3.0.8-cos4.build93091230.07 is already installed
ERROR: Unable to install the requested packages because either there is
not enough free disk space left, or there are package dependency problems.
Warning! Not all packages were installed.
Please check if your system services are operable.
Please, contact product technical support.

What can be the problem? space is enough. in the wizard :

Product(s) and operating system packages will be downloaded and saved to the
directory '/root/parallels'.
Required disk space: 1.39 Mb.
Available disk space: 4070.30 Mb.

so disk space is not my problem!


SMTP(Qmail) is stop, yet! Please give me a step by step solution to solve it, ASAP. :idea:

Best Regards,
Hamed


Top
 Profile  
 
 Post subject: Re: SMTP is down in plesk 9.3.0
Unread postPosted: Mon Mar 08, 2010 7:55 pm 
Offline
New Forum User
New Forum User

Joined: Mon Mar 08, 2010 6:54 pm
Posts: 3
I checked this post http://forum.parallels.com/showthread.php?t=85529 and I find that I haven't some files in the /var/qmail/bin/

in my ls -l, I can't see:

qmail-local.plesk
qmail-queue.plesk
qmail-remote.plesk


I don't know that what' that and is it important or not?


Top
 Profile  
 
 Post subject: Re: SMTP is down in plesk 9.3.0
Unread postPosted: Mon Mar 08, 2010 8:47 pm 
Offline
New Forum User
New Forum User

Joined: Mon Mar 08, 2010 6:54 pm
Posts: 3
my last discovery:

/etc/xinetd.d/smtp_psa and smtps_psa is empty! As I know it's define the port and protocol of smtp service! Isn't it?


Top
 Profile  
 
 Post subject: Re: SMTP is down in plesk 9.3.0
Unread postPosted: Thu Mar 18, 2010 8:45 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Dec 06, 2004 10:43 pm
Posts: 449
Here are the contents of my smtp_psa and smtps_psa, you should be able to just copy and paste:
Quote:
[root@gz xinetd.d]# more smtp_psa
service smtp
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
env = POPAUTH=1 SHORTNAMES=1
server = /var/qmail/bin/tcp-env
server_args = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/
smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}


Quote:
[root@gz xinetd.d]# more smtps_psa
service smtps
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
env = POPAUTH=1 SHORTNAMES=1
server = /var/qmail/bin/tcp-env
server_args = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/
smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

_________________
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net


Top
 Profile  
 
 Post subject: Re: SMTP is down in plesk 9.3.0
Unread postPosted: Thu Mar 18, 2010 6:19 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
I'd go with SMTP auth instead of POP auth and not allowing short names (allowing them when you don't need to causes headaches):

Code:
env             = SMTPAUTH=1


But you can configure that through Plesk again afterwards.

Also: backups.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 5 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group