sendmail won't start

Philip Hallstrom freebsd at philip.pjkh.com
Tue Oct 3 10:49:17 PDT 2006


> I modified my local freebsd.mc file to add support for spamhaus. After
> I compilied the sendmail.cf file, sendmail won't start. What am I
> doing wrong here?

You have this:

FEATURE(dnsbl, 'sbl.spamhaus.org', 'Rejected - see http://www.spamhaus.org')

You want this:

FEATURE(dnsbl, `sbl.spamhaus.org', `Rejected - see http://www.spamhaus.org')

notice the difference in quoting...

>
> [lordnor at behemoth mail]# m4 freebsd.mc > sendmail.cf
> [lordnor at behemoth mail]# /etc/rc.d/sendmail start
> 554 5.0.0 /etc/mail/sendmail.cf: line 2: invalid argument to V line:
> "ERSIONID(FreeBSD: s"
> 451 4.0.0 /etc/mail/sendmail.cf: line 6: fileclass: cannot open
> 'ATURE(access_db,': No such file or directory
> 451 4.0.0 /etc/mail/sendmail.cf: line 7: fileclass: cannot open
> 'ATURE(blacklist_recipients)': No such file or directory
> 451 4.0.0 /etc/mail/sendmail.cf: line 8: fileclass: cannot open
> 'ATURE(local_lmtp)': No such file or directory
> 451 4.0.0 /etc/mail/sendmail.cf: line 9: fileclass: cannot open
> 'ATURE(mailertable,': No such file or directory
> 451 4.0.0 /etc/mail/sendmail.cf: line 10: fileclass: cannot open
> 'ATURE(virtusertable,': No such file or directory
> 451 4.0.0 /etc/mail/sendmail.cf: line 11: fileclass: cannot open
> 'ATURE(dnsbl,': No such file or directory
> 554 5.0.0 /etc/mail/sendmail.cf: line 25: MAILER(local): A= argument required
> 554 5.0.0 /etc/mail/sendmail.cf: line 26: MAILER(smtp): A= argument required
> 554 5.0.0 No local mailer defined
> 554 5.0.0 QueueDirectory (Q) option must be set
>
>
> You can see my freebsd.mc file at http://agreenftp.no-ip.com/crap/freebsd.mc
>
> -- 
> I'm nerdy in the extreme and whiter than sour cream
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list