Mail Issues...

Discussion in 'Installation/Configuration' started by nok, Mar 20, 2006.

  1. nok

    nok New Member

    On my server mail works for all domains apart from one. I had an issue with.procmailrc being a suspicious file which has now been resolved but for the same domain i get the following problem in the procmail.log file....

    mail is being put in to.... /var/mail/web19_admin

    it should go into.... /home/www/web19/user/web19_admin/Maildir/



    Any idea how I can resolve this!?
    ________
    TICKETMASTER GIFT CARDS
    ________
    Jailbroken
     
    Last edited: Apr 22, 2011
  2. falko

    falko Super Moderator Howtoforge Staff

    You must enable Maildir in ISPConfig: Management -> Server -> Settings -> Email.
     
  3. nok

    nok New Member

    Last edited: Apr 22, 2011
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Is the mail stored in /var/mail/web19_admin or in /var/mail/web19_admin/Maildir ?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Please check the .procmail recipes of your users (they are in each user's homedir) if they start with

    Code:
    MAILDIR=$HOME/Maildir/
    DEFAULT=$MAILDIR
     
  6. nok

    nok New Member

    Code:
    MAILDIR=$HOME/Maildir/
    DEFAULT=$MAILDIR
    
    INCLUDERC=/home/www/web19/user/web19_admin/.mailsize.rc
    INCLUDERC=/home/www/web19/user/web19_admin/.quota.rc
    ## INCLUDERC=/home/www/web19/user/web19_admin/.antivirus.rc
    ## INCLUDERC=/home/www/web19/user/web19_admin/.local-rules.rc
    ## INCLUDERC=/home/www/web19/user/web19_admin/.html-trap.rc
    ## INCLUDERC=/home/www/web19/user/web19_admin/.spamassassin.rc
    ## INCLUDERC=/home/www/web19/user/web19_admin/.autoresponder.rc
    
    ________
    Vaporizer review
     
    Last edited: Apr 22, 2011
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats OK. Please answer also my question:

    http://www.howtoforge.com/forums/showpost.php?p=19949&postcount=4
     
  8. nok

    nok New Member

    Last edited: Apr 22, 2011
  9. falko

    falko Super Moderator Howtoforge Staff

    Please post the output of
    Code:
    repquota -avug | grep web19
     
  10. nok

    nok New Member

    Last edited: Apr 22, 2011
  11. falko

    falko Super Moderator Howtoforge Staff

    That's ok. Did you change the quota in the past few days?
     
  12. nok

    nok New Member

    Last edited: Apr 22, 2011
  13. falko

    falko Super Moderator Howtoforge Staff

    That might be the problem! procmail (which delivers the incoming mails to their mail boxes) doesn't like it at all if there's something wrong with permissions. Normally something like this is logged in the mail log.
     
  14. nok

    nok New Member

    Code:
    Mar 24 18:00:07 webserver postfix/smtpd[3581]: unable to get certificate from '/etc/postfix/ssl/smtpd.crt'
    Mar 24 18:00:07 webserver postfix/smtpd[3581]: 3581:error:02001002:system library:fopen:No such file or directory:bss_file.c:278:fopen('/etc/postfix/ssl/smtpd.crt','r'):
    Mar 24 18:00:07 webserver postfix/smtpd[3581]: 3581:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
    Mar 24 18:00:07 webserver postfix/smtpd[3581]: 3581:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:760:
    Mar 24 18:00:07 webserver postfix/smtpd[3581]: TLS engine: cannot load RSA cert/key data
    Mar 24 18:00:13 webserver postfix/smtpd[3581]: connect from zproxy.gmail.com[64.233.162.194]
    Mar 24 18:00:13 webserver postfix/smtpd[3581]: 73CF03D614D: client=zproxy.gmail.com[64.233.162.194]
    Mar 24 18:00:13 webserver postfix/cleanup[3584]: 73CF03D614D: message-id=<000601c64f6c$9b47bcf0$0400a8c0@laptop>
    Mar 24 18:00:13 webserver postfix/qmgr[26629]: 73CF03D614D: from=<[email protected]>, size=2168, nrcpt=1 (queue active)
    Mar 24 18:00:13 webserver procmail[3586]: Suspicious rcfile "/home/www/web19/.procmailrc"
    Mar 24 18:00:14 webserver postfix/local[3585]: 73CF03D614D: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
    Mar 24 18:00:14 webserver postfix/qmgr[26629]: 73CF03D614D: removed
    
    Code:
    Suspicious rcfile "/home/www/web19/.procmailrc"
    I have removed this error before but it's back again! Can you advise me on exact steps to resolve this? :(
     
  15. falko

    falko Super Moderator Howtoforge Staff

    /home, /home/www and /home/www/web19 must have 755 permissions, and /home/www/web19/.procmailrc must have 644 permissions and belong to the user root and the group root.
    Code:
    Mar 24 18:00:07 webserver postfix/smtpd[3581]: unable to get certificate from '/etc/postfix/ssl/smtpd.crt'
    Mar 24 18:00:07 webserver postfix/smtpd[3581]: 3581:error:02001002:system library:fopen:No such file or directory:bss_file.c:278:fopen('/etc/postfix/ssl/smtpd.crt','r'):
    Mar 24 18:00:07 webserver postfix/smtpd[3581]: 3581:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
    Mar 24 18:00:07 webserver postfix/smtpd[3581]: 3581:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:760:
    Try to fix this error. Have a look at the Postfix configuration in the "Perfect Setup" tutorials.
     

Share This Page