Send email from the command line (Konsole)

Brian McKee brian.mckee at gmail.com
Wed Nov 1 19:54:31 UTC 2006


On 01/11/06, OOzy Pal <oozypal at gmail.com> wrote:
> On 10/30/06, Brian McKee <brian.mckee at gmail.com> wrote:
> > On 30/10/06, OOzy Pal <oozypal at gmail.com> wrote:
> > > Guys/Gals,
> > >
> > > I really got addicted to the command line and sometime I need to send
> > > a quick email without firing up my Kmail or Thunderbird.
> > >
> > mailx is the traditional answer, but won't do attachments
> > mutt will do attachments
> > either will require postfix or similar running.
> >
>
> I have both postfix and mutt installed but I could not setup postfix.

What did you try?   Did you read the man page and or visit the postfix site?
See http://www.postfix.org/BASIC_CONFIGURATION_README.html

IIRC the last time I set up postfix I added a real account to the root
alias at the end of
/etc/postfix/aliases,  ran 'newaliases', and inserted
  mynetworks_style = host
  relayhost = [my outgoing smtp server name here]
into /etc/postfix/main.cf
and reloaded postfix

perhaps you missed the aliases step?  It won't start without a valid root alias

Brian




More information about the ubuntu-users mailing list