Re: exim4 query
In <20090617215741.ga6...@blitz.hooton>, Douglas A. Tutty wrote: >On Wed, Jun 17, 2009 at 10:52:18AM -0500, Boyd Stephen Smith Jr. wrote: >> In <3df35b760906170818re166e28x8be9006d7...@mail.gmail.com>, Yuriy >> Kuznetsov wrote: >> >Could you give some commands as examples of sending emails with exim4, >> >please? >> printf 'dot-stuffed-Headers\n\ndot-stuffed-Body of message' | \ >> /usr/sbin/sendmail Oh, you'll want to list recipients on the sendmail command-line. I forgot that. >This may be what he meant, but isn't that for which he asked. The one I left quoted is. /usr/sbin/sendmail is a symlink to exim4 when you have exim4 installed. I guess I could have made that clearer by saying: printf 'Headers\n\nBody' | /usr/sbin/exim4 -i 'recipient#1' 'recipient#2' >To answer Yuriy's question, I don't know enough SMTP to be able to talk >to exim directly to send a mail with exim4. You don't have to. exim4 acts as a sendmail replacement, so it will accept emails on stdin. (This will also bypass certain SMTP-only ACLs.) >mailx works well for scripts or short emails from the command line. For >normal everyday use, install mutt. That's certainly not what he asked, but I agree. -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/\_/ signature.asc Description: This is a digitally signed message part.
Re: exim4 query
On Wed, Jun 17, 2009 at 10:52:18AM -0500, Boyd Stephen Smith Jr. wrote: > In <3df35b760906170818re166e28x8be9006d7...@mail.gmail.com>, Yuriy > Kuznetsov wrote: > >Could you give some commands as examples of sending emails with exim4, > >please? > > Install bsd-mailx. > echo 'Body of the message' | mailx -s 'Subject Line' 'to#1' 'to#2' > > OR > > printf 'dot-stuffed-Headers\n\ndot-stuffed-Body of message' | \ > /usr/sbin/sendmail This may be what he meant, but isn't that for which he asked. To answer Yuriy's question, I don't know enough SMTP to be able to talk to exim directly to send a mail with exim4. mailx works well for scripts or short emails from the command line. For normal everyday use, install mutt. Doug. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: exim4 query
Thanks a lot to all for your input. Kind regards, yuriy
Re: exim4 query
In <3df35b760906170818re166e28x8be9006d7...@mail.gmail.com>, Yuriy Kuznetsov wrote: >Could you give some commands as examples of sending emails with exim4, >please? Install bsd-mailx. echo 'Body of the message' | mailx -s 'Subject Line' 'to#1' 'to#2' OR printf 'dot-stuffed-Headers\n\ndot-stuffed-Body of message' | \ /usr/sbin/sendmail -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/\_/ signature.asc Description: This is a digitally signed message part.
Re: exim4 query
Doug, Could you give some commands as examples of sending emails with exim4, please? Thanks a lot On Wed, Jun 17, 2009 at 2:36 PM, Douglas A. Tutty wrote: > On Wed, Jun 17, 2009 at 12:10:17PM +0100, Yuriy Kuznetsov wrote: > > > > I'm trying to figure out how to use exim4 for sending/receiving mails in > > console mode. > > Any recommendation for good instructions/how-tos ? > > I think that the only way to dirctly tell exim4 to send mail is to speak > SMTP to it, since it is a Mail Transfer Agent. Most people use a Mail > User Agent to talk to it, e.g. mutt. Receiving mail, for most people, > is done with a mail fetcher, e.g. fetchmail, that pulls the mail from a > POP or IMAP server, hands it off to your local exim4 MTA, which puts it > in your mailbox. You then read the mail with your MUA, e.g. mutt. > > Doug. > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > >
Re: exim4 query
On Wed, Jun 17, 2009 at 12:10:17PM +0100, Yuriy Kuznetsov wrote: > > I'm trying to figure out how to use exim4 for sending/receiving mails in > console mode. > Any recommendation for good instructions/how-tos ? I think that the only way to dirctly tell exim4 to send mail is to speak SMTP to it, since it is a Mail Transfer Agent. Most people use a Mail User Agent to talk to it, e.g. mutt. Receiving mail, for most people, is done with a mail fetcher, e.g. fetchmail, that pulls the mail from a POP or IMAP server, hands it off to your local exim4 MTA, which puts it in your mailbox. You then read the mail with your MUA, e.g. mutt. Doug. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: exim4 query
On Wed, Jun 17, 2009 at 12:10:17PM +0100, Yuriy Kuznetsov wrote: > Hi, > > I'm trying to figure out how to use exim4 for sending/receiving mails in > console mode. > Any recommendation for good instructions/how-tos ? I normally use mutt . Though the simple mail will also do: echo 'message body' | mail -s 'subject line' some...@example.org -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
exim4 query
Hi, I'm trying to figure out how to use exim4 for sending/receiving mails in console mode. Any recommendation for good instructions/how-tos ? Kind regards