Mailinglist Archive: opensuse (3531 mails)

< Previous Next >
[opensuse] Re: Sending mail via my ISP relay using sendmail
  • From: Joachim Schrod <jschrod@xxxxxxx>
  • Date: Fri, 05 Jan 2007 13:51:13 +0100
  • Message-id: <enlhk1$gmo$1@xxxxxxxxxxxxx>
Paul Abrahams wrote:
I've done all that and I get no error messages -- but no mail arrives when I issue the command

sendmail abrahams@xxxxxxx
this is a test message
.

This is not likely to succeed, as it is not a correct sendmail call. The mail header is missing and even if the mail is delivered to the receiving MTA, that receiver is likely to drop it.

Try:

sendmail -t -v
From: <mbox@xxxxxxxxxxx>
To: <mbox@xxxxxxxxxxx>
Subject: test

test
.

-t takes sender and recipient from the email headers.
-v will cause Postfix to email a mail delivery status report to your local account, too.

You can also use mail(1) to test sending, without any further configuration it uses sendmail and constructs a correct mail header.

echo test | mail -v -s subject recipient@xxxxxxxxxxx

How can I track down the reason the mail isn't arriving?

/var/log/mail*, depending on your syslog configuration.

Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References