All services shows online but there are errors in mail.err log

Discussion in 'ISPConfig 3 Priority Support' started by pawan, Mar 12, 2016.

  1. pawan

    pawan Member

    It appear that there still some problem with the mailing system, which I am not able to fix
    The error logs in mail.err file is like this:
    Code:
    Mar 12 23:55:42 server1 postfix/tlsmgr[21811]: error: open database /var/lib/postfix/smtp_scache.db: Permission denied
    Mar 12 23:55:42 server1 postfix/tlsmgr[21811]: fatal: dictionary btree:/var/lib/postfix/smtp_scache is not a regular file
    Mar 12 23:56:31 server1 postfix/qmgr[21850]: fatal: qmgr_move: update active/757606044B2 time stamps: Operation not permitted
    Mar 12 23:56:33 server1 postfix/qmgr[21992]: fatal: qmgr_move: update active/757606044B2 time stamps: Operation not permitted
    Mar 12 23:56:34 server1 postfix/cleanup[21993]: fatal: defer: remove D621E601C10 log: Permission denied
    Mar 12 23:57:34 server1 postfix/qmgr[22040]: fatal: qmgr_move: update active/757606044B2 time stamps: Operation not permitted
    Mar 12 23:57:36 server1 postfix/cleanup[22041]: fatal: defer: remove 0EC49601D8C log: Permission denied
    Mar 12 23:57:36 server1 postfix/cleanup[22042]: fatal: defer: remove 123A7601D8E log: Permission denied
    Mar 12 23:57:37 server1 postfix/smtpd[22015]: fatal: unable to connect to the public cleanup service
    Mar 12 23:57:38 server1 postfix/cleanup[22044]: fatal: defer: remove 13B69601D8C log: Permission denied
    Mar 12 23:58:35 server1 postfix/qmgr[22072]: fatal: qmgr_move: update active/757606044B2 time stamps: Operation not permitted
    Mar 12 23:58:38 server1 postfix/cleanup[22073]: fatal: defer: remove 26074601C5B log: Permission denied
    Mar 12 23:59:36 server1 postfix/qmgr[22124]: fatal: qmgr_move: update active/757606044B2 time stamps: Operation not permitted
    Mar 12 23:59:40 server1 postfix/cleanup[22125]: fatal: defer: remove 27C5C601C9D log: Permission denied
    Mar 12 23:59:40 server1 postfix/cleanup[22126]: fatal: defer: remove 2B621601CBA log: Permission denied
    Mar 12 23:59:40 server1 postfix/cleanup[22127]: fatal: defer: remove 2F67F601CD2 log: Permission denied
    Mar 12 23:59:40 server1 postfix/cleanup[22128]: fatal: defer: remove 331E9601D8C log: Permission denied
    Mar 12 23:59:40 server1 postfix/cleanup[22129]: fatal: defer: remove 36BB3601D8E log: Permission denied
    Mar 12 23:59:41 server1 postfix/smtpd[22074]: fatal: unable to connect to the public cleanup service
    Mar 12 23:59:41 server1 postfix/smtpd[22075]: fatal: unable to connect to the public cleanup service
    Mar 12 23:59:41 server1 postfix/smtpd[22077]: fatal: unable to connect to the public cleanup service
    Mar 12 23:59:41 server1 postfix/smtpd[22076]: fatal: unable to connect to the public cleanup service
    Mar 13 00:00:17 server1 postfix/showq[22256]: fatal: open active 757606044B2: Permission denied
    Mar 13 00:00:37 server1 postfix/qmgr[22276]: fatal: qmgr_move: update active/757606044B2 time stamps: Operation not permitted
    Mar 13 00:00:42 server1 postfix/cleanup[22277]: fatal: defer: remove 99D32601BB8 log: Permission denied
    I have also run ispconfig update and reconfigure services, but these errors persist.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to run:

    postfix set-permissions
     
  3. pawan

    pawan Member

    I run the command and getting this output
    Code:
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    chown: cannot access `/usr/lib/postfix/dict_cdb.so': No such file or directory
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ok so far, does postfix start again?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    And you can also try to run:

    postfix upgrade-configuration
     
  6. pawan

    pawan Member

    Yes Postfix is running
    On running the command - postfix upgrade-configuration
    I am getting
    Code:
    pawan@server1:~$ sudo postfix upgrade-configuration
    [sudo] password for pawan:
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    
        Note: the following files or directories still exist but are no
        longer part of Postfix:
    
         /etc/postfix/postfix-files /etc/postfix/postfix-script
         /etc/postfix/post-install /usr/share/doc/postfix/QMQP_README
    
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_relay_restrictions=check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    That should be ok. You can probably comment out the line
    smtpd_relay_restrictions
    in main.cf, but it does not harm if you leave it as it is.
     
  8. pawan

    pawan Member

    Thank you very much Till. My now receiving mails.
    But still there are some new errors cropping up in mail.err log
    Code:
    Mar 14 13:42:32 server1 dovecot: lda([email protected]): Fatal: Invalid user settings. Refer to server log for more information.
    Mar 14 13:42:32 server1 dovecot: lda([email protected]): Error: chdir(/var/vmail/suncitypalace.co.in/info/) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /var/vmail/suncitypalace.co.in, dir owned by 0:0 mode=0700)
    Mar 14 13:42:32 server1 dovecot: lda([email protected]): Error: chdir(/var/vmail/suncitypalace.co.in/info) failed: Permission denied
    Mar 14 13:42:32 server1 dovecot: lda([email protected]): Error: user [email protected]: Initialization failed: Initializing mail storage from mail_location setting failed: stat(/var/vmail/suncitypalace.co.in/info/Maildir) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /var/vmail/suncitypalace.co.in, dir owned by 0:0 mode=0700)
    Mar 14 13:42:32 server1 dovecot: lda([email protected]): Fatal: Invalid user settings. Refer to server log for more information.
    Mar 14 13:42:36 server1 dovecot: lda([email protected]): Error: Corrupted index cache file /var/vmail/hotelkonark.net/info/Maildir/dovecot.index.cache: Invalid magic in hole header
    Mar 14 13:47:15 server1 dovecot: lda([email protected]): Error: sieve: msgid=<[email protected]>: failed to store into mailbox 'Junk': Quota exceeded (mailbox for user is full)
    Mar 14 13:47:15 server1 dovecot: lda([email protected]): Error: sieve: msgid=<[email protected]>: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full)
    Mar 14 13:47:15 server1 dovecot: lda([email protected]): Error: sieve: script /var/vmail/hospitalsanjivani.com/enquiry/.sieve failed with unsuccessful implicit keep (user logfile /var/vmail/hospitalsanjivani.com/enquiry/.sieve.log may reveal additional details)
    I can correct the error for quota exceeded. but what about - Error: sieve: script /var/vmail/hospitalsanjivani.com/enquiry/.sieve failed with unsuccessful implicit keep
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    The error means that the email could not be kept as the mailbox was full.
     
  10. pawan

    pawan Member

    Thanks Till, it means all errors relating to mail are resolved.
    Thank you once again.
     

Share This Page