[lug] mail uses sendmail instead of postfix
Deva Samartha
blug-receive at mtbwr.net
Wed Mar 28 21:17:19 MST 2001
Just for the records:
Still don't know how to tell mail and mailx to avoid using sendmail and use
postfix instead but I found a solution.
I checked all binaries with name sendmail, but there is only one on the
systems and it looks like it's the original sendmail:
-r-sr-sr-x 1 root root 462412 Sep 20 2000 /usr/sbin/sendmail
I was able to fix 2 problems:
a.) setuid and setguid bits were not on - causing sendmail to fail
accessing some mailq directory with a permission problem.
b.) sendmail and postfix both used the same /etc/alises.db file causing a
problem with the format. Postfix alias.db is created with postalias,
sendmail's with newaliases and both formats differ. When newaliases is
used, postfix suffers and when postalias is used, sendmail is unhappy.
I changed the alias file in sendmail.cf to aliases.sendmail and ran
newaliases and - see there, it created an aliases.sendmail.db.
Seems to work now.
Samartha
At 10:41 AM 3/20/2001 -0700, you wrote:
>Postfix actually uses a binary named "sendmail" to well, send mail. If
>you did a postfix install/upgrade you will have that binary. Also, the
>aliases.db error is just from not running 'newaliases', but you may
>already know that...
>
>Justin
>
> > Hello,
> >
> > somehow postfix got installed after a SuSE upgrade (did not research
>the
> > causes) and - it works quite well except when mail is sent via the
>unix
> > mail command.
> >
> > The mail command somehow uses sendmail and this causes problems:
> >
> > Mar 19 00:15:00 puck sendmail[23146]: f2J7F0f23146: SYSERR(root):
>Cannot
> > open hash database /etc/aliases.db: Invalid argument
> >
> >
> > The aliases database formats differ and sendmail fails reading the
>aliases.
> >
> > How can I influence mail to use postfix instead of sendmail?
> >
> > Thanks,
> >
> > Samartha
> >
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >
> >
>
>-----
>glow at jackmoves.com
>www.jackmoves.com
>_______________________________________________
>Web Page: http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list