Welcome, Guest
Please Login or Register.
Lost Password?
Re: Re: sendmail vs postfix (1 viewing)
Post Reply

TOPIC: Re: Re: sendmail vs postfix

#1980
DanLong (User)
Posts: 431
graphgraph
sendmail vs postfix 2006/05/17 09:07  
I'm trying to change to sendmail on VirtualminPro and keep running into the same problem. I go in and stop postfix, make sure it's stoppped (well hit refresh anyway), then when I try to start sendmail I get this error:

Failed to start sendmail :
Starting sendmail: [[ OK ]]
Starting sm-client: sendmail: fatal: flush queue mode requires no recipient
[[FAILED]]
when I go back I see postfix running again.
  The administrator has disabled public write access.
#1984
DanLong (User)
Posts: 431
graphgraph
Re: sendmail vs postfix 2006/05/17 20:35  
How do I shut off postfix? I don't see anyway that actually keeps it shutdown. I don't seem to be able to start sendmail with another MTA running. I check back and there is postfix still running after I shut it down.



May 17 20:11:55 hosta sendmail: sm-client shutdown failed
May 17 20:11:55 hosta sendmail: sendmail startup succeeded
May 17 20:11:55 hosta sendmail: sendmail: fatal: flush queue mode requires no recipient
May 17 20:11:56 hosta sendmail: sm-client startup failed
May 17 20:14:01 hosta sendmail: sendmail shutdown failed
May 17 20:14:01 hosta sendmail: sm-client shutdown failed
May 17 20:14:01 hosta sendmail: sendmail startup succeeded
May 17 20:14:01 hosta sendmail: sendmail: fatal: flush queue mode requires no recipient
May 17 20:14:02 hosta sendmail: sm-client startup failed
May 17 20:15:06 hosta su(pam_unix)[[7018]]: session opened for user postgres by (uid=0)
May 17 20:15:06 hosta su(pam_unix)[[7018]]: session closed for user postgres
  The administrator has disabled public write access.
#1985
jpenix (User)
Posts: 31
graphgraph
Re: sendmail vs postfix 2006/05/18 02:20  
Wait I'm confused... where are you seeing Postfix running? The log you posted only shows lines about sendmail and PostgreSQL... nothing about Postfix.

And the error you're getting with Sendmail isn't because Postfix is still running. If that were the case you'd get errors about Sendmail not being able to bind to port 25.

You might want to search Google on the "fatal: flush queue mode requires no recipient" error and see what the solution is.
  The administrator has disabled public write access.
#1988
DanLong (User)
Posts: 431
graphgraph
Re: sendmail vs postfix 2006/05/18 07:20  
Hi,
I assume postfix is running because everytime I return to the postfix module the button says stop postfix.

I even took postfix out of bootup yet it shows up as running

Doing a google search I found this interesting note:

""> The output said:
> Starting sendmail: [[ OK ]]
> Starting sm-client: sendmail: fatal: flush queue mode requires no
> recipient
> [[FAILED]]
>
> Does not look like Postfix to me.


Yes, the usual RedHat insanity. Suppress real output, replace by
meaningless self-generated output.""

But I got no answer on this fatal flush queue thing, except to revert to postfix.

  The administrator has disabled public write access.
#2035
DanLong (User)
Posts: 431
graphgraph
Re: sendmail vs postfix 2006/05/24 09:11  
This turned out to be a RH feature thingy. I needed to actually go root and and use a routine to turn one or the other off.
  The administrator has disabled public write access.
#2743
michaelhumphries (User)
Posts: 2
graphgraph
Re: sendmail vs postfix 2006/09/26 10:44  
can you elaborate on this RH Thingy as i am having the same problem and cannot find a good answer to this
  The administrator has disabled public write access.
#2744
ADobkin (User)
Posts: 183
graphgraph
Re: sendmail vs postfix 2006/09/26 10:58  
I think he is talking about "alternatives". Try the following commands for more information:

alternatives (should be in /usr/sbin by default)

man alternatives

alternatives --display mta

ls -l /etc/alternatives
  The administrator has disabled public write access.
#2751
Joe (Admin)
Posts: 4213
graph
Re: Re: sendmail vs postfix 2006/09/26 22:22  
Alan is quite right. Using the alternatives command for the switch is strongly recommended (you can do it manually, but you'll end up breaking stuff if you don't get the steps and links exactly right).

I'll also add that "alternatives" isn't just a "Red Hat thingy". It is also the recommended way to make this kind of change on Debian and Ubuntu, as well (in fact, it was created for Debian and Red Hat/Fedora adopted it as the "Right Way" to handle this particular set of problems). I suspect many other distros also use alternatives.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.