Yahoo Groups archive

Milter-greylist

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

Thread

Message not sent from an IPv4 neither IPv6 address

Message not sent from an IPv4 neither IPv6 address

2006-08-04 by srout888

Hi

I can't seem to get this working with Tru64. Version 2.1.10 
configure,make,make install. Created new sendmail.cf with those five 
new rows. Restart.

Still getting:
"X-Greylist: Message not sent from an IPv4 neither IPv6 address, not 
delayed by milter-greylist-2.1.10"

Changed dump_dirty=1 and now every ten minutes it writes greylist.db 
but there are only columnheaders.

Any suggestions?

Seppo

Re: [milter-greylist] Message not sent from an IPv4 neither IPv6 address

2006-08-04 by Emmanuel Dreyfus

On Fri, Aug 04, 2006 at 09:51:21AM -0000, srout888 wrote:
> Still getting:
> "X-Greylist: Message not sent from an IPv4 neither IPv6 address, not 
> delayed by milter-greylist-2.1.10"

Are you sure it's not a mail submitted on stdin? If you telnet to port
25 and send a mail, you get this?

> Changed dump_dirty=1 and now every ten minutes it writes greylist.db 
> but there are only columnheaders.

If the logs says nothing gets greylisted, then it's not surprising. 

-- 
Emmanuel Dreyfus
manu@...

Re: Message not sent from an IPv4 neither IPv6 address

2006-08-04 by srout888

--- In milter-greylist@yahoogroups.com, Emmanuel Dreyfus <manu@...> 
wrote:
>
> On Fri, Aug 04, 2006 at 09:51:21AM -0000, srout888 wrote:
> > Still getting:
> > "X-Greylist: Message not sent from an IPv4 neither IPv6 address, 
not 
> > delayed by milter-greylist-2.1.10"
> 
> Are you sure it's not a mail submitted on stdin? If you telnet to port
> 25 and send a mail, you get this?
> 

Hi

I sent the message from outside mailbox to smtp-servers root and got 
what is above. telnet to port 25 did the same.

Seppo

Re: [milter-greylist] Re: Message not sent from an IPv4 neither IPv6 address

2006-08-04 by Emmanuel Dreyfus

On Fri, Aug 04, 2006 at 12:47:18PM -0000, srout888 wrote:
> I sent the message from outside mailbox to smtp-servers root and got 
> what is above. telnet to port 25 did the same.

Please apply this patch and tell we what you get (make sure you get 
the message logged at debug level, or replace LOG_DEBUG by LOG_ERR)

Index: milter-greylist.c
===================================================================
RCS file: /cvsroot/milter-greylist/milter-greylist.c,v
retrieving revision 1.126
diff -U2 -r1.126 milter-greylist.c
--- milter-greylist.c   1 Aug 2006 21:29:36 -0000       1.126
+++ milter-greylist.c   4 Aug 2006 13:43:28 -0000
@@ -128,4 +128,6 @@
 
 	if (addr != NULL) {
+               syslog(LOG_DEBUG, "%s:%d addr->sa_family = %d", 
+                   __FILE__, __LINE__, addr->sa_family);
 		switch (addr->sa_family) {
 		case AF_INET:


-- 
Emmanuel Dreyfus
manu@...

Re: Message not sent from an IPv4 neither IPv6 address

2006-08-04 by srout888

> 
> Please apply this patch and tell we what you get (make sure you get 
> the message logged at debug level, or replace LOG_DEBUG by LOG_ERR)
> 

And it says on the log:

...milter-greylist: milter-greylist.c:131 addr->sa_family = 0

Seppo

Re: [milter-greylist] Re: Message not sent from an IPv4 neither IPv6 address

2006-08-04 by Emmanuel Dreyfus

On Fri, Aug 04, 2006 at 03:48:12PM -0000, srout888 wrote:
> And it says on the log:
> ...milter-greylist: milter-greylist.c:131 addr->sa_family = 0

Strnage. digital Unix forgets to set se_family?

Try adding a case 0: on the line above case AF_INET:

-- 
Emmanuel Dreyfus
manu@...

Re: [milter-greylist] Re: Message not sent from an IPv4 neither IPv6 address

2006-08-04 by Matthias Scheler

On Fri, Aug 04, 2006 at 04:16:52PM +0000, Emmanuel Dreyfus wrote:
> On Fri, Aug 04, 2006 at 03:48:12PM -0000, srout888 wrote:
> > And it says on the log:
> > ...milter-greylist: milter-greylist.c:131 addr->sa_family = 0
> 
> Strnage. digital Unix forgets to set se_family?

I don't think that is the problem. I would rather suspect a problem
with "libmilter" e.g. a very old version. Another explaination
might be if "libmilter" and "milter-greylist" are compiled with
different compilers.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/

Re: Message not sent from an IPv4 neither IPv6 address

2006-08-04 by srout888

--- In milter-greylist@yahoogroups.com, Matthias Scheler <tron@...> 
wrote:
>
> On Fri, Aug 04, 2006 at 04:16:52PM +0000, Emmanuel Dreyfus wrote:
> > On Fri, Aug 04, 2006 at 03:48:12PM -0000, srout888 wrote:
> > > And it says on the log:
> > > ...milter-greylist: milter-greylist.c:131 addr->sa_family = 0
> > 
> > Strnage. digital Unix forgets to set se_family?
> 
> I don't think that is the problem. I would rather suspect a problem
> with "libmilter" e.g. a very old version. Another explaination
> might be if "libmilter" and "milter-greylist" are compiled with
> different compilers.
> 

I don't know, there seems to be quite recently built libmilter.a, 
someone else has updated sendmail/mimedefang.

There is gcc/cc on the machine, tried both, same result.

Thank You for the advise, I'm starting my summervacation and 
propably won't be connecting to workmachines much :)

I will follow this group though and continue configuration later.

Seppo

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.