procmail - can it send a notification email?
Derek Broughton
news at pointerstop.ca
Mon Dec 31 18:15:38 UTC 2007
David Fletcher wrote:
> One of the people here gets email but only occasionally, and does not
> bother to log in every day (or every week!) so will not know if there is
> mail waiting for collection. So, what I want to do is get procmail to send
> a notification email to me so that I can tell her that she has mail.
It sounds like you're doing this the hard way (and I don't know procmail to
know if what you want is possible).
How is the mail stored? If in Maildirs, you could just have a cron job that
checks for existence of any file in the /new subdirectory.
> sendEmail -f me at example.com -t you at example.com -u "Notification" -m "Your
> wife has new email" -s auth.smtp.example.com -xu userid -xp password
mailx is pretty much the same.
--
derek
More information about the kubuntu-users
mailing list