sendmail issues - make fails to create aliases.db in /etc/mail
kline at thought.org
Tue Jan 12 20:27:19 UTC 2010
On Tue, Jan 12, 2010 at 11:09:54AM -0700, Warren Block wrote:
> On Tue, 12 Jan 2010, Jim wrote:
> >make in /etc/mail fails (silently) to create aliases.db. I touched all
> >the source files I modified to make sure they would be rebuilt (since
> >the last rebuild failed).
> Just tried it here successfully, although I'd usually do newaliases.
> >[root at mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi
> >sendmail: -O option ignored
> >postalias: dict_eval: const Postfix
> >postalias: open hash /etc/aliases
> Looks like you're using postfix pretending to be sendmail. Evidently
> postfix doesn't build aliases.db the same way. You might try
Yeah, that might work. I had troubles with aliases and the database
and it didn't resolve itself until I ran newaliases. But newaliases is
just a symlink to /usr/sbin/mailwrapper. It calls /etc/mail/mail.conf
with newaliases which point to the *real* binary. That's where things
disappear down the rabbit hole.
Are you trying to run sendmail as postfix?
> -Warren Block * Rapid City, South Dakota USA
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
The 7.79a release of Jottings: http://jottings.thought.org/index.php
More information about the freebsd-questions