Hi all!
I'm very new (and confused :-) with this procmail/formail syntax..., but
anyway, I've managed to have it all up and running at my domain, which has
"mail-forwading", i.e. all mails sent to "anything"@mydomain
(mydomain=cirrus-rcfk.no) ends up at my singe POP3 mail-account. I've set
up a few simple recipies, and IT WORKS! The problems are coming when all my
good ideas are about to be implemented!
I have this recipe that receive the mail, forward it to another address,
and gives the sender a reply message.
:0c
* ^TOiba(_at_)cirrus-rcfk(_dot_)no
! iba(_at_)statoil(_dot_)com
{
:0ahc
| (formail -brt -I 'From: Cirrus RC Flyklubb
<webmaster(_at_)cirrus-rcfk(_dot_)no>'
; \
cat $HOME/distribusjon.msg) | $SENDMAIL -t
}
I would also want to ADD something like [Cirrus] in front of the Subject
line (if it does'nt exist) , for me to know this mail was forwarded to me
from @cirrus-rcfk.no
Please reply to: webmaster(_at_)cirrus-rcfk(_dot_)no /AND/OR procmail-list
Best regards
Inge Balswick
webmaster(_at_)cirrus-rcfk(_dot_)no
********************************************************************
* Snail-Mail: Inge Balswick, Kanadaveien, N-3520 Jevnaker, NORWAY *
* E-mail job: iba(_at_)statoil(_dot_)com Private:
inge(_dot_)balswick(_at_)edbasa(_dot_)no *
* Private: +47 61314565 Cellular: +47 91105803 Fax: +47 91031902 *
* Cirrus RC Flyklubb: www.cirrus-rcfk.no webmaster(_at_)cirrus-rcfk(_dot_)no *
* It's hard to soar like an eagle, when you work with turkeys... *
********************************************************************