• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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., eric@example.com) 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=<20140812185740.70B324F4008@www.example.com>
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=<eric@example.net>, size=438, nrcpt=1 (queue active)
Aug 12 18:58:16 www postfix-local[16099]: postfix-local: from=eric@example.net, to=eric@example.com, 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 eric@example.com: /var/qmail/mailnames/example.com/eric/.spamassassin/user_prefs
Aug 12 18:58:16 www spamd[22604]: spamd: processing message <20140812185740.70B324F4008@www.example.com> for eric@example.com: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 eric@example.com: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,user=eric@example.com,uid=110,required_score=7.0,rhost=localhost,raddr=127.0.0.1,rport=/tmp/spamd_full.sock,mid=<20140812185740.70B324F4008@www.example.com>,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=<eric@example.com>, 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/eric@example.com 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/eric@example.com 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