S
Sandy1985
Guest
Hello everybody!
Currently I am trying to figure out the following scenario:
Every e-mail that any mailaccount receive from *@example.tld should be redirected to mine@domain.tld.
Of course this can be done with procmail, but up to now I haven't figure it out how.
There are a lot of threads and blogs about similar topics, but still I'm not quite sure about this.
I've tried it for one mailaccount with the following .procmailrc:
MAILDIR=/var/qmail/mailnames/domain.tld/sandy/Maildir
:0 c
* ^From:.*@example.tld
!mine@domain.tld
Nothing happens.. I get the E-Mails as usually and nothing gets redirected. I've also tried putting the "c" out, but still I receive the E-Mail, so I guess the file even doesn't get's processed by procmail.
It would be much appreciated if you could help me.
Many thanks in advance,
Sandy
Currently I am trying to figure out the following scenario:
Every e-mail that any mailaccount receive from *@example.tld should be redirected to mine@domain.tld.
Of course this can be done with procmail, but up to now I haven't figure it out how.
There are a lot of threads and blogs about similar topics, but still I'm not quite sure about this.
I've tried it for one mailaccount with the following .procmailrc:
MAILDIR=/var/qmail/mailnames/domain.tld/sandy/Maildir
:0 c
* ^From:.*@example.tld
!mine@domain.tld
Nothing happens.. I get the E-Mails as usually and nothing gets redirected. I've also tried putting the "c" out, but still I receive the E-Mail, so I guess the file even doesn't get's processed by procmail.
It would be much appreciated if you could help me.
Many thanks in advance,
Sandy