--On Sunday, April 18, 2004 4:00 PM -0700 Abigail Marshall <abigail@xxxxxxxxxxxx> wrote:
On my VPS1, I have a simple command running via cron each night as follows: mail -s "Procmail_Log" username ~/var/log/procmail.log This sends me a daily email containing the contents of my procmail.log On the VPS2, I have this command: mail -s "Procmail_Log" username /var/log/procmail.log At the designated time, this sends me an empty email. (No attachment, no error message - I just get an email with the subject "Procmail_Log" and no content.
Try mail -s "Procmail_Log" username < /var/log/procmail.log ====================================================================== This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/> Before posting a question, please search the archives (see above URL).