hey guys
I have a problem.
A client sends emails out via a perl script. It works fine. The problem is if the emails go to a non-existent address they will bounce back to. So far so good.
The problem is they bounce back to the address "Domain-user@server-hostname.com" - which exim sets automatically.
That works fine as it goes into the "Domain-user's" mailbox.
If I try use filtering rules they dont work, I think the reason is because its has "Domain-user@server-hostname.com".
I need to be able to set the address they will bounce back to, which is the "Return-Path"
I want to set it to "Domain-user@domainanme.com"
If I use PHP, I can set the "Return-Path" fine using the -f flag.
But I can't seem to get PERL to set the Return-Path flag.
Does anyone know how I can do that with cpanel / exim ?
or do I have to use PHP ?
Regards
Andy



LinkBack URL
About LinkBacks
Reply With Quote




