post fix error after a year

Discussion in 'Server Operation' started by aberrio, May 4, 2009.

  1. aberrio

    aberrio New Member

    Hello,

    After almost a year in production I am getting the following errors. I have not ghanged configuration, server has working fine. Any Ideas?

    May 3 22:14:08 mail postfix/trivial-rewrite[2930]: warning: do not list domain mail.XXXXXXXXXX.xxx in BOTH mydestination and virtual_mailbox_domains


    May 3 22:14:08 mail postfix/smtpd[3259]: warning: database /etc/aliases.db is older than source file /etc/aliases
    May 3 22:14:08 mail postfix/smtpd[3259]: warning: connect to private/tlsmgr: Connection refused
    May 3 22:14:08 mail postfix/smtpd[3259]: warning: problem talking to server private/tlsmgr: Connection refused
    .
    .
    .
    May 3 22:34:19 mail postfix/smtpd[3901]: warning: database /etc/aliases.db is older than source file /etc/aliases
    May 3 22:34:19 mail postfix/smtpd[3901]: warning: connect to private/tlsmgr: Connection refused
    May 3 22:34:19 mail postfix/smtpd[3901]: warning: problem talking to server private/tlsmgr: Connection refused
    May 3 22:34:20 mail postfix/smtpd[3901]: warning: connect to private/tlsmgr: Connection refused
    May 3 22:34:20 mail postfix/smtpd[3901]: warning: problem talking to server private/tlsmgr: Connection refused
    May 3 22:34:20 mail postfix/smtpd[3901]: warning: no entropy for TLS key generation: disabling TLS support
    May 3 22:36:21 mail postfix/smtpd[3957]: warning: database /etc/aliases.db is older than source file /etc/aliases
    May 3 22:36:21 mail postfix/smtpd[3957]: warning: connect to private/tlsmgr: Connection refused
    May 3 22:36:21 mail postfix/smtpd[3957]: warning: problem talking to server private/tlsmgr: Connection refused




    Regards,

    AL
     
  2. topdog

    topdog Active Member

    run the command
    Code:
    postmap /etc/aliases
    Then remove mail.XXXXXXXXXX.xxx from mydestinations since you are using it as a virtual domain
     
  3. aberrio

    aberrio New Member

    I had done that, what about " connection refused" error. I belive becouse this error I anot able to receved email. All connections to the server are refused. I had tried sending email from different providers and no good


    This is the output


    mail:~ # postmap /etc/aliases
    postmap: warning: /etc/aliases, line 17: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 20: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 23: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 24: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 25: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 26: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 27: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 28: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 29: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 30: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 31: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 32: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 33: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 34: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 35: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 36: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 37: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 38: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 39: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 41: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 44: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 45: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 46: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 47: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 48: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 49: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 50: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 51: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 52: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 53: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 54: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 56: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 57: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 58: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 59: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 60: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 61: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 62: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 63: record is in "key: value" format; is this an alias file?
    postmap: warning: /etc/aliases, line 91: record is in "key: value" format; is this an alias file?
    mail:~ #





    Regards

    Al
     
    Last edited: May 4, 2009
  4. aberrio

    aberrio New Member

    I managed to clear all error but I am receiving mail from outside, I am able to send but not recevie any suggestion. BTW IP is not blacklisted.

    regards,

    Al
     
    Last edited: May 5, 2009
  5. aberrio

    aberrio New Member

    Hello

    I manage to fix my problem, main file was corrupted. I restore a backup mail server working again.

    Best regards,

    Al
     
  6. Ovidiu

    Ovidiu Active Member

    what file was corrupt? I was getting
    and when I tried postmap /etc/aliases I am now getting
    too, but otherwise all seems fine

    ###edit###
    found the solution in this thread: http://www.howtoforge.com/forums/showthread.php?t=16589
     
    Last edited: May 5, 2009
  7. Denver Prophit Jr.

    Denver Prophit Jr. New Member

    Code:
    denverpr@artemis:~$ /usr/sbin/postmap /etc/aliases
    postmap: fatal: open /etc/aliases.db: Permission denied
    denverpr@artemis:~$ ls -al /etc/aliases.db
    -rw-r--r-- 1 root root 12288 Jun 28 03:27 /etc/aliases.db
    
     

Share This Page