Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-23-2004, 02:02 AM   #1
LQ Newbie
Registered: May 2003
Posts: 8

Rep: Reputation: 0
Postfix - "mail command not found"


I think my postfix installation is successful, coz' when I run it:
#rcpostfix start
Starting mail sevice (Postfix) done

But when I try to send out a test mail:
#mail test
bash - mail command not found

Incidently I ran:
#whereis mail
mail: etc/mail

I can't find this mail command. What do I need to install for this?

I may be mistaken, but isn't this also the default location for sendmail.
I uninstalled sendmail coz' YaST complained about a conflict with postfix.

How do I resolve this?

Sys specs:
SUSE Pro 9.1
postfix 2.0.9
cyrus-imapd 2.2.3
cyrus-sasl 2.1.18
Old 11-24-2004, 11:13 AM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Postfix will install it's own version of a sendmail binary..

Do which -a sendmail to find it (actually all copies within the PATH variable)
and make a link to it if you want to call it "mail"
Old 11-24-2004, 05:37 PM   #3
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
The "mail" command is not part of the sendmail or postfix source. Since I know nothing about the SUSE distro (like is it rpm based), then I can't offer much more help other than to say you will need to download/install the "mail" command separately. If SUSE is RPM based, then the mail command is part off the "mailx" rpm.
Old 01-21-2013, 03:52 AM   #4
LQ Newbie
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled

try "yum install mailx"


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"bash: rpm: command not found" errom when trying to install any package sandeepchau123 Linux - General 16 07-06-2008 03:58 AM
LFS 6.0 error: glibc fails check with "g++: command not found" peristaltic Linux From Scratch 1 03-15-2005 07:52 PM
Samba 3.0.0 installed on RH WS3, but "net join" command not found chloevu Linux - Networking 0 07-13-2004 03:20 PM
"autoreply" mail problem postfix rov3 Linux - General 5 05-13-2004 06:04 PM
Benoit's Alcatel - pppd call adsl "command not found" GM287 Linux - Networking 5 04-04-2004 09:56 AM > Forums > Linux Forums > Linux - Networking

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

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