Home Forums OS X Server and Client Discussion Mail Help I seem to have screwed up my Postfix config

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #367102
    stalcottsmith
    Participant

    How do you get back to a baseline stock Postfix config? ServerAdmin seems to take settings from some place other than main.cf.

    I copied /etc/postfix/main.cf.default back in place, removed /etc/MailServicesOther.plist, rebooted and got back into SA. It looked like a clean config. So I went about setting it up the way it used to be using the SA gui and it still doesn’t work.

    I enable SMTP and POP and IMAP and although the settings are checked, the services just don’t start.

    When I run postfix -v -v from the command line, I get:

    postfix: dict_update: mydomain_fallback =
    postfix: fatal: bad string length 0 < 1: mydomain_fallback = So then I added that back in and I seem to be able to start postfix by hand. However Mail still does not go "green" in SA and POP and IMAP are nowhere to be found. I feel so lost. Years ago I used to be a unix guru. This is humiliating. Anybody have an idea for me? I have to get my company mail back up. Steven

    #367103
    stalcottsmith
    Participant

    This seems to be the root of the IMAP / POP / email delivery problem. Postfix runs but it wont deliver anything.

    Sep 25 03:55:47 server01 postfix/pipe[1216]: DD4656DF80E: to=, relay=cyrus, delay=1, status=deferred (temporary failure. Command output: 421 4.3.0 deliver: empty option value on line 15 of configuration file_ )

    I have been hunting this nameless config file for hours. Is it main.cf ? cyrus.conf ?

    I cannot find any problems in any of those files now. What is it complaining about?

    Steve

    #367105
    stalcottsmith
    Participant

    Well we’re getting further. I have ditched SA altogether.

    I found the mysterious missing value in the /etc/imap.conf file. (nice error message huh?)

    Now this is my problem:

    Sep 25 04:12:25 server01 postfix/pipe[1423]: 58D446DF7C1: to=, relay=cyrus, delay=1687, status=deferred (temporary failure. Command output: couldn’t connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn’t connect to lmtpd_ )

    Apparently this thing is necessary to deliver. According to the man page it is started by master. So I need to figure out why master is not starting lmtp. I have experimented with different /etc/cyrus.conf files to no avail.

    Steven

    #367513
    schyth
    Participant

    hi steve,

    just a quick thanks. I turned on ssl on my mail server then turned it off again (os x 10.4). pop and imap then refused to start and the server gave the same error you describe (empty value in line 14 of config). removing line 14 from imapd.conf fixed it.

    regards,

    martin

    #370960
    kcary
    Participant

    Helpful thread. I started gettting this error after using ServerAdmin to add some relay domains (10.4.11). I edited line 14 of /etc/imapd.conf to ADD the name of my system as specified in my SSL cert (the line was tls_common_name: ) and the error with its resulting delivery failures, went away.

    I’m guessing some subsequent update added this config line to SA functionality and it puts it in when you change the config?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed