Mark,<br><br>Below are a bunch of examples (edited for redundancy and verbosity)<br>showing that sometimes the string that is supposed to be an IP address<br>is a (local) email address (originating locally too),<br>leaving regexes $2, $3, $4 quite empty.
<br><br>Other times it's <a href="http://127.0.0.1">127.0.0.1</a> (for the same message?)<br>and still other times it's a real external IP number.<br><br>Yet there are always complaints about unitialized values anyway.
<br><br>BAD CONNECTIP l.175 is the warn() I added which only appears when<br>the "connectip" is an email address instead of an ip number.<br>So the other complaints are somehow at other steps in the process..<br>
<br>And there are more problems with:<br><br> Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message <blablabla> skipping greylisting call <br><br>but this appears at a completely different step in the SA/greylisting routines.
<br><br>Some of this may be related to the fact that I am using<br>fetchmail to get mail from outside servers and hand it off to my<br>exim4.. but I don't understand *how* it's related (or what I'm<br>going to be able to do about it.. ) kinda lost actually..
<br><br>Anyway, here's more logs: I'm sure they're more than you need, but<br>there they are.. <br><br>thanks,<br>j.<br><br>===========================================================================<br>Feb 7 03:02:02 jhbro spamd[27961]: uninitialized value
<a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN63> line 40.<br>Feb 7 03:02:02 jhbro last message repeated 2 times<br>Feb 7 03:02:02 jhbro spamd[27961]: connectip: 1: <a href="mailto:root@jhbro.fr">
root@jhbro.fr</a>, 2: , 3: , 4: at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN63> line 40.<br>Feb 7 03:02:02 jhbro spamd[27961]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm
</a> line 178, <GEN63> line 40.<br>Feb 7 03:02:02 jhbro spamd[27961] last message repeated 2 times<br>Feb 7 03:02:02 jhbro spamd[27961] BAD CONNECTIP l.176: 1: <a href="mailto:root@jhbro.fr">root@jhbro.fr</a>, 2: , 3: , 4:
<br>Feb 7 03:02:02 jhbro spamd[27961]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 181, <GEN63> line 40.<br>Feb 7 03:02:02 jhbro spamd[27961]: uninitialized value <a href="http://Greylisting.pm">
Greylisting.pm</a> line 182, <GEN63> line 40.<br><br>Feb 7 03:02:03 jhbro spamd[27961]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN67> line 65.<br>Feb 7 03:02:03 jhbro last message repeated 2 times
<br>Feb 7 03:02:03 jhbro spamd[27961]: connectip: 1: <a href="mailto:root@jhbro.fr">root@jhbro.fr</a>, 2: , 3: , 4: at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN67> line 65.<br>Feb 7 03:02:03 jhbro spamd[27961]: uninitialized value
<a href="http://Greylisting.pm">Greylisting.pm</a> line 178, <GEN67> line 65.<br>Feb 7 03:02:03 jhbro last message repeated 2 times<br>Feb 7 03:02:03 jhbro spamd[27961]: BAD CONNECTIP l.176: 1: <a href="mailto:root@jhbro.fr">
root@jhbro.fr</a>, 2: , 3: , 4:<br>Feb 7 03:02:03 jhbro spamd[27961]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 181, <GEN67> line 65.<br>Feb 7 03:02:03 jhbro spamd[27961]: uninitialized value
<a href="http://Greylisting.pm">Greylisting.pm</a> line 182, <GEN67> line 65.<br>Feb 7 03:02:03 jhbro spamd[27962]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN58> line 96.
<br><br><br>Feb 7 03:10:33 jhbro spamd[27961]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message <foo>, skipping greylisting call<br>Feb 7 03:10:37 jhbro spamd[27962]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at
<a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN62> line 118.<br><br>Feb 7 03:25:43 jhbro spamd[27961]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message <foo>, skipping greylisting call
<br>Feb 7 03:25:47 jhbro spamd[27962]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN65> line 118.<br><br>Feb 7 03:40:54 jhbro spamd[27961]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message <foo>, skipping greylisting call
<br>Feb 7 03:40:58 jhbro spamd[27962]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN68> line 118.<br><br>Feb 7 03:46:06 jhbro spamd[27961]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message <blurf>, skipping greylisting call
<br>Feb 7 03:46:09 jhbro spamd[27962]: connectip: 1: 64, 2: 233, 3: 166, 4: 179 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN71> line 99.<br>Feb 7 03:46:13 jhbro spamd[27961]: connectip: 1: 64, 2: 233, 3: 166, 4: 179 at
<a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN83> line 16077.<br>Feb 7 03:46:16 jhbro spamd[27962]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN75> line 124.
<br><br>Feb 7 03:56:04 jhbro spamd[27961]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message <foo>, skipping greylisting call<br>Feb 7 03:56:08 jhbro spamd[27962]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at
<a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN79> line 118.<br><br>Feb 7 03:57:43 jhbro spamd[27961]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message <bar>, skipping greylisting call
<br>Feb 7 03:57:45 jhbro spamd[27962]: connectip: 1: 64, 2: 233, 3: 184, 4: 227 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN82> line 71.<br>Feb 7 03:57:47 jhbro spamd[27961]: connectip: 1: 64, 2: 233, 3: 184, 4: 227 at
<a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN94> line 88.<br>Feb 7 03:57:49 jhbro spamd[27962]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN86> line 97.
<br><br>Feb 7 04:00:24 jhbro spamd[27961]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message <baz>, skipping greylisting call<br>Feb 7 04:00:26 jhbro spamd[27962]: connectip: 1: 66, 2: 249, 3: 82, 4: 233 at
<a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN90> line 85.<br>Feb 7 04:00:29 jhbro spamd[27961]: connectip: 1: 66, 2: 249, 3: 82, 4: 233 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN102> line 102.
<br>Feb 7 04:00:31 jhbro spamd[27962]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN94> line 120.<br>========================================================================================================
<br>========================================================================================================<br><br>Feb 7 12:02:02 spamd[15191]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN17> line 39.
<br>Feb 7 12:02:02 last message repeated 2 times<br>Feb 7 12:02:02 spamd[15191]: connectip: 1: <a href="mailto:root@jhbro.fr">root@jhbro.fr</a>, 2: , 3: , 4: at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN17> line 39.
<br>Feb 7 12:02:02 spamd[15191]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 178, <GEN17> line 39.<br>Feb 7 12:02:02 last message repeated 2 times<br>Feb 7 12:02:02 spamd[15191]: BAD CONNECTIP
l.176: 1: <a href="mailto:root@jhbro.fr">root@jhbro.fr</a>, 2: , 3: , 4:<br>Feb 7 12:02:02 spamd[15191]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 181, <GEN17> line 39.<br>Feb 7 12:02:02 spamd[15191]: uninitialized value
<a href="http://Greylisting.pm">Greylisting.pm</a> line 182, <GEN17> line 39.<br><br>Feb 7 12:02:03 spamd[15191]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN21> line 56.
<br>Feb 7 12:02:03 last message repeated 2 times<br>Feb 7 12:02:03 spamd[15191]: connectip: 1: <a href="mailto:root@jhbro.fr">root@jhbro.fr</a>, 2: , 3: , 4: at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN21> line 56.
<br>Feb 7 12:02:03 spamd[15191]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 178, <GEN21> line 56.<br>Feb 7 12:02:03 last message repeated 2 times<br>Feb 7 12:02:03 spamd[15191]: BAD CONNECTIP
l.176: 1: <a href="mailto:root@jhbro.fr">root@jhbro.fr</a>, 2: , 3: , 4:<br>Feb 7 12:02:03 spamd[15191]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 181, <GEN21> line 56.<br>Feb 7 12:02:03 spamd[15191]: uninitialized value
<a href="http://Greylisting.pm">Greylisting.pm</a> line 182, <GEN21> line 56.<br>Feb 7 12:02:03 spamd[15192]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN16> line 95.
<br><br># ==========================================================================<br>Feb 7 12:45:58 spamd[15190]: spamd: server killed by SIGTERM, shutting down<br># ==========================================================================
<br>Feb 7 12:45:59 spamd[23818]: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'<br>Feb 7 12:45:59 spamd[23818]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message<br>
<1170848758.54795@spamassassin_spamd_init>, skipping greylisting call<br># ==========================================================================<br>Feb 7 12:51:18 spamd[23820]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ] for message
<br> <<a href="mailto:spamid1217100347@msgid.spamcop.net">spamid1217100347@msgid.spamcop.net</a>>, skipping greylisting call<br><br>Feb 7 12:51:21 spamd[23821]: uninitialized value <a href="http://Greylisting.pm">
Greylisting.pm</a> line 176, <GEN9> line 78.<br>Feb 7 12:51:21 spamd[23821]: connectip: 1: 204, 2: 15, 3: 82, 4: 124 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN9> line 78.<br>Feb 7 12:51:27 spamd[23820]: uninitialized value
<a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN9> line 95.<br>Feb 7 12:51:27 spamd[23820]: connectip: 1: 204, 2: 15, 3: 82, 4: 124 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN9> line 95.
<br><br>Feb 7 12:51:30 spamd[23821]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN12> line 108.<br>Feb 7 12:51:30 spamd[23821]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at <a href="http://Greylisting.pm">
Greylisting.pm</a> line 176, <GEN12> line 108.<br><br>Feb 7 12:52:45 spamd[23820]: Couldn't get Connecting IP header [ X-SA-Exim-Connect-IP ]<br> for message <<a href="mailto:spamid1217101454@msgid.spamcop.net">
spamid1217101454@msgid.spamcop.net</a>>, skipping greylisting call<br>Feb 7 12:52:48 spamd[23821]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN15> line 80.<br>Feb 7 12:52:48 spamd[23821]: connectip: 1: 204, 2: 15, 3: 82, 4: 126 at
<a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN15> line 80.<br><br>Feb 7 12:52:51 spamd[23820]: uninitialized value <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN15> line 97.
<br>Feb 7 12:52:51 spamd[23820]: connectip: 1: 204, 2: 15, 3: 82, 4: 126 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN15> line 97.<br><br>Feb 7 12:52:54 spamd[23821]: uninitialized value <a href="http://Greylisting.pm">
Greylisting.pm</a> line 176, <GEN18> line 110.<br>Feb 7 12:52:54 spamd[23821]: connectip: 1: 127, 2: 0, 3: 0, 4: 1 at <a href="http://Greylisting.pm">Greylisting.pm</a> line 176, <GEN18> line 110.<br><br><br>