Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41

Thread: Postfix internal mail server breaks....

  1. #1

    Default Postfix internal mail server breaks....

    update from a previous 11.1 install to 11.2 RC2 seems to have left a previous working internal maildelivery broken. After update, yast2 mail server was no longer an active process and setup thru yast2 was run again using standard mode with no connection.... problem solved... not!

    no mail delivery with sent mail trapped in maildrop folder.

    mail.err log:

    Nov 9 16:24:49 blkdragon postfix/qmgr[29978]: fatal: open database /etc/postfix/relay.db: No such file or directory
    Nov 9 16:24:53 blkdragon postfix/cleanup[30005]: fatal: open database /etc/postfix/relay.db: No such file or directory

    i can see no glaring errors in /etc/postfix/main.cf, and i'm a bit mystified why it would look for available relays (relay.db does not exist in /etc/postfix) on a standard setup, hoping someone has been through this before.

    Thanks in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Postfix internal mail server breaks....

    I've never seen /etc/postfix/relay.db before, but if there is a /etc/postfix/relay, then run

    postmap /etc/postfix/relay

    to generate relay.db. If that works, then add relay to POSTFIX_MAP_LIST in /etc/sysconfig/postfix.

  3. #3

    Default Re: Postfix internal mail server breaks....

    thanks for your reply ken,

    the suggestion did indeed eliminate the previous error msg, but now i have others:

    Nov 10 10:08:49 blkdragon postfix/pickup[10252]: B1D571FA6E: uid=1000 from=<blkdragon@localhost>
    Nov 10 10:08:49 blkdragon postfix/cleanup[12792]: B1D571FA6E: message-id=<200911101008.49479.blkdragon@localhost>
    Nov 10 10:08:49 blkdragon postfix/qmgr[10254]: B1D571FA6E: from=<blkdragon@localhost.localdomain>, size=495, nrcpt=1 (queue active)
    Nov 10 10:08:50 blkdragon postfix/smtp[12258]: connect to blkdragon.site[208.69.36.132]:25: No route to host
    Nov 10 10:08:50 blkdragon postfix/smtp[12258]: B1D571FA6E: to=<root@blkdragon.site>, relay=none, delay=0.51, delays=0.22/0/0.28/0, dsn=4.4.1, status=deferred (connect to blkdragon.site[208.69.36.132]:25: No route to host)

    then in the other log file:

    Nov 10 10:28:49 blkdragon postfix/local[20894]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled

    i believe i need to find the reason it was looking for a relay (unneeded) in the first place, if all i'm looking to accomplish is local machine messaging.

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Postfix internal mail server breaks....

    It thinks blkdragon.site is an external host so it's trying to send the mail outside your LAN. I don't know how your email got addressed to root@blkdragon.site. Did you enter that explicitly or did it get rewritten from root@localdomain or what? I have no idea, not knowing how you set your system up.

  5. #5

    Default Re: Postfix internal mail server breaks....

    thanks for the feedback, Ken... actually my paste was second try at directing mail to root... (root@localhost then root@sitename).

    I'll dig deeper into this, my concern was that somehow the existing config files were not upgraded properly when postfix was updated because it worked perfectly before.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,203
    Blog Entries
    15

    Default Re: Postfix internal mail server breaks....

    Quote Originally Posted by j xavier
    thanks for the feedback, Ken... actually my paste was second try at
    directing mail to root... (root@localhost then root@sitename).

    I'll dig deeper into this, my concern was that somehow the existing
    config files were not upgraded properly when postfix was updated because
    it worked perfectly before.
    Hi
    Looks like a bug, see this;
    http://lists.opensuse.org/opensuse/2.../msg01102.html

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
    up 16:14, 3 users, load average: 0.27, 0.07, 0.03
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  7. #7
    Join Date
    Feb 2009
    Location
    USA
    Posts
    13

    Default Re: Postfix internal mail server breaks....

    Quote Originally Posted by ken_yap View Post
    I've never seen /etc/postfix/relay.db before, but if there is a /etc/postfix/relay, then run

    postmap /etc/postfix/relay

    to generate relay.db. If that works, then add relay to POSTFIX_MAP_LIST in /etc/sysconfig/postfix.
    This does appear to be an upgrade bug. Yesterday, I upgraded from 11.1 to 11.2. Today, I discovered the same problem as reported above -- no local mail delivery and relay.db errors in the mail.err log. After applying your workaround, local mail started working again.

    Thanks for your post!

  8. #8

    Default Re: Postfix internal mail server breaks....

    Thanks very much. This solution works for me also. My postfix appeared broken after upgrading to 11.2, but is fixed again.

  9. #9

    Thumbs up Re: Postfix internal mail server breaks....

    Had the same problem after update to 11.2
    My fix was:

    disable_dns_lookups = yes

    Josef

  10. #10

    Default Re: Postfix internal mail server breaks....

    ah, just revisited this thread to convey my eventual solution and i see that some others had the same result.

    my haste to fix made me err in opening the Yast2 Mail Server module and starting a Standard server (which i didn't need), therefore ken_yap's solution didn't immediately work.

    when the lightbulb came on, i went to Yast2>SysConfigEditor>Network>Mail>General>Config_Type and changed it back to "undef" (revoking the Standard Mail server i had initiated previously).......and then did the "postmap..etc" command that ken previously gave to generate the relay.db file. then "postfix reload" and it was fixed.

    thanks again ken

    guess all that upgraded from 11.1 will run into this.

Page 1 of 5 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •