delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/06/18:31:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 7 Oct 2002 00:35:38 +0200
From: Uwe Mayer <merkosh AT planet-interkom DOT de>
Reply-To: Uwe Mayer <merkosh AT planet-interkom DOT de>
X-Priority: 3 (Normal)
Message-ID: <663833502.20021007003538@planet-interkom.de>
To: "Elfyn" <emcb_exposure AT hotmail DOT com>
CC: "cygml" <cygwin AT cygwin DOT com>
Subject: Re[2]: ssmtp and cron
In-Reply-To: <OE52fDhBIpY8h9DnY9v0000625e@hotmail.com>
References: <19126873191 DOT 20021006185420 AT hadiko DOT de>
<OE52fDhBIpY8h9DnY9v0000625e AT hotmail DOT com>
MIME-Version: 1.0

Hallo Elfyn,

Sunday, October 6, 2002, 9:49:53 PM, you wrote:

E> I forgot to mention this bit of important info...

E> Unless you config file has the domain that you use for email (hadiko.de) in
E> the rewriteDomain directive it will not work correctly. Also if you use
E> other names other than the one in front of the `@' it may cause probs...

E> Sorry i didnt mention this before.

Well, thanks very much. I guess that was it. rewriteDomain was set to
m111.hadiko.de instead of hadiko.de.

After I changed that the error message:

/usr/sbin/ssmtp: smtp server didn't accept MAIL From, replied "553 5.5.4 <root>... Domain name required for sender address root".

changed into:

/usr/sbin/ssmtp: smtp server didn't accept RCPT To: command, replied "550 5.1.1 <admin AT hadiko DOT de>... User unknown".

which was a beginning. The only place where "admin" stood was the
MAILTO=admin line in the crontab.
I found out that the MAILTO env-var specified the To: field in the
email. Setting it to "merkosh" would only work if there was a user
merkosh AT hadiko DOT de (user merkosh known to the smtp host).
Setting it to an arbitrary e-mail adress would work if the address
existed.
According to /usr/doc/Cygwin/ssmtp-2.38.7.README, setting MAILTO=""
would send no mail and leaving MAILTO undefined will send an e-mail to
user merkosh who's address is taken from the /etc/ssmtp/revaliases
file (which works).
However, this all would just work if #FromLineOverride=YES was
commented out. Don't know why. Otherwise the "didn't accept MAIL
From..." error occured.

I probably send some time mails to root AT hadiko DOT de during testing... ;)
Well - Thank you very much again.

Ciao
Uwe                            mailto:merkosh AT planet-interkom DOT de


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019