Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Andrew DeFaria Newsgroups: gmane.os.cygwin Subject: Re: where can I find /etc/ssmpt/ssmtp.conf sample file?or mannual? Date: Thu, 28 Mar 2002 08:38:35 -0800 Lines: 74 Message-ID: <3CA3470B.9040401@DeFaria.com> References: <20020328153859 DOT 31095 DOT qmail AT web14202 DOT mail DOT yahoo DOT com> NNTP-Posting-Host: dsl-64-195-250-225.telocity.com Mime-Version: 1.0 Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1017333516 11685 64.195.250.225 (28 Mar 2002 16:38:36 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Thu, 28 Mar 2002 16:38:36 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en,ru jinhyuk choi wrote: > I found ssmtp works on command line mannually, > but I guess I can join it with mutt MUA so > when I want to only send a mail, I won't need any > graphical mail agent. > but I could not find man pages how to configure > ssmtp.conf file and how to make work mutt with > ssmtp.exe. > where can I find sample or doc's on it? I use the following: #!/bin/bash ################################################################################ # # File: setup_ssmtp # Description: This script sets up ssmtp mail configuration # Author: Andrew AT DeFaria DOT com # Created: Wed Jan 9 12:57:13 2002 # Language: Bash Shell # Modifications: # # (c) Copyright 2002, Andrew AT DeFaria DOT com, all rights reserved # ################################################################################ # Setup /etc/ssmtp config directory ssmtp_dir=/etc/ssmtp domain= mail_server= mkdir -p $ssmtp_dir chmod 700 $ssmtp_dir # Make some simple aliases. Alias $USER to the proper email address and then # alias root, Administrator and postmaster to the user's address thus making # the user "god" of smtp on this machine only. cat > $ssmtp_dir/revaliases < $ssmtp_dir/ssmtp.conf <