Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: jonathanf@farplants.co.uk on April 28, 2010, 11:01:33 AM
-
I have inherited a SME Server installation so please forgive my Linux/Unix skill level, I have looked around the forum and tried a few suggestions from previous posts, but Im getting nowhere fast.
Background
The server is SME Server 7.4 and has been running for 3 years with no real issues.
All clients are windows XP and collect thier email via PO3 from the server
Issue
For about 2 weeks (lets say the 16th as I think its related to the ClamAV issue) they have not been recieving emails i.e. they are not appering in outlook or in the webmail.
The email host has confirmed that emails are being relayed to the server, i.e. they are being delivered sucessfully.
I have tested this by sending an email out of hours and running qmail-qstat and I can see the message being proccessed.
Steps taken already
I have done the following
* Run all the updates on Yum and rebooted the server
* Restarted the qmail service
* topped the qmail service, restarted clamAV and the started qmail.
* Done a reintstall of qmail from the rpm on the server -ivh --force etc
* Disabled virus scanning on emails.
Information
Clam AV appears to be correct and running 0.96
[root@server freshclam]# yum list | grep clam
clamav.i386 0.96-1.el4.rf installed
clamav-db.i386 0.96-1.el4.rf installed
clamd.i386 0.96-1.el4.rf installed
smeserver-clamav.noarch 2.0.0-8.el4.sme installed
A sucessfull delivery before the issue.
2010-03-19 12:24:41.895463500 new msg 10640291
2010-03-19 12:24:41.895466500 info msg 10640291: bytes 15190 from <steve.carter@fleurienursery.co.uk> qp 5535 uid 453
2010-03-19 12:24:41.905253500 starting delivery 36: msg 10640291 to local alias-localdelivery-andy@star-plants.com
2010-03-19 12:24:41.905256500 status: local 1/10 remote 0/20
2010-03-19 12:24:41.924068500 delivery 36: success: forward:_qp_5538/did_0+0+1/
2010-03-19 12:24:41.924070500 status: local 1/10 remote 0/20
2010-03-19 12:24:41.924071500 end msg 10640291
How they look now :???:
2010-04-27 21:38:43.331365500 new msg 10648207
2010-04-27 21:38:43.331368500 info msg 10648207: bytes 11000 from <andrew.henry@fleurienursery.co.uk> qp 5596 uid 453
2010-04-27 21:38:43.343974500 starting delivery 8: msg 10648207 to local alias-localdelivery-andy@star-plants.com
2010-04-27 21:38:43.344070500 status: local 1/10 remote 0/20
2010-04-27 21:38:43.378154500 delivery 8: success: forward:_qp_5599/did_0+0+1/
2010-04-27 21:38:43.378157500 end msg 10648207
/var/log/qpsmtpd/current shows the following entries, but the email never arrives.
2010-04-27 20:15:27.211953500 7026 Accepted connection 2/40 from 212.104.129.56 / punt1.ex.eclipse.net.uk
2010-04-27 20:15:27.212401500 7026 Connection from punt1.ex.eclipse.net.uk [212.104.129.56]
2010-04-27 20:15:27.230385500 7026 running plugin (set_hooks): peers
2010-04-27 20:15:27.230388500 7026 trying to get config for peers/0
2010-04-27 20:15:27.230390500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.249196500 7026 trying to get config for peers/0
2010-04-27 20:15:27.249589500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.250529500 7026 peers hooking valid_auth
2010-04-27 20:15:27.250877500 7026 peers hooking set_hooks
2010-04-27 20:15:27.251312500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.251903500 7026 logging::logterse hooking queue
2010-04-27 20:15:27.252295500 7026 logging::logterse hooking deny
2010-04-27 20:15:27.252682500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.253433500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.254123500 7026 check_earlytalker hooking connect
2010-04-27 20:15:27.254459500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.254907500 7026 count_unrecognized_commands hooking connect
2010-04-27 20:15:27.255414500 7026 count_unrecognized_commands hooking unrecognized_command
2010-04-27 20:15:27.255807500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.256272500 7026 check_relay hooking connect
2010-04-27 20:15:27.256846500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.257291500 7026 check_norelay hooking connect
2010-04-27 20:15:27.257851500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.258385500 7026 require_resolvable_fromhost hooking mail
2010-04-27 20:15:27.258893500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.259474500 7026 check_basicheaders hooking data_post
2010-04-27 20:15:27.259937500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.260477500 7026 check_badmailfrom hooking rcpt
2010-04-27 20:15:27.260848500 7026 check_badmailfrom hooking mail
2010-04-27 20:15:27.261281500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.261808500 7026 check_badrcptto_patterns hooking rcpt
2010-04-27 20:15:27.262275500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.262792500 7026 check_badrcptto hooking rcpt
2010-04-27 20:15:27.263250500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.263713500 7026 check_spamhelo hooking ehlo
2010-04-27 20:15:27.264056500 7026 check_spamhelo hooking helo
2010-04-27 20:15:27.264580500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.265259500 7026 check_goodrcptto hooking rcpt
2010-04-27 20:15:27.265613500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.266152500 7026 rcpt_ok hooking rcpt
2010-04-27 20:15:27.266618500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.267289500 7026 tnef2mime hooking data_post
2010-04-27 20:15:27.267630500 7026 trying to get config for plugin_dirs
2010-04-27 20:15:27.268243500 7026 queue::qmail_2dqueue hooking queue
2010-04-27 20:15:27.268746500 7026 Plugin peers, hook set_hooks returned DECLINED,
2010-04-27 20:15:27.269202500 7026 running plugin (connect): check_earlytalker
2010-04-27 20:15:28.276015500 7026 check_earlytalker plugin: remote host said nothing spontaneous, proceeding
2010-04-27 20:15:28.276019500 7026 Plugin check_earlytalker, hook connect returned DECLINED,
2010-04-27 20:15:28.276029500 7026 running plugin (connect): count_unrecognized_commands
2010-04-27 20:15:28.276043500 7026 Plugin count_unrecognized_commands, hook connect returned DECLINED,
2010-04-27 20:15:28.276046500 7026 running plugin (connect): check_relay
2010-04-27 20:15:28.276049500 7026 trying to get config for relayclients
2010-04-27 20:15:28.276696500 7026 trying to get config for morerelayclients
2010-04-27 20:15:28.276900500 7026 Plugin check_relay, hook connect returned DECLINED,
2010-04-27 20:15:28.277202500 7026 running plugin (connect): check_norelay
2010-04-27 20:15:28.277530500 7026 trying to get config for norelayclients
2010-04-27 20:15:28.278069500 7026 Plugin check_norelay, hook connect returned DECLINED,
2010-04-27 20:15:28.278423500 7026 trying to get config for smtpgreeting
2010-04-27 20:15:28.278855500 7026 220 server.star-plants.com ESMTP
2010-04-27 20:15:28.279217500 7026 trying to get config for timeoutsmtpd
2010-04-27 20:15:28.314224500 7026 dispatching EHLO punt01css.ch.as12513.net
2010-04-27 20:15:28.314227500 7026 running plugin (ehlo): check_spamhelo
2010-04-27 20:15:28.314230500 7026 trying to get config for badhelo
2010-04-27 20:15:28.314262500 7026 Plugin check_spamhelo, hook ehlo returned DECLINED,
2010-04-27 20:15:28.314279500 7026 trying to get config for tls_before_auth
2010-04-27 20:15:28.314608500 7026 trying to get config for me
2010-04-27 20:15:28.315056500 7026 trying to get config for databytes
2010-04-27 20:15:28.315467500 7026 trying to get config for databytes
2010-04-27 20:15:28.315771500 7026 250-star-plants.com Hi punt1.ex.eclipse.net.uk [212.104.129.56]
2010-04-27 20:15:28.317745500 7026 250-PIPELINING
2010-04-27 20:15:28.317749500 7026 250-8BITMIME
2010-04-27 20:15:28.317752500 7026 250 SIZE 15000000
2010-04-27 20:15:28.363008500 7026 dispatching MAIL FROM:<requiman@farplants.co.uk> SIZE=2109
2010-04-27 20:15:28.363017500 7026 full from_parameter: FROM:<requiman@farplants.co.uk> SIZE=2109
2010-04-27 20:15:28.363037500 7026 from email address : [<requiman@farplants.co.uk>]
2010-04-27 20:15:28.363043500 7026 running plugin (mail): require_resolvable_fromhost
2010-04-27 20:15:28.363045500 7026 trying to get config for invalid_resolvable_fromhost
2010-04-27 20:15:28.363060500 7026 trying to get config for require_resolvable_fromhost
2010-04-27 20:15:28.363071500 7026 Plugin require_resolvable_fromhost, hook mail returned DECLINED,
2010-04-27 20:15:28.363086500 7026 running plugin (mail): check_badmailfrom
2010-04-27 20:15:28.363089500 7026 trying to get config for badmailfrom
2010-04-27 20:15:28.363091500 7026 Plugin check_badmailfrom, hook mail returned DECLINED,
2010-04-27 20:15:28.363100500 7026 getting mail from <requiman@farplants.co.uk>
2010-04-27 20:15:28.363104500 7026 250 <requiman@farplants.co.uk>, sender OK - how exciting to get mail from you!
2010-04-27 20:15:28.363107500 7026 dispatching RCPT TO:<dispatch@star-plants.com>
2010-04-27 20:15:28.363138500 7026 to email address : [<dispatch@star-plants.com>]
2010-04-27 20:15:28.363140500 7026 running plugin (rcpt): check_badmailfrom
2010-04-27 20:15:28.363142500 7026 Plugin check_badmailfrom, hook rcpt returned DECLINED,
2010-04-27 20:15:28.363144500 7026 running plugin (rcpt): check_badrcptto_patterns
2010-04-27 20:15:28.363147500 7026 trying to get config for badrcptto_patterns
2010-04-27 20:15:28.363167500 7026 Plugin check_badrcptto_patterns, hook rcpt returned DECLINED,
2010-04-27 20:15:28.363171500 7026 running plugin (rcpt): check_badrcptto
2010-04-27 20:15:28.363174500 7026 trying to get config for badrcptto
2010-04-27 20:15:28.367624500 7026 Plugin check_badrcptto, hook rcpt returned DECLINED,
2010-04-27 20:15:28.367917500 7026 running plugin (rcpt): check_goodrcptto
2010-04-27 20:15:28.368276500 7026 check_goodrcptto plugin: stripping '-' extensions
2010-04-27 20:15:28.368575500 7026 trying to get config for goodrcptto
2010-04-27 20:15:28.370243500 7026 check_goodrcptto plugin: address includes extn '-', checking users: dispatch
2010-04-27 20:15:28.370930500 7026 Plugin check_goodrcptto, hook rcpt returned DECLINED,
2010-04-27 20:15:28.371229500 7026 running plugin (rcpt): rcpt_ok
2010-04-27 20:15:28.371559500 7026 trying to get config for me
2010-04-27 20:15:28.371869500 7026 trying to get config for rcpthosts
2010-04-27 20:15:28.372424500 7026 Plugin rcpt_ok, hook rcpt returned OK,
2010-04-27 20:15:28.372778500 7026 250 <dispatch@star-plants.com>, recipient ok
2010-04-27 20:15:28.373139500 7026 dispatching DATA
2010-04-27 20:15:28.373539500 7026 354 go ahead
2010-04-27 20:15:28.373844500 7026 trying to get config for databytes
2010-04-27 20:15:28.374153500 7026 max_size: 15000000 / size: 0
2010-04-27 20:15:28.374575500 7026 trying to get config for timeout
2010-04-27 20:15:28.468963500 7026 spooling message to disk
2010-04-27 20:15:28.481243500 7026 max_size: 15000000 / size: 2074
2010-04-27 20:15:28.481246500 7026 trying to get config for me
2010-04-27 20:15:28.481248500 7026 running plugin (data_post): check_basicheaders
2010-04-27 20:15:28.481250500 7026 Plugin check_basicheaders, hook data_post returned DECLINED,
2010-04-27 20:15:28.481252500 7026 running plugin (data_post): tnef2mime
2010-04-27 20:15:28.487071500 7026 Plugin tnef2mime, hook data_post returned DECLINED,
2010-04-27 20:15:28.487581500 7026 running plugin (queue): logging::logterse
2010-04-27 20:15:28.488285500 7026 logging::logterse plugin: ` 212.104.129.56 punt1.ex.eclipse.net.uk punt01css.ch.as12513.net <requiman@farplants.co.uk> <dispatch@star-plants.com> queued <EXCHANGE-2003pIuPHD000005ef@exchange-2003.farplants.sbs>
2010-04-27 20:15:28.488635500 7026 Plugin logging::logterse, hook queue returned DECLINED,
2010-04-27 20:15:28.488951500 7026 running plugin (queue): queue::qmail_2dqueue
2010-04-27 20:15:28.491904500 7040 queue::qmail_2dqueue plugin: (for 7026 ) Queuing qp 7040 to /var/qmail/bin/qmail-queue
2010-04-27 20:15:28.504329500 7026 Plugin queue::qmail_2dqueue, hook queue returned OK, Queued! 1272395728 qp 7040 <EXCHANGE-2003pIuPHD000005ef@exchange-2003.farplants.sbs>
2010-04-27 20:15:28.504789500 7026 250 Queued! 1272395728 qp 7040 <EXCHANGE-2003pIuPHD000005ef@exchange-2003.farplants.sbs>
2010-04-27 20:15:28.505753500 7026 dispatching QUIT
2010-04-27 20:15:28.506238500 7026 trying to get config for me
2010-04-27 20:15:28.506571500 7026 221 star-plants.com closing connection. Have a wonderful day.
2010-04-27 20:15:28.506940500 7026 click, disconnecting
2010-04-27 20:15:28.708592500 6599 cleaning up after 7026
-
running a mail log file analysis fromt he server-manager I can see the number of messages increasing for my admin account.
Yet if I telnet to the POP3 sever and do a list or stat I get a 0 messages.
whats happening? Is the pop3 deamon corrupt?
Same with IMAP.
If I send an internal email it does not show, but if I CC it to an external address it is delivered there?
Sorry I do tend to use forums as a brain dump sometimes... but if you dont give enough information its hard for people to help you out.
-
This topic sounds very similar actually.
http://forums.contribs.org/index.php/topic,45858.0.html (http://forums.contribs.org/index.php/topic,45858.0.html)
But how to I check the users mail files? where are they?
-
I have run a SMART check on both drives (sda/sdb) and they passed, plus I have tested the RAID array, both partitions are ok.
I'm stumped :-(
-
jonathanf@farplants.co.uk
I have done the following
* Run all the updates on Yum and rebooted the server
Did you do
signal-event post-upgrade
signal-event reboot
But how to I check the users mail files? where are they?
/home/e-smith/files/users/username/Maildir/directoryname
(replace username with actual sme user name, and directoryname with cur new..)
Further than that, I'd suggest posting a bug report.
-
hi Mary
Thank you for your post
Yup did a signal etc before each reboot.
I have found the users mailDirs and the emails are in the New folder.
anyone know what the permissions should be? currently they are:
-rw------- 1 test test 7646 Feb 18 2006 1140239456.17983.server
-rw------- 1 test test 7451 Feb 25 2006 1140826945.4068.server
-rw------- 1 test test 7773 Mar 14 2006 1142297443.413.server
Does the system need access to these files to move them to the read directory etc?
-
anyone know what the permissions should be? currently they are:
-rw------- 1 test test 7646 Feb 18 2006 1140239456.17983.server
-rw------- 1 test test 7451 Feb 25 2006 1140826945.4068.server
-rw------- 1 test test 7773 Mar 14 2006 1142297443.413.server
The permissions are correct, the emails are in a user called test, so if you set up your email client to point to user "test and enter in the password you will be able to see the emails.