Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 10:55:24 +0100
From:      Jonathan Belson <jon@witchspace.com>
To:        freebsd-questions@freebsd.org
Subject:   Changing 'From:' address of periodic scripts
Message-ID:  <48A00C8C.4060105@witchspace.com>

next in thread | raw e-mail | index | archive | help
Hiya

I set up a remote box to e-mail 'periodic' output to me directly.  It has now
stopped working, and I suspect it's because the 'From:' addresses of the status
e-mails is of the form 'root@mybox.local' and the ISP has upped its anti-spam
checks.

I see /usr/sbin/periodic itself uses the 'mail' command to send the mails, but I
couldn't see a command line option to specify a 'From:'.  I guess 'mail' uses
'sendmail' to send e-mail; is there a simple way of forcing a 'From:' address
via 'sendmail' config?

Cheers,

--Jon




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48A00C8C.4060105>