Send/receive mail in text mode in ubuntu

Peter Garrett peter.garrett at optusnet.com.au
Thu Oct 4 19:28:06 UTC 2007


On Thu, 04 Oct 2007 11:56:47 -0400
Rashkae <ubuntu at tigershaunt.com> wrote:

> Wulfy wrote:
> 
> > total 7188
> > ...
> > lrwxrwxrwx 1 root root      5 2007-06-05 04:22 rmail -> exim4
> > ...
> > lrwxrwxrwx 1 root root      5 2007-06-05 04:22 rsmtp -> exim4
> > lrwxrwxrwx 1 root root      5 2007-06-05 04:22 runq -> exim4
> > ...
> > lrwxrwxrwx 1 root root      5 2007-06-05 04:22 sendmail -> exim4
> > ...
> > 
> > All the mail program names are links to exim4...
> > 
> > 
> 
> I think we're all saying the same thing, and at this point, only 
> debating how to say it.

Not quite. I have postfix installed and...

 $ ls -l /usr/sbin/sendmail 
-rwxr-xr-x 1 root root 19748 2007-03-29 00:40 /usr/sbin/sendmail

peter at prospero:~ $ dpkg -l postfix | grep ^ii
ii  postfix        2.3.8-2        A high-performance mail transport agent

peter at prospero:~ $ file /usr/sbin/sendmail
/usr/sbin/sendmail: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs),
stripped

$ dpkg -l sendmail | grep ^ii 
No packages found matching sendmail

$ dpkg -L postfix | grep sendmail
/usr/sbin/sendmail
/usr/share/man/man1/sendmail.1.gz
/usr/lib/sendmail


On another system, however, I use msmtp-mta for smtp with Mutt, and do not
have postfix installed at all. On that system sendmail does not exist, and
my ~/.muttrc has a line

$ grep sendmail  ~/.muttrc
set sendmail="/usr/bin/msmtp"

Not that it really matters, I suppose - the "sendmail" hook has to be
present one way or another for various things to work, evidently.

 -- 
Peter Garrett <peter.garrett at optusnet.com.au>




More information about the ubuntu-users mailing list