[Exim] Getting eximstat script to work

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Compu-Doc Godfrey J. Hamshire
Datum:  
To: exim-users
Betreff: [Exim] Getting eximstat script to work
Hello

I was would appreciate some assistace to get this script to work properly

I receintly set up a mail server in FreeBSD and Exim 4 :-)

here is the script I have used with linux and exim 3 which worked fine

#!/bin/sh

# Uncomment the following lines to get daily e-mail reports
if [ -x /usr/local/sbin/eximstats ]; then
    /usr/local/sbin/eximstats </var/log/exim/mainlog \
        | mail godfrey@??? -s "Miles Daily Report"
fi


but when I run this script on our new    Exim has a fit and I get this
responce:-


exim abandoned: unknown, malformed, or incomplete option -s

When the email finally arrives I get this

A message that you sent contained a recipient address that was incorrectly
constructed:

Daily email activity report missing or malformed local part (expected
word or "<")

The message has not been delivered to any recipients.


Any ideas on how to fix this or if you have a working scipt that will do
the same job please email it to me

Kind regards

Godfrey

From the desk of

Godfrey J. Hamshire
Compu-Doc & Compu-Doc On-Line

Telephone       0314659009
Telefax 0314651998
Cell            083 773 8776


Company's Web Page                      http://compudoc.za.net
Godfrey's Cockatiel Family & Friends    http://cockatiel.za.net
Godfrey's Roses Page                    http://roses.hamshire.za.net
php :- the freedom to breathe


Quote :-Moderation is a fatal thing.
             Nothing succeeds like excess.
              -- Oscar Wilde