Peter Boosten wrote:
Rem P Roberti wrote:
I just finished installing clamav with clamav-milter and everything
seems to be loading fine via rc.conf.  But I get this message at bootup
and I have no idea what gives:

554 5.0.0 /etc/mail/ line 48: unknown configuration line "
Jan  7 23:32:32 bsd sm-mta[1307]: NOQUEUE: SYSERR(root):
line 48: unknown configuration line "\n"

I suppose you modified your sendmail config through the .mc-file.

Can you show us that one?

Here is the complete contents of the file I modified, which is a copy of

VERSIONID(`$FreeBSD: src/etc/sendmail/,v 2008/08/31 18:26:27 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m') FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl       your permission.
dnl FEATURE(relay_based_on_MX)

dnl DNS based black hole lists
dnl --------------------------------
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit

dnl Uncomment to activate Realtime Blackhole List
dnl information available at
dnl NOTE: This is a subscription service as of July 31, 2001
dnl FEATURE(dnsbl)
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl, `', ``"550 Mail from " $&{client_addr} " rejected, see"; $&{client_addr}'')

dnl Dialup users should uncomment and define this appropriately
dnl define(`SMART_HOST', `your.isp.mail.server')

dnl Uncomment the first line to change the location of the default
dnl /etc/mail/local-host-names and comment out the second line.
dnl define(`confCW_FILE', `-o /etc/mail/')
define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')

The only line I modified was the 5th line down beginning "INPUT_MAIL_FILTER..."

_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to