US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting
Register FAQ Community Calendar Today's Posts Search


Reply
 
Thread Tools
Old 10-31-2013, 02:47 PM   #1
Junior Member
 
Join Date: Oct 2013
Posts: 4
ispdodo is on a distinguished road
Default failing to receive incoming email messages

Under FreeBSD 9.2 and ispmanager fresh installation never can receive any email to users.

/var/log/maillog shows this during receiving new messages:

Code:
Oct 31 07:33:49 K515 sm-mta[56601]: STARTTLS=server, relay=mail-wi0-f194.google.com [209.85.212.194], version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-SHA, bits=128/128
Oct 31 07:33:50 K515 sm-mta[56601]: r9VBXm2D056601: from=<XXX@gmail.com>, size=1698, class=0, nrcpts=1, msgid=<1718077694.20131031043306@gmail.com>, proto=ESMTP, daemon=IPv4, relay=mail-wi0-f194.google.com [209.85.212.194]
Oct 31 07:33:50 K515 maildrop[56603]: link() failed.
Oct 31 07:33:50 K515 sm-mta[56602]: r9VBXm2D056601: to=\\virtuser_1006, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32008, dsn=4.0.0, stat=Deferred: local mailer (/usr/local/bin/maildrop) exited with EX_TEMPFAIL
this situation repeats with every incoming email message regardless any mailbox or domain

