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