• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Vanishing E-mail Messages

Eric Pretorious

Regular Pleskian
I've already described the troubles that I've had managing e-mail accounts with the Web-based interface (i.e., example.com:8443) & mailmng...

...and now I've got another: Messages delivered to the e-mail account that was destroyed and recreated (i.e., [email protected]) are not placed in the mailstore (i.e., /var/qmail/mailnames/example.com/eric/Maildir).

I started by using telnet to send a local message (i.e., `telnet localhost 25`) and then checked Postfix's log file (i.e.,/usr/local/psa/var/log/maillog) to verify that the message was delivered:
Code:
Aug 12 18:56:46 www postfix/smtpd[15372]: connect from localhost[::1]
Aug 12 18:57:40 www postfix/smtpd[15372]: 70B324F4008: client=localhost[::1]
Aug 12 18:58:15 www postfix/cleanup[15376]: 70B324F4008: message-id=<[email protected]>
Aug 12 18:58:15 www dk_sign[16097]: Auth_ID: [example.net] Signed: [Yes] Header List: [Yes]
Aug 12 18:58:15 www /usr/lib64/plesk-9.0/psa-pc-remote[15016]: handlers_stderr: PASS
Aug 12 18:58:15 www /usr/lib64/plesk-9.0/psa-pc-remote[15016]: PASS during call 'dd51-domainkeys' handler
Aug 12 18:58:15 www postfix/qmgr[1660]: 70B324F4008: from=<[email protected]>, size=438, nrcpt=1 (queue active)
Aug 12 18:58:16 www postfix-local[16099]: postfix-local: [email protected], [email protected], dirname=/var/qmail/mailnames
Aug 12 18:58:16 www spamd[22604]: spamd: got connection over /tmp/spamd_full.sock
Aug 12 18:58:16 www spamd[22604]: spamd: using default config for [email protected]: /var/qmail/mailnames/example.com/eric/.spamassassin/user_prefs
Aug 12 18:58:16 www spamd[22604]: spamd: processing message <[email protected]> for [email protected]:110
Aug 12 18:58:17 www postfix/smtpd[15372]: disconnect from localhost[::1]
...
Aug 12 18:58:19 www dk_check[16115]: DK_STAT_NOSIG: No signature available in message
Aug 12 18:58:19 www postfix-local[16114]: handlers_stderr: PASS
Aug 12 18:58:19 www postfix-local[16114]: PASS during call 'dd52-domainkeys' handler
...
Aug 12 18:58:21 www spamd[22604]: spamd: clean message (2.1/7.0) for [email protected]:110 in 5.1 seconds, 778 bytes.
Aug 12 18:58:21 www spamd[22604]: spamd: result: . 2 - ALL_TRUSTED,DKIM_SIGNED,MISSING_HEADERS,MISSING_SUBJECT,URIBL_BLOCKED scantime=5.1,size=778,[email protected],uid=110,required_score=7.0,rhost=localhost,raddr=127.0.0.1,rport=/tmp/spamd_full.sock,mid=<[email protected]>,autolearn=no
Aug 12 18:58:21 www postfix-local[16099]: handlers_stderr: PASS
Aug 12 18:58:21 www postfix-local[16099]: PASS during call 'spam' handler
Aug 12 18:58:21 www spamd[7700]: prefork: child states: II
Aug 12 18:58:21 www postfix-local[16099]: handlers_stderr: PASS
Aug 12 18:58:21 www postfix-local[16099]: PASS during call 'dd52-domainkeys' handler
Aug 12 18:58:21 www postfix/pipe[16098]: 70B324F4008: to=<[email protected]>, relay=plesk_virtual, delay=53, delays=48/0.01/0/5.2, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Aug 12 18:58:21 www postfix/qmgr[1660]: 70B324F4008: removed

However, there are no new messages in the New mailstore (i.e., /var/qmail/mailnames/example.com/eric/Maildir/new):
Code:
[root@www log]# ls -al /var/qmail/mailnames/example.com/eric/Maildir/new
total 8
drwx------  2 popuser popuser 4096 Aug  8 00:20 .
drwx------ 37 popuser popuser 4096 Aug  9 22:24 ..

Where did the message go?
 
Where did the message go?

I wasn't able to locate the messages that have arrived in the past four days but I was able to repair the account by...

  1. Creating an archive of the mailstore (i.e., /var/qmail/mailnames/example.com/eric/Maildir/new):
    Code:
    cd /var/qmail/mailnames/example.com/eric/
    tar czf /tmp/[email protected] Maildir
  2. Deleting the account using the Web interface (i.e., example.com:8443),
  3. Recreating the account using the Web interface,
  4. Restoring the mailstore:
    Code:
    cd /var/qmail/mailnames/example.com/eric/
    tar xzf /tmp/[email protected] Maildir
I'd still like to know where those messages have been going for te past four days. :|
 
I started by using telnet to send a local message (i.e., `telnet localhost 25`) and then checked Postfix's log file (i.e.,/usr/local/psa/var/log/maillog) to verify that the message was delivered: Nice :)
 
Back
Top