Custom filter only working internally, not externally
I set up a myfilter file in /usr/local/cpanel/etc/exim/sysfilter/options/ and enabled it and saved it via WHM. It just checks for "foobar@whatever.com" and does a 'deliver mygmail@gmail.com'.
It works great if I send an email from blah@whatever.com to foobar@whatever.com, but if I send an email from my gmail account to foobar@whatever.com it bounces with "No such user".
Why is the filter working from within the same domain, but from external sources, the filter isn't being triggered?
I'm using exim 4.80.1 #2, on a CentOS 6.5 Final server (hosted by inmotion hosting).
Any ideas? Maybe I need a different solution. My boss keeps giving out the wrong email address so I want to just build in an alias to redirect incoming emails to the wrong address to his proper email address.
Thanks!
-
Hello :) Have you created an email account for "foobar@whatever.com" in addition to creating the filter? Thank you. 0 -
no, I hadn't created the foobar account. It worked without doing that, internally. That crossed my mind, so I DID subsequently create a foobar email via cpanel, and now when I email it from internally... oh hey, it works! both internally and externally! I guess I hadn't retried all my tests after I actually created the account. Well, that's good to know. a little confusing though why it would work internally without the account being created. I'm sure there's an interesting explanation for that, but I'm satisfied that it does work now :)... thanks! 0
Please sign in to leave a comment.
Comments
2 comments