Home › Forums › OS X Server and Client Discussion › Mail › Help I seem to have screwed up my Postfix config
- This topic has 4 replies, 3 voices, and was last updated 17 years, 3 months ago by
kcary.
-
AuthorPosts
-
September 25, 2006 at 7:59 am #367102
stalcottsmith
ParticipantHow 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. StevenSeptember 25, 2006 at 8:02 am #367103stalcottsmith
ParticipantThis 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
September 25, 2006 at 8:39 am #367105stalcottsmith
ParticipantWell 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
November 3, 2006 at 8:57 am #367513schyth
Participanthi 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
January 4, 2008 at 4:39 pm #370960kcary
ParticipantHelpful 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?
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed