[tslug] Re: sendmail

2004-04-14 Thread Ian Monroe
Yea, the one I use is called ssmtp 
ftp://metalab.unc.edu/pub/Linux/system/mail/mta/ and it works fine. 
Having a working sendmail makes lots of things work better/easier in 
linux, ssmtp is an easy way to do it.

Caleb Jorden wrote:
For this to work on Truman's Campus, you need to relay your mail through
mail.truman.edu.  ITS has outgoing SMTP outbound and inbound disabled
due to the numerous viruses that self-propagate though their own SMTP
servers.  You should be able to find some info on google on how to set
up sendmail to use a smart host or equivalent.  I hope this is of some
assistance.
Caleb Jorden
[EMAIL PROTECTED]
ITS Network/Web Services
Student Worker
-
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-


[tslug] Re: Sendmail attachments/Apache access log

2002-09-10 Thread Donald J Bindner

On Mon, Sep 09, 2002 at 08:46:19PM -0500, Bill Sawyer wrote:
 I want to write some type of script that will run as a cron job every night 
 after the logs roll over.  It will do the following (excuse the pseudocode, 
 it's the best way I can explain all of this).
 
 [EMAIL PROTECTED]
 MAILFILE=mail.tmp
 
 Set $DATE with date +%Y%m%d
 cp access_log.1 to $DATE.log
 
 echo From: [EMAIL PROTECTED] (nobody)  $MAILFILE
 echo To: $SENDER  $MAILFILE
 echo Subject: Log files: $DATE  $MAILFILE #where date is the variable; 
 excuse my horrible syntax if that doesn't work
 echo \n  $MAILFILE
 
 sendmail -t $SENDER  $MAILFILE and with $date.log attached
 
 I guess I need to do some perl work for this one.  Help would be 
 appreciated.
 
 Thanks,
 Bill

If the destination is ultimately another Linux system, then you
might want to just look into running syslog to log on the
destination server.

Otherwise, I would suggest you look into logcheck.  It generally
only sends interesting logs, but could be configured to send
everything.

-- 
Don Bindner [EMAIL PROTECTED]