This is how I display new mail via a commands.conf script

#!/bin/sh
su - mailuser -c "echo q | mail | grep \"[UN] \"" | awk '{ print $3 " " $4
" " $7 " " $9 " " $10 " " $11 " " $12 " " $13}'

Regards,

Robert



-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to