Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

how to parse back through forwarding headers to find the true source IP

how to parse back through forwarding headers to find the true source IP

2016-12-10 by Marcus Schopen

Hi,

some of my users forward external mails to my host. In some cases those
forwarding hosts don't filter spam. How do I parse back through
forwarding headers to find the true source IP and run dnsrbl checks on
that IP. Possible with milter-greylist?

Ciao
Marcus

Re: [milter-greylist] how to parse back through forwarding headers to find the true source IP

2016-12-11 by manu@...

Marcus Schopen lists-yahoogroups@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:

> some of my users forward external mails to my host. In some cases those
> forwarding hosts don't filter spam. How do I parse back through
> forwarding headers to find the true source IP and run dnsrbl checks on
> that IP. Possible with milter-greylist?

Possible if the forwarding host is ind enough to provide the
information.

Most of the time the information can be found in Received headers.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] how to parse back through forwarding headers to find the true source IP

2016-12-12 by Marcus Schopen

On 2016-12-11 06:31, manu@... [milter-greylist] wrote:
> Marcus Schopen lists-yahoogroups@... [milter-greylist]
> <milter-greylist@yahoogroups.com> wrote:
> 
>> some of my users forward external mails to my host. In some cases 
>> those
>> forwarding hosts don't filter spam. How do I parse back through
>> forwarding headers to find the true source IP and run dnsrbl checks on
>> that IP. Possible with milter-greylist?
> 
> Possible if the forwarding host is ind enough to provide the
> information.
> 
> Most of the time the information can be found in Received headers.

How would I do that then? With SA I put the IPs of the forwarding ISP to
trusted_networks and/or internal_networks, so SA knows the last/first
connecting IP to run dnsrbl and dnswl checks on.

Ciao
Marcus

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.