email account stopped functioning, code fine?

Discussion in 'General' started by crypted, May 10, 2009.

  1. crypted

    crypted New Member

    Out of nowhere one email account for a particular domain stopped functioning. No changes were made. It became inaccessible from POP3 and from webmail. The client was deleted and readded, the problem still exists.

    Here's some information:

    Code:
    cat /etc/postfix/virtusertable |grep ameat
    [email protected]    web49_ameat
    [email protected]    web49_ameat
    [email protected]    web49_ameat
    [email protected]    web49_ameat
    Code:
    May 10 17:27:47 its dovecot: IMAP(web49_ameat): mbox: Can't create root mail directory /var/www/web49/user/web49_ameat/mail: Disk quota exceeded
    May 10 17:27:47 its dovecot: IMAP(web49_ameat): mail_location not set and autodetection failed with home=/var/www/web49/user/web49_ameat
    May 10 17:27:47 its dovecot: imap-login: Login: user=<web49_ameat>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    May 10 17:28:51 its sendmail[16778]: n4ALSoCr016778: from=[email protected], size=465, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
    May 10 17:28:52 its postfix/smtpd[16697]: 7EF5A13D0315: client=localhost.localdomain[127.0.0.1], sasl_sender=[email protected]
    May 10 17:28:52 its sendmail[16778]: n4ALSoCr016778: to=[email protected], ctladdr=[email protected] (10182/10049), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30465, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 7EF5A13D0315)
    May 10 17:28:53 its postfix/qmgr[15771]: 7EF5A13D0315: from=<[email protected]>, size=930, nrcpt=1 (queue active)
    May 10 17:28:54 its sendmail[16784]: n4ALSs9m016784: from=web49_ameat, size=119, class=0, nrcpts=1, msgid=<[email protected]>, relay=web49_ameat@localhost
    May 10 17:28:55 its postfix/smtpd[16695]: DC2CE13D0316: client=localhost.localdomain[127.0.0.1], sasl_sender=[email protected]
    May 10 17:28:55 its sendmail[16784]: n4ALSs9m016784: to=[email protected], ctladdr=web49_ameat (10182/10049), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30119, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as DC2CE13D0316)
    May 10 17:28:55 its postfix/qmgr[15771]: DC2CE13D0316: from=<[email protected]>, size=765, nrcpt=1 (queue active)
    May 10 17:29:16 its postfix/local[16559]: 7EF5A13D0315: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=25, delays=1/0/0/24, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Code:
    dingle@its:/var/spool/mail# ls -lah web49_ameat 
    -rw-------  1 web49_ameat         mail    0 May 10 17:19 web49_ameat
    dingle@its:/var/spool/mail# 

    I sent emails to the account, they were not returned. However, when I look at the USERMAIL directory using READMAIL on Webmin, that user has NO emails. I sent an email using the system's mailer and nothing was received either.

    There were no traces of the user in the ISPCONFIG database after deleting it. The user settings seem normal in the /domain/users/web49_ameat/ path. Spamassassin and userprefs are fine. No reject setup.

    Furthermore, RoundCube will access all other mail accounts on the server fine. However, when trying to access this account, RoundCube will just look as if it is waiting on a response in the browser. There is no password error, it just does not load RoundCube. Firefox says "loading" in its status after clicking to LOGIN.

    Upon trying to access, SquirrelMail says the following:
    ERROR:
    ERROR: Connection dropped by IMAP server.
    Query: CAPABILITY
     
    Last edited: May 10, 2009
  2. crypted

    crypted New Member

    It seems that the mail directory is not being created by ISPCONFIG or when email is sent to that user.

    Code:
    -rw-r--r-- 1 root          root   103 May 10 17:49 .antivirus.rc
    -rw-r--r-- 1 root          root   940 May 10 17:49 .autoresponder.rc
    -rw------- 1 web49_ameat   web49   24 May 10 17:49 .forward
    -rw-r--r-- 1 root          root   68K May 10 17:49 .html-trap.rc
    -rw-r--r-- 1 root          root  3.8K May 10 17:49 .local-rules.rc
    -rw-r--r-- 1 root          root   204 May 10 17:49 .mailsize.rc
    -rw-r--r-- 1 root          root   485 May 10 17:49 .procmailrc
    -rw-r--r-- 1 root          root   656 May 10 17:49 .quota.rc
    drwx------ 2 web49_ameat   web49 4.0K May 10 17:19 .spamassassin
    -rw-r--r-- 1 root          root  1.2K May 10 17:49 .spamassassin.rc
    -rw-r--r-- 1 root          root  2.0K May 10 17:49 .user_prefs
    -rw-r--r-- 1 root          root    32 May 10 17:49 .vacation.msg
    drwxrwxr-x 2 web49_ameat   web49 4.0K May 10 17:19 web

    thoughts? In fact, no user has a mail folder being established if they are newly created users. seems wrong?

    I added the folder manually, I was able to sign in with RoundCube. I sent an email and it was received by another user account. However, any emails sent to this account still are not received.
     
    Last edited: May 11, 2009
  3. crypted

    crypted New Member

    I found that "MAILDIR" was not enabled under management settings email. I reenabled this. Still, no email is being received although I see ISPCONFIG has established MAILDIR directories in the user folder.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in the mail log now?
    What's in the .procmailrc file of that user?
     
  5. crypted

    crypted New Member

    Now that user works fine, but the rest stopped functioning after enabling MAILDIR.

    No user has a procmail file excluding the user that was having issues. Here is the PROCMAIL from the original account with an issue, AMEAT:
    Code:
    dingle@its:/var/www/web49/user/web49_ameat# cat .procmailrc 
    MAILDIR=$HOME/Maildir/
    DEFAULT=$MAILDIR
    ORGMAIL=$MAILDIR
    
    INCLUDERC=/var/www/web49/user/web49_ameat/.mailsize.rc
    ## INCLUDERC=/var/www/web49/user/web49_ameat/.quota.rc
    INCLUDERC=/var/www/web49/user/web49_ameat/.antivirus.rc
    ## INCLUDERC=/var/www/web49/user/web49_ameat/.local-rules.rc
    ## INCLUDERC=/var/www/web49/user/web49_ameat/.html-trap.rc
    ## INCLUDERC=/var/www/web49/user/web49_ameat/.spamassassin.rc
    ## INCLUDERC=/var/www/web49/user/web49_ameat/.autoresponder.rc
    Here is a list of another users directory without procmail.rc:
    Code:
    dingle@its:/var/www/web3/user/web3_derek# ls -lah
    total 124K
    drwxr-xr-x  5 fork web3 4.0K May 11 12:47 .
    drwxr-xr-x 10 fork web3 4.0K Jan 23 12:07 ..
    -rw-r--r--  1 root root  103 May 11 12:47 .antivirus.rc
    -rw-r--r--  1 root root  936 May 11 12:47 .autoresponder.rc
    -rw-r--r--  1 root root  68K May 11 12:47 .html-trap.rc
    -rw-r--r--  1 root root 3.8K May 11 12:47 .local-rules.rc
    drwx------  5 fork web3 4.0K May 10 18:37 Maildir
    -rw-r--r--  1 root root  204 May 11 12:47 .mailsize.rc
    -rw-r--r--  1 root root  656 May 11 12:47 .quota.rc
    drwx------  2 fork web3 4.0K May 11 12:44 .spamassassin
    -rw-r--r--  1 root root 1.2K May 11 12:47 .spamassassin.rc
    -rw-r--r--  1 root root 2.1K May 11 12:47 .user_prefs
    -rw-r--r--  1 root root   32 May 11 12:47 .vacation.msg
    drwxrwxr-x  2 fork web3 4.0K Jan  2  2007 web
    dingle@its:/var/www/web3/user/web3_derek# 

    the maillog contains the following:

    Code:
    May 11 12:43:46 its postfix/smtpd[10559]: disconnect from rrcs-70-63-226-34.midsouth.biz.rr.com[70.63.226.34]
    May 11 12:43:48 its sendmail[11946]: n4BGhkHC011946: from=web50_melanie, size=123, class=0, nrcpts=1, msgid=<[email protected]>, relay=web50_melanie@localhost
    May 11 12:43:48 its postfix/smtpd[11917]: connect from localhost.localdomain[127.0.0.1]
    May 11 12:43:48 its postfix/smtpd[11917]: setting up TLS connection from localhost.localdomain[127.0.0.1]
    May 11 12:43:48 its postfix/smtpd[11917]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    May 11 12:43:48 its sendmail[11946]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    May 11 12:43:48 its postfix/smtpd[11917]: 527A713D034B: client=localhost.localdomain[127.0.0.1], sasl_sender=[email protected]
    May 11 12:43:48 its postfix/cleanup[11091]: 527A713D034B: message-id=<[email protected]>
    May 11 12:43:48 its postfix/qmgr[25420]: 527A713D034B: from=<[email protected]>, size=768, nrcpt=1 (queue active)
    May 11 12:43:48 its postfix/local[11925]: 527A713D034B: to=<[email protected]>, relay=local, delay=0.09, delays=0.05/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    May 11 12:43:48 its postfix/qmgr[25420]: 527A713D034B: removed
    May 11 12:43:48 its sendmail[11946]: n4BGhkHC011946: to=[email protected], ctladdr=web50_melanie (10058/10050), delay=00:00:02, xdelay=00:00:00, mailer=relay, pri=30123, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 527A713D034B)
    May 11 12:43:48 its postfix/smtpd[11917]: disconnect from localhost.localdomain[127.0.0.1]
    May 11 12:43:48 its postfix/local[11652]: 71CA513D0349: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=17, delays=5.4/0.02/0/11, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    May 11 12:43:48 its postfix/qmgr[25420]: 71CA513D0349: removed
    May 11 12:43:49 its postfix/smtpd[11639]: warning: 194.181.198.20: address not listed for hostname mail.system-rewident.com.pl
    May 11 12:43:49 its postfix/smtpd[11639]: connect from unknown[194.181.198.20]
    May 11 12:43:49 its postfix/smtpd[11639]: E881113D0349: client=unknown[194.181.198.20]
    May 11 12:43:50 its postfix/cleanup[11053]: E881113D0349: message-id=<[email protected]>
    May 11 12:43:50 its postfix/qmgr[25420]: E881113D0349: from=<[email protected]>, size=765, nrcpt=1 (queue active)
    May 11 12:43:50 its sendmail[11983]: n4BGhoJN011983: from=fork, size=116, class=0, nrcpts=1, msgid=<[email protected]>, relay=fork@localhost
    May 11 12:43:50 its postfix/smtpd[10559]: connect from localhost.localdomain[127.0.0.1]
    May 11 12:43:50 its postfix/smtpd[10559]: setting up TLS connection from localhost.localdomain[127.0.0.1]
    May 11 12:43:50 its postfix/smtpd[10559]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    May 11 12:43:50 its sendmail[11983]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    May 11 12:43:50 its postfix/smtpd[10559]: 5B29C13D034B: client=localhost.localdomain[127.0.0.1], sasl_sender=[email protected]
    May 11 12:43:50 its postfix/cleanup[11091]: 5B29C13D034B: message-id=<[email protected]>
    May 11 12:43:50 its postfix/qmgr[25420]: 5B29C13D034B: from=<[email protected]>, size=751, nrcpt=1 (queue active)
    May 11 12:43:50 its postfix/smtpd[11639]: disconnect from unknown[194.181.198.20]
    May 11 12:43:50 its sendmail[11983]: n4BGhoJN011983: to=[email protected], ctladdr=fork (10002/10002), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30116, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 5B29C13D034B)
    May 11 12:43:50 its postfix/local[11925]: 5B29C13D034B: to=<[email protected]>, relay=local, delay=0.14, delays=0.05/0/0/0.09, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    May 11 12:43:50 its postfix/qmgr[25420]: 5B29C13D034B: removed
    May 11 12:43:50 its postfix/smtpd[10559]: disconnect from localhost.localdomain[127.0.0.1]
    May 11 12:43:53 its postfix/local[11079]: F262C13D034A: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=7.7, delays=0.14/0/0/7.6, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    May 11 12:43:53 its postfix/qmgr[25420]: F262C13D034A: removed
    May 11 12:44:05 its postfix/smtpd[11917]: warning: 95.88.127.189: hostname 95-88-127-189-dynip.superkabel.de verification failed: Name or service not known
    May 11 12:44:05 its postfix/smtpd[11917]: connect from unknown[95.88.127.189]
    May 11 12:44:06 its postfix/smtpd[11917]: 42E0D13D034A: client=unknown[95.88.127.189]
    May 11 12:44:06 its postfix/cleanup[11053]: 42E0D13D034A: message-id=<000d01c9d257$69091380$6400a8c0@gemtd595>
    May 11 12:44:06 its postfix/qmgr[25420]: 42E0D13D034A: from=<[email protected]>, size=1927, nrcpt=1 (queue active)
    May 11 12:44:06 its postfix/smtpd[11917]: disconnect from unknown[95.88.127.189]
    May 11 12:44:07 its sendmail[12012]: n4BGi717012012: from=web53_brett, size=119, class=0, nrcpts=1, msgid=<[email protected]>, relay=web53_brett@localhost
    May 11 12:44:07 its postfix/smtpd[11639]: connect from localhost.localdomain[127.0.0.1]
    May 11 12:44:07 its postfix/smtpd[11639]: setting up TLS connection from localhost.localdomain[127.0.0.1]
    May 11 12:44:07 its postfix/smtpd[11639]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    May 11 12:44:07 its sendmail[12012]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    May 11 12:44:07 its postfix/smtpd[11639]: 4136213D034B: client=localhost.localdomain[127.0.0.1], sasl_sender=[email protected]
    May 11 12:44:07 its postfix/cleanup[11091]: 4136213D034B: message-id=<[email protected]>
    May 11 12:44:07 its postfix/qmgr[25420]: 4136213D034B: from=<[email protected]>, size=758, nrcpt=1 (queue active)
    May 11 12:44:07 its sendmail[12012]: n4BGi717012012: to=[email protected], ctladdr=web53_brett (10070/10053), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30119, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 4136213D034B)
    May 11 12:44:07 its postfix/smtpd[11639]: disconnect from localhost.localdomain[127.0.0.1]
    May 11 12:44:07 its postfix/local[11925]: 4136213D034B: to=<[email protected]>, relay=local, delay=0.21, delays=0.05/0/0/0.16, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    May 11 12:44:07 its postfix/qmgr[25420]: 4136213D034B: removed
    May 11 12:44:08 its postfix/local[11921]: E881113D0349: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=19, delays=0.47/0/0/18, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    All mail is NOT being received at this time. It was working FINE until I enabled MAILDIR in ISPCONFIG. Now everyone's account stopped functioning EXCEPT that ameat account which was not working originally. Now the broke one works, the working ones are broke.

    ANOTHER NOTE: After enabling MAILDIR, the ISPCONFIG interface no longer has the option to set MAIL maximum size for the users in their settings. I can only set WEB space allocations.

    Please hit me up with bad email that I do not want at [email protected]
     
    Last edited: Sep 8, 2010
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You can only use maildir if you have dovecot or courier installed. This setting has never to be changed on a running server, it is only set once after you installed the server. Never change it afterwards or you will loose the access to all emails stored before on the server!

    Thats fine and the intended behaviour as the mail quota of a user is always identically to the website quota, so the mailquota field is disabled.
     
  7. crypted

    crypted New Member

    returned mail output

    Hi. This is the qmail-send program at yahoo.com.
    I'm afraid I wasn't able to deliver your message to the following addresses.
    This is a permanent error; I've given up. Sorry it didn't work out.

    Code:
    <[email protected]>:
    65.110.53.130 does not like recipient.
    Remote host said: 554 5.7.1 <[email protected]>: Relay access denied Giving up on 65.110.53.130.
    
    --- Below this line is a copy of the message.
    
    Return-Path: <[email protected]>
    Received: (qmail 98333 invoked from network); 11 May 2009 17:12:54 -0000
    DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
      s=s1024; d=swbell.net;
      h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:X-Mailer:Thread-Index:Content-Language;
      b=Jv4OZQhpEw9GWSgnOD9LWtIqA7lOk7HdQx03EUAV1LHBiugKkYYCS4+Br3sT6ckCWW/U1RxVQhMI6w/rVRqF68dm/sQGtx4dCJUgdhnOfVFtS7xLSjEkVA+WFlNSda9l58StZdXbgN65fJ9jASt637nIcKf2H47KGM0xuSiaJe0=  ;
    Received: from unknown (HELO dereklaptop) ([email protected] with login)
      by smtp110.sbc.mail.mud.yahoo.com with SMTP; 11 May 2009 17:12:54 -0000
    X-YMail-OSG: 0uV8JCIVM1kxRoKbbr.mCqA1CICdCIJbulG0_CVIx6LoZIkrjkjMrv57r7rxwPU3qtzilVGYqvkAvBynHi8yfa2jrKvOjAxT7HyQq7YplLKb3v0abmdbffStb5hmOTJpOTm9jb8VhBIrO1o1W4CIkfJyMaRFJm9sVYHpNwG.x0eYhM.lwNY6V4KVCBjEBDAD0EPF_YqnOoQy5ImZM3sUCzViM7R9nQNjumgcpFMrzedC597Q9v4mMn2WxnqG0pHRxQXE0JmOjHAvWKBzpIRmezHLnoD5mT9ckUVygGrO
    X-Yahoo-Newman-Property: ymail-3
    From: "Derek Gordon" <[email protected]>
    To: <[email protected]>
    Subject: hiii
    Date: Mon, 11 May 2009 12:12:52 -0500
    Message-ID: <000001c9d25b$b869d410$293d7c30$@net>
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    	boundary="----=_NextPart_000_0001_01C9D231.CF93CC10"
    X-Mailer: Microsoft Office Outlook 12.0
    Thread-Index: AcnSW7dwq2TQBTQ6S8yKAWXom8/6zQ==
    Content-Language: en-us
    
    This is a multi-part message in MIME format.
    
    ------=_NextPart_000_0001_01C9D231.CF93CC10
    Content-Type: text/plain;
    	charset="us-ascii"
    Content-Transfer-Encoding: 7bit
    
    hiiii

    /maillog
    Code:
    ay 11 13:00:41 its postfix/local[4377]: 1B5AD13D0349: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=7.3, delays=0.53/0/0/6.8, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    May 11 13:05:08 its postfix/cleanup[7312]: 6CF7B13D034C: message-id=<[email protected]>
    May 11 13:06:33 its postfix/smtpd[10394]: NOQUEUE: reject: RCPT from unknown[189.174.15.189]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<dsl-189-174-15-189-dyn.prod-infinitum.com.mx>
    May 11 13:07:58 its dovecot: pop3-login: Login: user=<web3_derek>, method=PLAIN, rip=::ffff:72.198.79.154, lip=::ffff:65.110.53.131
    May 11 13:08:01 its dovecot: POP3(web3_derek): Disconnected: Logged out top=0/0, retr=1/1591, del=1/1, size=1574
    May 11 13:09:51 its postfix/smtpd[12222]: NOQUEUE: reject: RCPT from 69.35.117.87.donpac.ru[87.117.35.69]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<69.35.117.87.donpac.ru>
    May 11 13:09:52 its postfix/smtpd[12179]: NOQUEUE: reject: RCPT from unknown[199.26.11.216]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<adulted-07>
    May 11 13:10:46 its postfix/smtpd[14639]: NOQUEUE: reject: RCPT from 97-88-246-214.static.mdsn.wi.charter.com[97.88.246.214]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<97-88-246-214.static.mdsn.wi.charter.com>
    May 11 13:12:27 its dovecot: pop3-login: Login: user=<web3_derek>, method=PLAIN, rip=::ffff:72.198.79.154, lip=::ffff:65.110.53.131
    May 11 13:12:28 its dovecot: POP3(web3_derek): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    May 11 13:13:00 its postfix/smtpd[15211]: NOQUEUE: reject: RCPT from smtp110.sbc.mail.mud.yahoo.com[68.142.198.209]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<derek@d
     
    Last edited: Sep 9, 2010
  8. crypted

    crypted New Member

    Till, I enabled it not knowing that. So I have lost all access. Any ideas on backtracking to resolve where email can work again?


    MailDir was enabled in the postconf for quite some time. Since I installed the server. I didn't enable MailDIR in the ISPCONFIG settings. All I did was enable that.

    If anyone can help me get this solved quickly I'll paypal a reward.
     
    Last edited: May 11, 2009
  9. crypted

    crypted New Member

  10. crypted

    crypted New Member

    I deleted and readded a user, solved their problem. I think that will be the way to solve this to let ISPCONFIG reconfigure every user that has issues.
     

Share This Page