DIYMacServer » Postfix

11 posts

Not able to receive mail

started at 09 Oct 2006
started by no1tmorrow
last reply from no1tmorrow
  • no1tmorrow
    09 Oct 2006
    #

    When I send a message to myself i get this in the mail log.

    Oct 8 22:21:22 web-servers-computer postfix/master[286]: warning: process /usr/libexec/postfix/smtpd pid 315 exit status 1
    Oct 8 22:21:22 web-servers-computer postfix/master[286]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling


    Any ideas?

    I also had to add $myhostname to main.cf on mydomain_fallback because when I would try to start postfix it would give me and error like this

    postfix: fatal: bad string length 0 < 1: mydomain_fallback =

    This was working until it tried to secure the server using the instructions on the site (I am 100% positive I did something wrong and it is not the instructions).

    Thanks again
    Thom
  • no1tmorrow
    09 Oct 2006
    #

    I am also getting this in mail.log


    Oct 8 22:30:30 web-servers-computer postfix/smtpd[375]: fatal: unsupported dictionary type: mysql
  • 09 Oct 2006
    #

    The last message indicates something is wrong with your setup and you are using the original postfix that was installed per default on OS X. MySQL is not supported on the default postfix setup. If you execute postconf -m you can see all supported dictionary types.

    Please run a make install from the source if you still got it on your machine, if not re-compile from source.

    This might be the cause of all the other errors as well...
  • no1tmorrow
    09 Oct 2006
    #

    Here is the results

    static
    sdbm
    cidr
    regexp
    environ
    proxy
    btree
    unix
    hash


    Thus I assume I need to recompile. Will that destroy my settings?

    Thanks
    Thom
  • 09 Oct 2006
    #

    No it won't, if you run 'make install' the script won't replace you config files so don't worry.

    To make sure you end up with the correct postfix run postconf -m after installation. You should see mysql appear in the list.
  • no1tmorrow
    09 Oct 2006
    #

    Here is the new and improved list

    btree
    cidr
    environ
    hash
    mysql
    proxy
    regexp
    static
    unix


    I sent a test message and it works in roundcube but I will have to wait for the wife to wake up at home to do any additional testing.

    Email has worked in the past so how did mysql get out of the list?
  • no1tmorrow
    09 Oct 2006
    #

    **Edit**
    Actually it is the console.log not the mail.log
    **Edit**

    My mail.log read this:

    Oct 9 07:12:22 web-servers-computer postfix/smtpd[4561]: can't access srvtab file /etc/srvtab: No such file or directory


    is this normal?


    I tell you what, I think I have a major problem following directions. I seem to be the only one posting this many problems.

    Thanks Richard for Everything.
  • 09 Oct 2006
    #

    Thom, don't worry your not out of the ordinary with posting so many questions. You are just the first one to post them in the forum, which is why I put it up. Normally people would comment in the blog and I contacted them via email and help them out. Which means that the knowledge would stay hidden between the two of us. In this manner people can look in the forum and learn from earlier problems.

    The /etc/srvtab issue is also an old one, it's even in a comment somewhere in the blog. It's not a real bug just some annoying log entry as everything should work. Just create an empty file with the same name and the log entry won't appear anymore.

    About the dissapearance of postfix mysql, can't really tell what happened. I had one other person mailing me with the same problem. I guess the update 10.4.8 hase changed the postfix binary. I still haven't installed my intel mini with my setup (very busy at the moment) so I couldn't tell. It isn't mentioned in the knowledgebase.
  • no1tmorrow
    09 Oct 2006
    #

    Richard,
    I just did the 10.4.8 update last night before having all of these problems. So I would agree that 10.4.8 broke my postfix.



    Thanks again
    Thom
  • 09 Oct 2006
    #

    That's wierd, as I just read the list of updates again to make sure and it isn't listed as being updated ! I guess I have to write another blogpost warning other users.

    Any problems left ?
  • no1tmorrow
    09 Oct 2006
    #

    No more problems..... Today.


    I won't know for sure until I break something again.

    Thanks
    Thom

Reply

You must log in to post.