I continue to have parsing errors with recent builds. Same error as before (smtpd fails on startup with syntax errors). If I try to check the config file, I get:

   # smtpd -n
   /etc/mail/smtpd.conf:18: syntax error
   /etc/mail/smtpd.conf:26: syntax error

It objects to the following lines from the smtpd.conf (the whole file is at the bottom of this email):

   18:   table senders file:/etc/mail/senders
         ...
   26:   accept from any sender senders for any relay

Line 26, of course, should fail, if there is in fact a syntax error on the earlier line (18). But there should not be any error. The file senders is simply this:

   # cat /etc/mail/senders
   [email protected]
   [email protected]

Can you please tell me what I am doing wrong?

Thank you.


# dmesg|head -1
OpenBSD 5.8-current (GENERIC.MP) #1745: Mon Dec 14 09:31:43 MST 2015
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP


# cat /etc/mail/smtpd.conf
#       $OpenBSD: smtpd.conf,v 1.7 2014/03/12 18:21:34 tedu Exp $

# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.

pki callistus.datagenic.com certificate "/etc/ssl/callistus.datagenic.com.crt" pki callistus.datagenic.com key "/etc/ssl/private/callistus.datagenic.com.key"

listen on lo0
listen on egress tls pki callistus.datagenic.com auth-optional
# Turned on port 465 due to Thunderbird's inability to connect to port 587 without
# "pipelining not supported" errors
listen on egress port 465 tls-require pki callistus.datagenic.com auth
listen on egress port 587 tls-require pki callistus.datagenic.com auth

table aliases db:/etc/mail/aliases.db
table domains file:/etc/mail/domains
table senders file:/etc/mail/senders

# This rules allows outgoing mail from internal network to any destination
accept from source 162.229.162.98 for any relay
accept from source 162.229.162.100 for any relay
accept from source 162.229.162.103 for any relay

# accept all emails for relay if sender's address is in senders table
accept from any sender senders for any relay
#accept from any for any relay

accept from any for domain <domains> alias <aliases> deliver to mbox
accept from any for local alias <aliases> deliver to mbox
accept for any relay


--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to