1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Mail delivered... not appearing

Discussion in 'Plesk for Linux - 8.x and Older' started by ganast, Oct 12, 2005.

  1. ganast

    ganast Guest

    0
     
    I have an odd problem.

    I have mail being delivered successfully (see log view #1 below) but it does not ever appear in the /var/qmail/mailnames/DOMAIN.COM/USER/Maildir/new directory...

    I restarted imap, pop3, smtp, and spamassassin... no dice. I even stopped them all at once and started thim again. Same old.

    The odd thing is that some mailboxes work and some don't.

    Possible reason(?) I upgraded to 7.5.4 but php 4.3.10 for RH 7.3 is not compiled with cURL... go figure... so I downgraded the php rpms back to 7.5.1 php 4.3.8 rpms (pgsql, imap, mysql,ldap, and php) but I cannot figure out how this could affect qmail... is this a db issue?

    ----log view #1-------------------

    Oct 12 17:07:09 HOST qmail: 1129154829.904667 new msg 2998385
    Oct 12 17:07:09 HOST qmail: 1129154829.904774 info msg 2998385: bytes 1536 from <USER@gmail.com> qp 3013 uid 2020
    Oct 12 17:07:09 HOST qmail: 1129154829.910306 starting delivery 30: msg 2998385 to local 2-USER@DOMAIN.COM
    Oct 12 17:07:09 HOST qmail: 1129154829.910425 status: local 1/10 remote 0/20
    Oct 12 17:07:09 HOST spamd[2344]: got connection over /tmp/spamd_full.sock
    Oct 12 17:07:09 HOST spamd[3018]: Using default config for USER@DOMAIN.COM: /var/qmail/mailnames/DOMAIN.COM/USER/.spamassassin/user_prefs
    Oct 12 17:07:09 HOST spamd[3018]: processing message <e06a979f0510121507l5f7ff0abg4a9c159d5c1b283e@mail.gmail.com> for USER@DOMAIN.COM:110.
    Oct 12 17:07:10 HOST spamd[3018]: clean message (0.0/7.0) for USER@DOMAIN.COM:110 in 1.0 seconds, 1536 bytes.
    Oct 12 17:07:10 HOST qmail: 1129154830.184130 delivery 30: success: did_0+0+2/did_0+0+1/
    Oct 12 17:07:10 HOST qmail: 1129154830.184242 status: local 0/10 remote 0/20
    Oct 12 17:07:10 HOST qmail: 1129154830.184279 end msg 2998385
     
  2. ganast

    ganast Guest

    0
     
    By the way, all out-going mail works fine...

    OK, and if I delete the mail user name and re-create it, then it receives, er... delivers mail again, however all that mail that was supposadly delivered before the delete / create is gone...

    --gabe
     
  3. ganast

    ganast Guest

    0
     
    As per this useful thread:

    http://forum.plesk.com/showthread.php?s=&threadid=27212

    I disabled all watchdog services, checked my hard disks... all ok, and disabled MAPS...

    Then restarted qmail and smtp... no dice

    Then I restarted SpamAssassin... nada

    Where the heck are these mails going?

    I did an updatedb and then locate 1129154830 (the email I watched get "delivered" in the maillog above)... but there is no such file on the server! That is the email filename is it not?

    *scratches head*

    # /var/qmail/bin/qmail-qstat
    messages in queue: 6
    messages in queue but not yet preprocessed: 0

    ouch... looks like email is going to /dev/null... or its close cousin...

    Where the heck are the .qmail setup files on a PLESK system... like the files that till qmail where the user's queue is, and where the Maildirs are, etc? Maybe something has been deleted in my setup, and I cannot figure out what...

    --gabe
     
  4. ganast

    ganast Guest

    0
     
    Reply from PLESK tt:

    Hello Gabriel,

    Please make sure that mailbox is turned on for the domain in the Control
    Panel. Then please make sure that maildir is listed in
    /var/qmail/mailnames/DOMAIN.COM/USER/.qmail file for this mailname.

    You can try to rebuild qmail configuration with following command:

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

    Please note that /usr/local/psa/admin/sbin/mchk utility is internal
    Plesk utility and it shouldn't be running if everything is going fine.
    Also please note that qmail isn't working right at the time of mchk.
    It's suggested to turn off qmail services temporary.

    So, I did:

    #/sbin/service qmail stop
    #/usr/local/psa/admin/sbin/mchk //(which took all of about 3/10's of a second)
    #/sbin/service qmail start

    ...and what do you know... all is back to normal... !? wow... the things that aren't in the PLESK docs...

    --gabe
     
Loading...