hi
i'm using .procmailrc file for filtering and processing of incoming emails
the structure of it looks like this:
:0
* ^To.*import@mydomain.com
* ^Subject:.*Snehov*
| sed -e 's/ / /' >/home/import/admin/reports/sneh.inf; /usr/local/bin/lynx -anonymous -dump
:0
* ^To: *import@mydomain.com
* ^Subject:.*strahy*
| sed -e 's/ / /' >/home/import/admin/reports/vystrahy.inf; /usr/local/bin/lynx -anonymous -dump
:0
* ^To: *domain@mydomain.com
! user@myotherdomain.com
:0
* ^To: *domain@forwardeddomain.com
! user@myotherdomain.com
mails for import@domain.com, domain@domain.com and domain@forwardeddomain.com are directed to an existing user on the linux box, who has the .procmailrc in his homedir
the first two statements work fine - it's an everyday update of our site (weather, snow condition, ...)
but the other ones are making me crazy, some mails are forwarded to user@myotherdomain.com, some are not
i don't know what to do to avoid that "random forwarding" rule
any idea what's wrong?
i'm using .procmailrc file for filtering and processing of incoming emails
the structure of it looks like this:
:0
* ^To.*import@mydomain.com
* ^Subject:.*Snehov*
| sed -e 's/ / /' >/home/import/admin/reports/sneh.inf; /usr/local/bin/lynx -anonymous -dump
:0
* ^To: *import@mydomain.com
* ^Subject:.*strahy*
| sed -e 's/ / /' >/home/import/admin/reports/vystrahy.inf; /usr/local/bin/lynx -anonymous -dump
:0
* ^To: *domain@mydomain.com
! user@myotherdomain.com
:0
* ^To: *domain@forwardeddomain.com
! user@myotherdomain.com
mails for import@domain.com, domain@domain.com and domain@forwardeddomain.com are directed to an existing user on the linux box, who has the .procmailrc in his homedir
the first two statements work fine - it's an everyday update of our site (weather, snow condition, ...)
but the other ones are making me crazy, some mails are forwarded to user@myotherdomain.com, some are not
i don't know what to do to avoid that "random forwarding" rule
any idea what's wrong?