#1  
Old 28th February 2006, 14:04
rayit rayit is offline
Member
 
Join Date: Nov 2005
Posts: 93
Thanks: 0
Thanked 2 Times in 2 Posts
Default mail command

Hello

what is the easiest way to get the mail command?
Which package contains this program?

raydeb1:~/scripts# mail
bash: mail: command not found

thanks

RayIT
Reply With Quote
Sponsored Links
  #2  
Old 28th February 2006, 18:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Which distribution do you use?
On Debian, you can use apt-file to search the package that contains a certain file:

Code:
apt-get install apt-file
apt-file update
apt-file search mail
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st March 2006, 08:50
rayit rayit is offline
Member
 
Join Date: Nov 2005
Posts: 93
Thanks: 0
Thanked 2 Times in 2 Posts
Default debian mail command

Linux raydeb1 2.6.11.12-xen0 #1 Tue Feb 14 16:44:16 CET 2006 i686 GNU/Linux
Debian
I want to install as less as possible on the domO
but I have a script that uses the mail command on the prompt.

problem is
raydeb1:/home/rayit# mail
bash: mail: command not found

with the search option I get > 200 options

thanks

RayIT
Reply With Quote
  #4  
Old 1st March 2006, 09:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Run
Code:
apt-file search mail|more
to browse through the results.
You can also run
Code:
apt-file search /usr/bin/mail
as this is the full path to the mail program.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 6th March 2006, 16:34
rayit rayit is offline
Member
 
Join Date: Nov 2005
Posts: 93
Thanks: 0
Thanked 2 Times in 2 Posts
 
Red face thanks works

it works ..........................

installed mailutils
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant get mail after applying the update 2.1.2 mphayesuk Installation/Configuration 2 31st December 2008 14:48
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 19:29
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 19:13
Mail server jas_esp Server Operation 1 7th December 2005 18:17


All times are GMT +2. The time now is 14:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.