LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-14-2006, 02:24 PM   #1
empororvader
LQ Newbie
 
Registered: Nov 2006
Location: Brentwood, TN
Posts: 4

Rep: Reputation: 0
Fedora Core: Sendmail and the sm-client


I am getting the following error when restarting sendmail:

[root@dedicated /]# service sendmail restart
Shutting down sendmail: [FAILED]
Shutting down sm-client: [FAILED]
Starting sendmail: [ OK ]
Starting sm-client: sendmail: fatal: flush queue mode requires no recipient
[FAILED]

Errors like this have been posted in other threads. But I have yet to see a solution addressing the issue with specifics...or perhaps I missed. I am certainly a beginner in the Linux world, so I may not have understood the solution if it was coded deeply in the replies.

If someone would please explain exactly how sm-client relates to sendmail. I am (reasonably) aware of sendmail and postfix on general terms and in the linux directories and MAN pages. I have been searching for the sm-client server/daemon in MAN pages and websites and have not been able to find anything on it at all, other than enclosed in similar error messages. Also, what are some commands to stop or restart the sm-client seperately. Is there a specific order that the servers should be restarted? Is there a reason that the sm-client typically fails? Does it matter for the sendmail server that sm-client failed to restart? I would assume this would be a definite "yes"...

I'm not even sure I understand the relation ship between postfix and sendmail, much less sendmail and the sm-client. Here is what I would guess ...and I am not going to be upset if I'm wrong:

- sm-client is a process that ??????

- sendmail is the process that transfers mail to/from given networks (MTA). Basically this is the delivery process. Given that sendmail stops and starts sm-client, the sm-client (which I assume is abbreviated for "sendmail-client") must act as a subprocess for sendmail. Perhaps packaging the messages from a MUA -- or sm-client might be "SquirrelMail" that we use as a web interface for mail (MUA).

- postfix is a process that controls the mail system (in this case sendmail). The sendmail would act as a subprocess for postfix. sm-client is, thus, also being used by postfix.

Am I even close on this?????? Please help me fill in some of the blanks.
 
Old 11-16-2006, 06:59 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Since you http://www.linuxquestions.org/questi...hreadid=208470 and http://www.linuxquestions.org/questi....php?p=2225329 mention Postfix it could be a mixup between running the "real" Sendmail and Postfix. If your /var/log/maillog shows errors about Postfix then it could be a problem with linkage in /etc/alternatives (see "alternatives --display mta") where Postfix is wrongly started as a form of "sendmail daemon" but with Sendmail arguments. Relinking should fix that. Sm-client is Sendmail (see "pgrep -lf Queue.runner" and /usr/share/docs/sendmail*).
 
Old 11-17-2006, 12:02 PM   #3
empororvader
LQ Newbie
 
Registered: Nov 2006
Location: Brentwood, TN
Posts: 4

Original Poster
Rep: Reputation: 0
Part of the answer....

Thank you for the reply. I'll check into the /etc/alternatives. I wasn't sure anyone wanted to reply Perhaps a setting somewhere calls the "postfix flush" command with an additional argument...or maybe sm-client has a similar command used to flush the mail queue? The message on the sm-client does talk about an argument that isn't needed....? That may be enough to get the failures to stop.

However, running any of the three commands
service sendmail stop
service sendmail start
service sendmail restart

shows a pair (or two for restart) for each sendmail and sm_client. So they are each seperate services/daemons, or why would they be listed like that together? Is sm-client an older (or newer) version of sendmail??? They must be two different services...or two different copies?

Just checked and this is the contents of "/etc/alternatives":
[root@localhost root]# more /etc/alternatives

*** /etc/alternatives: directory ***

[root@localhost root]#


Contents of "/usr/share/docs/sendmail" (or lack of):
[root@localhost root]# more /usr/share/docs/sendmail
/usr/share/docs/sendmail: No such file or directory
[root@localhost root]#


Running the command "pgrep -lf Queue.runner":
[root@localhost root]# pgrep -lf Queue.runner
[root@localhost root]#


I'm not sure I know what I was supposted to do with these, but I am not sure where the link settings for the sm-client are from here. But I may just be ignorant of the obvious commands that are possible, so please fill me in if there are any. I also cannot locate it as a service or run service commands with it either. Is there a special way that sm-client has to be run? I looked for a man page on it....none found.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora/Core server and sendmail trouble eudora Linux - Networking 2 07-18-2006 11:22 AM
dovecot , sendmail and fedora core 2 ScooterB Linux - Software 6 01-05-2005 11:38 AM
Sendmail on Fedora Core 1 sp!d3rm@n Linux - Newbie 9 07-29-2004 10:33 AM
Sendmail on Fedora Core 2? carlosinfl Fedora 0 07-26-2004 10:35 PM
sendmail installed as default in fedora core 1 justinlq.org Fedora 2 11-13-2003 09:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration