6 Replies Latest reply: Feb 13, 2008 7:08 PM by HinckleyScott
HinckleyScott Level 1 Level 1 (0 points)
Hmmm...

I haven't tested my virtual domains yet (created with The Tutorial), but the local mail test I used went straight to queue and now shows up every time I start the mail server. What concerns me though is the error message about the empty option value on line 8 of configuration file.

Which configuration file?
main.cf - 8th line is a comment, 8th non-comment line is whitespace, 8th line of non-comment non-whitespace is "unknown_virtual_mailbox_reject_code = 450"

Note, all the domains I actually plan to use are virtual.

------------ Error message ------------------
Feb 8 15:24:07 TheServer postfix/master[5298]: daemon started -- version 2.4.3, configuration /etc/postfix
Feb 8 15:24:07 TheServer postfix/qmgr[5300]: D12B47D5C8: from=, size=2083, nrcpt=1 (queue active)
Feb 8 15:24:07 TheServer postfix/pipe[5304]: D12B47D5C8: to=<localaccount@TheServer.private>, relay=cyrus, delay=324, delays=324/0.02/0/0.12, dsn=4.3.0, status=deferred (temporary failure. Command output: 421 4.3.0 deliver: empty option value on line 8 of configuration file_ )

--------- main.cf (sans comments and whitespace) ----------
queue_directory = /private/var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = _postfix
unknown_local_recipient_reject_code = 450
unknown_local_recipient_reject_code = 450
unknown_virtual_alias_reject_code = 450
unknown_virtual_mailbox_reject_code = 450
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = _postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix/examples
readme_directory = /usr/share/doc/postfix
mydomain_fallback = localhost
message_size_limit = 10485760
mailbox_transport = cyrus
mailbox_size_limit = 0
myhostname = TheServer.private
enable_server_options = yes
inet_interfaces = localhost
smtpd_client_restrictions = permit_mynetworks reject_rbl_client zen.spamhaus.org permit
maps_rbl_domains =
smtpd_sasl_auth_enable = yes
smtpd_use_pw_server = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,permit
smtpd_pw_server_security_options = cram-md5
mynetworks = 127.0.0.1/32,192.168.0.0/24
virtual_transport = lmtp:unix:/var/imap/socket/lmtp
virtual_mailbox_domains = hash:/etc/postfix/virtual_domains_dummy
virtual_alias_domains = hash:/etc/postfix/virtual
content_filter = smtp-amavis:[127.0.0.1]:10024

MacMini Intel Core 2 Duo, Mac OS X (10.5.1)
  • pterobyte Level 6 Level 6 (10,910 points)
    Check line 8 of /etc/imapd.conf
    Probably an SSL setting hosed by Server Admin.

    Also, this looks odd:
    debugger_command =
    PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    xxgdb $daemon_directory/$process_name $process_id & sleep 5
    Maybe just a line wrap issue.
  • HinckleyScott Level 1 Level 1 (0 points)
    pterobyte, you know this software far too well.
    You'll notice lines 8 and 11 are malformed, I tried replacing them with the info from imapd.conf.default, but then got the errors listed below.
    ------- imapd.conf --------
    tlskeyfile: /etc/certificates/Default.key
    quotawarn_frequencydays: 1
    tlscertfile: /etc/certificates/Default.crt
    imapauth_crammd5: yes
    enablequotawarnings: yes
    popauthapop: yes
    servername: TheServer.private
    configdirectory:
    logrolling_daysenabled: 0
    imapauthclear: no
    partition-default:
    logrollingdays: 1
    popauthclear: no

    -------- imapd.conf.default values I tried ------------
    configdirectory: /var/imap
    partition-default: /var/spool/imap

    -------- POP log after replacing with values from imapd.conf.default --------
    Feb 9 00:42:23 TheServer pop3[7691]: DBERROR db4: /var/imap/db/__db.001: No such file or directory
    Feb 9 00:42:23 TheServer pop3[7691]: DBERROR: dbenv->open '/var/imap/db' failed: No such file or directory
    Feb 9 00:42:23 TheServer pop3[7691]: DBERROR: init() on berkeley
    Feb 9 00:42:23 TheServer pop3[7691]: DBERROR: reading /var/imap/db/skipstamp, assuming the worst: No such file or directory
    Feb 9 00:42:23 TheServer pop3[7691]: executed
    Feb 9 00:42:23 TheServer pop3[7691]: skiplist: recovered /var/imap/mailboxes.db (0 records, 144 bytes) in 0 seconds
    Feb 9 00:42:23 TheServer pop3[7691]: locking disabled: couldn't open socket lockfile /var/imap/socket/pop3-1.lock: No such file or directory
    Feb 9 00:42:23 TheServer pop3[7691]: accepted connection
    Feb 9 00:42:23 TheServer pop3[7691]: IOERROR: creating /var/imap/proc/7691: No such file or directory
    Feb 9 00:42:23 TheServer pop3[7691]: Fatal error: can't write proc file
    Feb 9 00:42:23 TheServer master[7619]: service pop3 pid 7691 in BUSY state: terminated abnormally
  • pterobyte Level 6 Level 6 (10,910 points)
    Is /var/imap where your mail database is?
    Is /var/spool/imap where your mail stores are?

    If not, you must indicate the paths where db and stores are. If yes, then you will need to reconstruct your mail database.
  • HinckleyScott Level 1 Level 1 (0 points)
    This is a clean Leopard install plus the steps in your tutorial. So I imagine there are not any mail stores or DB yet existing.
  • pterobyte Level 6 Level 6 (10,910 points)
    So you never used the mail server so far.

    Probably your mail db didn't get created at all for some reason. It should have though.

    Do these directories exist?:
    /var/imap
    /var/spool/imap

    If not create them and then download mailbfr from here: http://osx.topicdesk.com/tools/
    Issue "mailbfr -f" and this should take care of the problem.
  • HinckleyScott Level 1 Level 1 (0 points)
    Well, seems like something had indeed gone wrong with the install, I went ahead and nuked it and did a clean install.