[Mimedefang] Filter modification help needed
Fred
mimedefang at freddyt.com
Wed Mar 31 00:32:10 EST 2004
Lucas Albers wrote:
> Fred go do man mimedefang-filter and read about:
> PRESERVING RELAY INFORMATION
>
> This resets the relay address and hostname to the actual relay
> address and hostname, unless the message is coming from
> one of your other MX hosts.
Hello,
You mis-understood my question, I am already doing this by adding X headers.
My needs are to add another header for the MX server of the domain in the
from header.
Example:
A message claims to be from someguy at bus.tld
I want to add a header for the MX records of bus.tld
I've read all man pages, this is not something standard, I don't know much
perl besides regex. I need to know how to parse the domain from the From
header and query the MX records for it and then add this information to a
header.
I know how to add headers for helo,host,ip these are built in and simple to
do. I don't know how to tell perl to fetch me the MX records for domain.
>
> Fred said:
>> Hello,
>> I'm wondering if it would be a good idea to add a header for the primary
>> MX
>> server for the domain in the From: header.
More information about the MIMEDefang
mailing list