for reference here is the log of creating email box
Quote:
Oct 31 08:42:06 [57157:7] INFO Request [178.33.42.134][root] 'name=test&domain=XXX.com&aliases=&aliases_list=&p asswdgen=*&passwd=*&confirmgen=*&confirm=*&quota=0 &forward=&forward_list=&func=email.edit&elid=&sok= ok'
Oct 31 08:42:06 [57157:7] ../../src/ispmgr/core/ispmgr.cpp:746 TRACE Rebuild AccountCache force[false] pgen[1] cgen[18]
Oct 31 08:42:06 [57157:7] ../../src/ispmgr/core/ispmgr.cpp:922 DEBUG Total accounts 2
Oct 31 08:42:06 [57157:7] ../../src/mgr/core/mgrconf.cpp:166 TRACE Add config '/etc/master.passwd' for commit
Oct 31 08:42:06 [57157:7] ../../src/mgr/core/tdata.cpp:1433 TRACE RecordSet::Post(insert) rsname='pop3user' key='test@XXX.com'
Oct 31 08:42:06 [57157:7] ../../src/mgr/core/tdata.cpp:1433 TRACE RecordSet::Post(insert) rsname='mailbox' key='test@XXX.com'
Oct 31 08:42:06 [57157:7] ../../src/mgr/core/tdata.cpp:1433 TRACE RecordSet::Post(insert) rsname='mailalias' key='virtuser_1007'
Oct 31 08:42:06 [57157:7] EXTINFO Execute (/usr/local/sbin/saslpasswd2 -p -a Sendmail -c -u XXX.com test) return=0 exited
Oct 31 08:42:06 [57157:7] ../../src/mgr/core/mgrconf.cpp:166 TRACE Add config '/usr/local/ispmgr/etc/ispmgr.conf' for commit
Oct 31 08:42:06 [57157:7] ../../src/ispmgr/email/sendmail.cpp:1477 DEBUG aliases users size = 1
Oct 31 08:42:06 [57157:7] ../../src/mgr/core/mgrconf.cpp:130 TRACE Save configs to pull up events
Oct 31 08:42:06 [57157:7] ../../src/mgr/core/mgrconf.cpp:133 TRACE MgrConfSave: file: /usr/local/ispmgr/etc/ispmgr.conf
Oct 31 08:42:06 [57157:7] EXTINFO Execute (/usr/sbin/pwd_mkdb -p /etc/master.passwd) return=0 exited
Oct 31 08:42:06 [57157:7] ../../src/mgr/core/mgrconf.cpp:133 TRACE MgrConfSave: file: /etc/master.passwd
Oct 31 08:43:06 [57157:7] EXTINFO Execute (/usr/bin/newaliases) return=0 exited
Oct 31 08:43:06 [57157:7] EXTINFO Execute (/usr/sbin/makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable) return=0 exited
Oct 31 08:43:06 [57157:7] ../../src/mgr/core/mgrconf.cpp:69 TRACE Commit configs
Oct 31 08:43:06 [57157:7] ../../src/mgr/core/mgrconf.cpp:93 TRACE deleted /usr/local/ispmgr/etc/.ispmgr.conf.9682563282, filename=/usr/local/ispmgr/etc/ispmgr.conf
Oct 31 08:43:06 [57157:7] EXTINFO Execute (/usr/bin/ci "-m create by process with pid 57157" -nREV_2013_10_31_57157_7 var/cbackup//usr/local/ispmgr/etc/ispmgr.conf) return=0 exited
Oct 31 08:43:06 [57157:7] ../../src/mgr/core/mgrconf.cpp:93 TRACE deleted /etc/.master.passwd.9682563282, filename=/etc/master.passwd
Oct 31 08:43:06 [57157:7] EXTINFO Execute (/usr/bin/ci "-m create by process with pid 57157" -nREV_2013_10_31_57157_7 var/cbackup//etc/master.passwd) return=0 exited
Oct 31 08:43:10 [57157:8] INFO Request [178.33.42.134][root] 'clickstat=yes&func=email'
Oct 31 08:43:10 [57157:8] ../../src/ispmgr/core/ispmgr.cpp:746 TRACE Rebuild AccountCache force[false] pgen[1] cgen[18]
Oct 31 08:43:10 [57157:8] ../../src/ispmgr/core/ispmgr.cpp:922 DEBUG Total accounts 2
Oct 31 08:43:10 [57157:8] ../../src/ispmgr/core/ispmgr.cpp:2062 TRACE HideToolbtn

Last edited by ispdodo; 10-31-2013 at 04:00 PM.
ispdodo is offline   Reply With Quote
Old 11-02-2013, 08:00 AM   #2
Support team
 
Join Date: Oct 2013
Posts: 44
usaafko is on a distinguished road
Default

Hello, can you activate procmail MTA instead of maildrop?
usaafko is offline   Reply With Quote
Old 11-02-2013, 10:07 AM   #3
Junior Member
 
Join Date: Oct 2013
Posts: 4
ispdodo is on a distinguished road
Default

The only Mail delivery agent option i see in ISPmanager Panel - Server settings - Applications is maildrop. Should i activate procmail manually? How to do that?

Last edited by ispdodo; 11-02-2013 at 10:34 AM.
ispdodo is offline   Reply With Quote
Old 11-03-2013, 10:40 AM   #4
Junior Member
 
Join Date: Oct 2013
Posts: 4
ispdodo is on a distinguished road
Default

Problem solved:
1. backup up all user mailboxes
2. delete all mailboxes
3. delete maildrop from ISPmanager Panel - Server settings - Applications
4. install procmail from same page
5. recover mailboxes from backup
ispdodo is offline   Reply With Quote
Old 11-03-2013, 10:43 AM   #5
Junior Member
 
Join Date: Oct 2013
Posts: 4
ispdodo is on a distinguished road
Default

maildrop fails while he can't move temporarily file to mailbox, I have no idea why is this happening

https://github.com/toddr/courier/blo...drop/maildir.C
Code:
                if (link( (const char *)tmpname, (const char *)newname) < 0)
                {
                        if (errno == EXDEV){
                                if(rename((const char *)tmpname, (const char *)newname) < 0)
                                        throw "rename() failed.";
                                is_afs = 1;
                        }
                        else
                        {
                                throw "link() failed.";
                        }
                }
ispdodo is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:33 PM.