delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/30/21:23:28

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48191B70.3000904@cwilson.fastmail.fm>
Date: Wed, 30 Apr 2008 21:22:56 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: FW: ssmtp with multiple email accounts
References: <388a57b20804281139t7b39677cu55c64ae60bc026fe AT mail DOT gmail DOT com> <20080429140253 DOT GA27238 AT marvin DOT optimis DOT net> <388a57b20804300037k6d54bddejb76b94ed5874093e AT mail DOT gmail DOT com> <20080430171614 DOT GA2232 AT mimosa DOT garydjones DOT name> <Pine DOT GSO DOT 4 DOT 63 DOT 0804301324090 DOT 4190 AT access1 DOT cims DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.63.0804301324090.4190@access1.cims.nyu.edu>
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

Igor Peshansky wrote:

> Could it simply be that mutt does not expand the "~" in the filename when
> passing the command-line option?  Did you try the absolute path (i.e.,
> "/usr/bin/ssmtp -C/home/user/foo.conf")?

ssmtp does not attempt any expansion on the argument. If the shell 
doesn't expand it before passing it off to ssmtp, then it doesn't get 
expanded: so "-C~/foo.conf" would cause ssmtp to try to open a file 
named "foo.conf" in the subdirectory "~" of the current directory.

--
Chuck


--
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