delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/09/13:26:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 09 Nov 2007 13:25:12 -0500
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: from address of cron emails
To: "Rob Siklos" <rrr AT siklos DOT ca>, <cygwin AT cygwin DOT com>
Message-id: <057501c822fd$decbd630$b40410ac@wirelessworld.airvananet.com>
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
References: <002601c822e9$ef9edf70$6901a8c0 AT Clarifica DOT local>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

----- Original Message ----- 
From: "Rob Siklos" <>
To: <cygwin>
Sent: Friday, November 09, 2007 11:02 AM
Subject: from address of cron emails


| Hi,
| 
| I'm running cron through cygwin, using ssmtp.exe as the sendmail 
| replacement.  It seems that none of cron's e-mails are getting through, 
| because my SMTP server rejects "root (Cron Daemon)" as a valid From address 
| in the outgoing e-mail.
| 
| Is there any way of changing this?

Interesting. You are the first to mention this, so there is probably a way.
Have you tried running ssmtp-config and setting FromLineOverride and/or
rewriteDomain? 
FYI ssmtp is called with the following command line:
"-FCronDaemon -odi -oem -oi -t". I think ssmtp ignores all of them except possibly -F
Still FYI, exim with the default conf file rewrites to
From: root AT the DOT local DOT domain (Cron Daemon)
 
If you find a solution, please let us know.

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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