Re: sendmail won't start

2006-10-03 Thread Philip Hallstrom

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...



[EMAIL PROTECTED] mail]# m4 freebsd.mc  sendmail.cf
[EMAIL PROTECTED] 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail won't start

2006-10-03 Thread wc_lists

Andy Greenwood wrote:

I compilied the sendmail.cf file, sendmail won't start. What am I
doing wrong here?
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


What happened to the first character on each line?  Those should read 
VERSIONID and FEATURE.  Perhaps you got some kind of junk or control 
characters in there?  Or saved it with dos-style cr-lf line delimiters?


  -wayne

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]