Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2006 12:56:00 -0500 (CDT)
From:      Philip Hallstrom <freebsd@philip.pjkh.com>
To:        Andy Greenwood <greenwood.andy@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: sendmail won't start
Message-ID:  <20061003125457.D51511@bravo.pjkh.com>
In-Reply-To: <3ee9ca710610031037s231f536cs7f97c22b7a674488@mail.gmail.com>
References:  <3ee9ca710610031037s231f536cs7f97c22b7a674488@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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@behemoth mail]# m4 freebsd.mc > sendmail.cf
> [lordnor@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061003125457.D51511>