Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strange problem with local mail

3 views
Skip to first unread message

Marc van Duivenvoorde

unread,
Oct 2, 2001, 4:10:43 AM10/2/01
to
I reinstalled postfix on my freebsd 4.3 release machine as my sendmail was suddenly pretty fu#$@^.But now I have a strange problem when mailing to local users.

Oct 2 10:01:46 unix-web01 sendmail[28790]: f9281kM28790: SYSERR(nobody): Cannot open hash database /etc/aliases.db: Inappropriate file type or format

It is a regular alias file which is created with the newaliases function. Has anyone had this before ??

Marc

--
http://www.ymondhc.com
-
To unsubscribe, send mail to majo...@postfix.org with content
(not subject): unsubscribe postfix-users

Ralf Hildebrandt

unread,
Oct 2, 2001, 4:12:07 AM10/2/01
to
On 2 Oct 2001 10:10:33 +0200, "Marc van Duivenvoorde" <ma...@ymondhc.com> wrote:
> I reinstalled postfix on my freebsd 4.3 release machine as my sendmail was suddenly pretty fu#$@^.But now I have a strange problem when mailing to local users.
>
> Oct 2 10:01:46 unix-web01 sendmail[28790]: f9281kM28790: SYSERR(nobody): Cannot open hash database /etc/aliases.db: Inappropriate file type or format

This is not Postfix, but sendmail (the REAL sendmail).


--
ralf.hil...@innominate.com innominate AG
Technical Consultant Don't be afraid of what you see -
Diplom-Informatiker be afraid of what you don't see!
tel: +49.(0)7000.POSTFIX fax: +49.(0)30.308806-77

Will Yardley

unread,
Oct 2, 2001, 4:16:14 AM10/2/01
to
Ralf Hildebrandt wrote:
> Marc van Duivenvoorde wrote:

> > I reinstalled postfix on my freebsd 4.3 release machine as my
> > sendmail was suddenly pretty fu#$@^.But now I have a strange problem
> > when mailing to local users.
> >
> > Oct 2 10:01:46 unix-web01 sendmail[28790]: f9281kM28790:
> > SYSERR(nobody): Cannot open hash database /etc/aliases.db:
> > Inappropriate file type or format
>
> This is not Postfix, but sendmail (the REAL sendmail).

did you install from ports? did you run 'make replace' or else link
'/usr/sbin/sendmail' to postfix's 'sendmail'?

w

--
GPG Public Key:
http://infinitejazz.net/will/pgp/

Will Yardley

unread,
Oct 2, 2001, 4:27:05 AM10/2/01
to
Marc van Duivenvoorde wrote:
> Will Yardley wrote:
> > Ralf Hildebrandt wrote:

> > > This is not Postfix, but sendmail (the REAL sendmail).

> > did you install from ports? did you run 'make replace' or else link
> > '/usr/sbin/sendmail' to postfix's 'sendmail'?

> I did install from the ports and I did a make replace, before I did
> that I deleted all old sendmail stuff including all the
> binaries....very weird.

[probably better to reply on list in case someone else knows something i
don't - in my case, there's a high liklihood of this]

what happens if you do:

% strings `which sendmail` |grep -i postfix

does this return any output?

perhaps the sendmail proc is still running? did you kill it before
running make replace and removing the binaries? what's the output of 'ps
auxwwwwww |grep sendmail'

Marc van Duivenvoorde

unread,
Oct 2, 2001, 5:04:49 AM10/2/01
to
Here's the output..

the Postfix sendmail command has set-uid root file permissions
the Postfix sendmail command must be installed without set-uid root file permissions
postfix
/usr/local/etc/postfix
Postfix-20010228-pl01
/var/spool/postfix
/usr/local/usr/libexec/postfix
postfix
Postfix
postfix/%s

And no sendmail is not running anymore..else I wouldn't be able to start postfix on the same port or would I.

Would a reboot or reinstall be a good idea ??

Marc van Duivenvoorde

--
http://www.ymondhc.com

Ralf Hildebrandt

unread,
Oct 2, 2001, 5:06:59 AM10/2/01
to
On 2 Oct 2001 11:04:42 +0200, "Marc van Duivenvoorde" <ma...@ymondhc.com> wrote:

> And no sendmail is not running anymore..else I wouldn't be able to
> start postfix on the same port or would I.

Depends on whether the real sendmail is started using -bd or not...

> Would a reboot or reinstall be a good idea ??

A bit harsh if you ask me.
Try restarting syslogd & then postfix stop && postfix start


--
ralf.hil...@innominate.com innominate AG
Technical Consultant Don't be afraid of what you see -
Diplom-Informatiker be afraid of what you don't see!
tel: +49.(0)7000.POSTFIX fax: +49.(0)30.308806-77

-

Marc van Duivenvoorde

unread,
Oct 2, 2001, 5:21:57 AM10/2/01
to
hhmm, strange indeed, when I mail to a local user using balsa it seems to be working, but when using neomail it hangs.

I'll go and check the neomail config now.

Marc van Duivenvoorde

--
http://www.ymondhc.com

0 new messages