procmail
[Top] [All Lists]

Re: How to notify another e-mail address

2000-12-15 12:43:46
I'm not a 'procmail' expert by a long-shot, but here's my script for
forwarding copies of e-mail for notification purposes:


VERBOSE=on
MAILDIR=$HOME/mail
PMDIR=$HOME/.procmail
LOGFILE=$HOME/.procmail-log

:0
* ^From.*
* ^Subject:.*
{
    :0 c
    ! dave(_at_)nadel(_dot_)com, billk(_at_)nadel(_dot_)com

    :0
    /var/spool/mail/help

}

My cohort & I both receive mail addressed to "help(_at_)nadel(_dot_)com" in that
manner. (It also works great with forwarding copies to you cellular
phone, as well.) No doubt, others have (better) more elaborate scripts. I
just wanted put in my two cents worth.

...Dave


On Fri, 15 Dec 2000, Harry Jensen wrote:

Hello,

How can i send a notify message to another e-mail address about that I've got 
mail from someone.

I cannot find any examples regarding this, I want following to occur:

Take "from" address and name.
Send a notification to my_other_address(_at_)another_isp(_dot_)dk(_dot_)
The note should be: "You've got mail from " + from_e-mail_address + from_name.

Does someone have a hint or even a complete solution.

Thanks in advance



-- 

Best Regards,
David Hildebrand
System Administrator
JNI, Culver CIty


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail