Guys,
using echo hello | sendmail -s test john.black@vpnmail.ru fails. It stays in /var/spool/mqueue or /var/spool/clientmqueue with DERIVED status. I think that either FROM address & Return-Path are wrong, or the sender's address could not be resolved by target SMTP.
How do I send a simple e-mail? sendmail is too complicated. Is there anything else (exim and postfix I tried and cried...)
SERGIE schrieb:
Guys,
using echo hello | sendmail -s test john.black@vpnmail.ru fails. It stays
Where did you got that command line from?
in /var/spool/mqueue or /var/spool/clientmqueue with DERIVED status.
Former is the daemon's mail queue, last the submission mail queue.
I think that either FROM address & Return-Path are wrong, or the sender's address could not be resolved by target SMTP.
date | mail -s "this is a test" recipient@otherdomain.tld
And read your /var/log/maillog to see what happens.
How do I send a simple e-mail? sendmail is too complicated. Is there anything else (exim and postfix I tried and cried...)
What does the MTA have to do with client side mail sending? - Normally done by using a MUA, like mail, nail, mutt, pine ... or a GUI one like evolution or thunderbird.
Alexander
Around 03:52pm on Tuesday, September 12, 2006 (UK time), Paul Howarth scrawled:
I think what you're looking for is:
$ echo hello | Mail -s test john.black@vpnmail.ru
i.e. replace "sendmail" with "Mail" (note the upper case M).
Mail is soft linked to mail, so the upper case M makes no difference.
Steve
Steve Searle wrote:
Around 03:52pm on Tuesday, September 12, 2006 (UK time), Paul Howarth scrawled:
I think what you're looking for is:
$ echo hello | Mail -s test john.black@vpnmail.ru
i.e. replace "sendmail" with "Mail" (note the upper case M).
Mail is soft linked to mail, so the upper case M makes no difference.
So it is. I've always used "Mail" as a habit; it must have been different from "mail" on some system I used in the past, SunOS 4 perhaps.
Paul.
On 13Sep2006 10:54, Paul Howarth paul@city-fan.org wrote: | Steve Searle wrote: | >Around 03:52pm on Tuesday, September 12, 2006 (UK time), Paul Howarth | >scrawled: | >>I think what you're looking for is: | >>$ echo hello | Mail -s test john.black@vpnmail.ru | >>i.e. replace "sendmail" with "Mail" (note the upper case M). | > | >Mail is soft linked to mail, so the upper case M makes no difference.
For this kind of reason (not trusting "mail" to be anything in particular) I always call sendmail itself, usually via this script:
http://www.cskk.ezoshosting.com/cs/css/bin/mailsubj
So:
echo hello | mailsubj -s "subject here" address...
Does the same job, but at least you _know_ what its going to do.
Cheers,
On Thu, 2006-09-14 at 15:26 +1000, Cameron Simpson wrote:
On 13Sep2006 10:54, Paul Howarth paul@city-fan.org wrote: | Steve Searle wrote: | >Around 03:52pm on Tuesday, September 12, 2006 (UK time), Paul Howarth | >scrawled: | >>I think what you're looking for is: | >>$ echo hello | Mail -s test john.black@vpnmail.ru | >>i.e. replace "sendmail" with "Mail" (note the upper case M). | > | >Mail is soft linked to mail, so the upper case M makes no difference.
For this kind of reason (not trusting "mail" to be anything in particular) I always call sendmail itself, usually via this script:
The above statement mystifies me. mail will do what it always did. That is, send mail. mail has been the basic mail sending program for decades in Unix and then Linux. sendmail was not designed to be a mail client.
On Thursday 14 September 2006 08:00, Aaron Konstam wrote:
For this kind of reason (not trusting "mail" to be anything in particular) I always call sendmail itself, usually via this script:
The above statement mystifies me. mail will do what it always did. That is, send mail. mail has been the basic mail sending program for decades in Unix and then Linux. sendmail was not designed to be a mail client. -- Aaron Konstam akonstam@sbcglobal.net
Not trying to be confrontational, just asking because I don't know and have never messed with changing mail configurations beyond setting up KMail to send and receive so I can get my mail.
What is Sendmail supposed to be designed to do?
www.sendmail.org
On 9/14/06, Jack Gates jlgates@charter.net wrote:
On Thursday 14 September 2006 08:00, Aaron Konstam wrote:
For this kind of reason (not trusting "mail" to be anything in particular) I always call sendmail itself, usually via this script:
The above statement mystifies me. mail will do what it always did. That is, send mail. mail has been the basic mail sending program for decades in Unix and then Linux. sendmail was not designed to be a mail client. -- Aaron Konstam akonstam@sbcglobal.net
Not trying to be confrontational, just asking because I don't know and have never messed with changing mail configurations beyond setting up KMail to send and receive so I can get my mail.
What is Sendmail supposed to be designed to do?
-- Jack Gates http://www.morningstarcom.net
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Thu, 2006-09-14 at 08:18 -0400, Jack Gates wrote:
On Thursday 14 September 2006 08:00, Aaron Konstam wrote:
For this kind of reason (not trusting "mail" to be anything in particular) I always call sendmail itself, usually via this script:
The above statement mystifies me. mail will do what it always did. That is, send mail. mail has been the basic mail sending program for decades in Unix and then Linux. sendmail was not designed to be a mail client. -- Aaron Konstam akonstam@sbcglobal.net
Not trying to be confrontational, just asking because I don't know and have never messed with changing mail configurations beyond setting up KMail to send and receive so I can get my mail.
What is Sendmail supposed to be designed to do?
Sendmail is a mail transport. Mail 'clients' typically add the headers and since the addition of MIME they encode attachments, then they hand to sendmail. Sendmail will add the minimal required headers if they aren't already present but generally that is the client's job.
On Thu, 2006-09-14 at 08:18 -0400, Jack Gates wrote:
On Thursday 14 September 2006 08:00, Aaron Konstam wrote:
For this kind of reason (not trusting "mail" to be anything in particular) I always call sendmail itself, usually via this script:
The above statement mystifies me. mail will do what it always did. That is, send mail. mail has been the basic mail sending program for decades in Unix and then Linux. sendmail was not designed to be a mail client. -- Aaron Konstam akonstam@sbcglobal.net
Not trying to be confrontational, just asking because I don't know and have never messed with changing mail configurations beyond setting up KMail to send and receive so I can get my mail.
What is Sendmail supposed to be designed to do?
sendmail is a Mail Transfer Agent (mta). It takes mail sent by your mail program and sends it to its destination. It also accepts mail addressed to your machine and saves it in your mail spool directory.