Re: [xmail] Cannot relay - 1.26

2010-02-11 Thread Zilon X
This works:

AAA.BBB.CCC.DDDtab255.255.255.0newline

This does not:

AAA.BBB.CCC.DDDtab255.255.255.255newline

But only on SPARC - x64 does relay single host.



On Wed, Feb 10, 2010 at 7:56 PM, Davide Libenzi davi...@xmailserver.org wrote:
 On Wed, 10 Feb 2010, Zilon X wrote:

 Hi Davide,

        I cannot try it on 32 bit hardware - sun4u is more than 10
 years old, and all Sun is 64 bit from Solaris 7.

 With the exactly same environment, on both x64 and SPARC, I got
 different results - x64 relay, risc does not.
 I tried with both sfw and usr/local gcc environments, and both builds
 does the same relay error, but only on SPARC.
 All builds just 32 bit, as I still do not have OpenSSL as 64 bit.

 Environment with GCC 3.4.6 / Gnu Make 3.81:
 CFLAGS=-I/usr/local/ssl/include
 LDFLAGS=-L/usr/local/ssl/lib
 PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/ssl/bin
 LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/ssl/lib
 INCLUDE=/usr/include:/usr/local/include:/usr/local/ssl/include

 How did you specify the network?
 Like this?

 X.Y.Z.W       A.B.C.D

 Or like this?

 X.Y.Z.W/N


 - Davide


 ___
 xmail mailing list
 xmail@xmailserver.org
 http://xmailserver.org/mailman/listinfo/xmail

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-10 Thread Zilon X
Hi Davide,

   I cannot try it on 32 bit hardware - sun4u is more than 10
years old, and all Sun is 64 bit from Solaris 7.

With the exactly same environment, on both x64 and SPARC, I got
different results - x64 relay, risc does not.
I tried with both sfw and usr/local gcc environments, and both builds
does the same relay error, but only on SPARC.
All builds just 32 bit, as I still do not have OpenSSL as 64 bit.

Environment with GCC 3.4.6 / Gnu Make 3.81:
CFLAGS=-I/usr/local/ssl/include
LDFLAGS=-L/usr/local/ssl/lib
PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/ssl/bin
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/ssl/lib
INCLUDE=/usr/include:/usr/local/include:/usr/local/ssl/include







 OK, Big Endian vs. Little Endian might be a clue.
 Did you try on a SPARC 32 Solaris boxen?



 - Davide


 ___
 xmail mailing list
 xmail@xmailserver.org
 http://xmailserver.org/mailman/listinfo/xmail

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-10 Thread Davide Libenzi
On Wed, 10 Feb 2010, Zilon X wrote:

 Hi Davide,
 
I cannot try it on 32 bit hardware - sun4u is more than 10
 years old, and all Sun is 64 bit from Solaris 7.
 
 With the exactly same environment, on both x64 and SPARC, I got
 different results - x64 relay, risc does not.
 I tried with both sfw and usr/local gcc environments, and both builds
 does the same relay error, but only on SPARC.
 All builds just 32 bit, as I still do not have OpenSSL as 64 bit.
 
 Environment with GCC 3.4.6 / Gnu Make 3.81:
 CFLAGS=-I/usr/local/ssl/include
 LDFLAGS=-L/usr/local/ssl/lib
 PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/ssl/bin
 LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/ssl/lib
 INCLUDE=/usr/include:/usr/local/include:/usr/local/ssl/include

How did you specify the network?
Like this?

X.Y.Z.W   A.B.C.D

Or like this?

X.Y.Z.W/N


- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-08 Thread Zilon X
Oh no..

   It's not so simple at all - no host can relay since configured as
single host (/32).

Is it a bug??



On Tue, Feb 2, 2010 at 9:19 AM, Zilon X zil...@gmail.com wrote:
 I Found it!

     Ops.. At the smtprelay.tab, instead of
 127.0.0.1tab255.0.0.0 was 127.0.0.1tab255.255.255.255.
 Changed this, and now relay works.

 Thanks Davide.

 Whew...




 On Tue, Feb 2, 2010 at 7:28 AM, Zilon X zil...@gmail.com wrote:
 Hi Davide,

 Yes, real tabs and a new line at the end.
 I also made a test using only the server IP and localhost (127.0.0.1)
 on the smtprelay file, but still no relay.




 On Mon, Feb 1, 2010 at 10:27 PM, Davide Libenzi davi...@xmailserver.org 
 wrote:
 On Mon, 1 Feb 2010, Zilon X wrote:

 Hi All,

 I'm using XMail 1.26 on several servers, but just one do not relay.
 Even from localhost - the 127.0.0.1 and the server IP address are at
 the smtprelay.tab.
 There are no pre-filters, and the relay denied warning appears just
 after insert the rcpt command.

 Do you have *real* TABs inside your smtprelay.tab file?


 - Davide


 ___
 xmail mailing list
 xmail@xmailserver.org
 http://xmailserver.org/mailman/listinfo/xmail



___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-08 Thread Davide Libenzi
On Mon, 8 Feb 2010, Zilon X wrote:

 Oh no..
 
It's not so simple at all - no host can relay since configured as
 single host (/32).
 
 Is it a bug??

Sure, thousands of users use it just fine, but you, that probably haven't 
even read a single line of the documentation, say it is a bug.
What you have done below, is configure localhost to relay, not the other 
hosts on your network.
How about reading the smtprelay.tab section of the documentation, or using 
SMTP authentication?


- Davide


 On Tue, Feb 2, 2010 at 9:19 AM, Zilon X zil...@gmail.com wrote:
  I Found it!
 
      Ops.. At the smtprelay.tab, instead of
  127.0.0.1tab255.0.0.0 was 127.0.0.1tab255.255.255.255.
  Changed this, and now relay works.
 
  Thanks Davide.
 
  Whew...
 
  On Tue, Feb 2, 2010 at 7:28 AM, Zilon X zil...@gmail.com wrote:
  Hi Davide,
 
  Yes, real tabs and a new line at the end.
  I also made a test using only the server IP and localhost (127.0.0.1)
  on the smtprelay file, but still no relay.
 
  On Mon, Feb 1, 2010 at 10:27 PM, Davide Libenzi davi...@xmailserver.org 
  wrote:
  On Mon, 1 Feb 2010, Zilon X wrote:
 
  Hi All,
 
  I'm using XMail 1.26 on several servers, but just one do not relay.
  Even from localhost - the 127.0.0.1 and the server IP address are at
  the smtprelay.tab.
  There are no pre-filters, and the relay denied warning appears just
  after insert the rcpt command.
 
  Do you have *real* TABs inside your smtprelay.tab file?
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-08 Thread Sabahattin Gucukoglu
On 8 Feb 2010, at 16:36, Davide Libenzi wrote:
 On Mon, 8 Feb 2010, Zilon X wrote:
 Oh no..
 
   It's not so simple at all - no host can relay since configured as
 single host (/32).
 
 Is it a bug??
 
 Sure, thousands of users use it just fine, but you, that probably haven't 
 even read a single line of the documentation, say it is a bug.
 What you have done below, is configure localhost to relay, not the other 
 hosts on your network.
 How about reading the smtprelay.tab section of the documentation, or using 
 SMTP authentication?

Hmm.  In his example, he shows that localhost can relay only when the netmask 
isn't all ones (/32).  I haven't tested it, but if that were true, indeed it is 
a bug, unless of course his loopback is running on an address that isn't 
127.0.0.1 (very, very unlikely).

FWIW: loopback is 127/8, which is fine as now configured for local relay (not 
127.0.0/24 that some people think it is).  Also, almost no software uses 
anything other than the first address in that range, and IPv6 only has one, ::1.

Cheers,
Sabahattin

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-08 Thread Davide Libenzi
On Mon, 8 Feb 2010, Sabahattin Gucukoglu wrote:

 On 8 Feb 2010, at 16:36, Davide Libenzi wrote:
  On Mon, 8 Feb 2010, Zilon X wrote:
  Oh no..
  
It's not so simple at all - no host can relay since configured as
  single host (/32).
  
  Is it a bug??
  
  Sure, thousands of users use it just fine, but you, that probably haven't 
  even read a single line of the documentation, say it is a bug.
  What you have done below, is configure localhost to relay, not the other 
  hosts on your network.
  How about reading the smtprelay.tab section of the documentation, or using 
  SMTP authentication?
 
 Hmm.  In his example, he shows that localhost can relay only when the 
 netmask isn't all ones (/32).  I haven't tested it, but if that were 
 true, indeed it is a bug, unless of course his loopback is running on an 
 address that isn't 127.0.0.1 (very, very unlikely).

From how I read it, it seems he configured localhost only, and thinks 
other hosts can relay too.
At this point, can you please post your smtprelay.tab, and tell what do 
you expect from it?



- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-08 Thread Zilon X
Hi Davide,

I'm using Xmail for almost 7 years now, and sure - I read all docs.
I stated bug not referring only to the mail server, but this can be
something with my build environment.
The entry in question is not just about relay to localhost, but to
open relay for a single host - any one.
Just like that:

192.168.1.1tab255.255.255.255new line

So, I cannot open relay to hosts (/32), but only to networks?
I think I can, cause this is happening on my Sparc machine, but not on
my x64 - both 1.26 on Solaris 10.

Very strange, indeed.



On Mon, Feb 8, 2010 at 2:54 PM, Davide Libenzi davi...@xmailserver.org wrote:
 On Mon, 8 Feb 2010, Sabahattin Gucukoglu wrote:

 On 8 Feb 2010, at 16:36, Davide Libenzi wrote:
  On Mon, 8 Feb 2010, Zilon X wrote:
  Oh no..
 
    It's not so simple at all - no host can relay since configured as
  single host (/32).
 
  Is it a bug??
 
  Sure, thousands of users use it just fine, but you, that probably haven't
  even read a single line of the documentation, say it is a bug.
  What you have done below, is configure localhost to relay, not the other
  hosts on your network.
  How about reading the smtprelay.tab section of the documentation, or using
  SMTP authentication?

 Hmm.  In his example, he shows that localhost can relay only when the
 netmask isn't all ones (/32).  I haven't tested it, but if that were
 true, indeed it is a bug, unless of course his loopback is running on an
 address that isn't 127.0.0.1 (very, very unlikely).

 From how I read it, it seems he configured localhost only, and thinks
 other hosts can relay too.
 At this point, can you please post your smtprelay.tab, and tell what do
 you expect from it?



 - Davide


 ___
 xmail mailing list
 xmail@xmailserver.org
 http://xmailserver.org/mailman/listinfo/xmail

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-08 Thread Davide Libenzi
On Mon, 8 Feb 2010, Zilon X wrote:

 Hi Davide,
 
 I'm using Xmail for almost 7 years now, and sure - I read all docs.
 I stated bug not referring only to the mail server, but this can be
 something with my build environment.
 The entry in question is not just about relay to localhost, but to
 open relay for a single host - any one.
 Just like that:
 
 192.168.1.1tab255.255.255.255new line
 
 So, I cannot open relay to hosts (/32), but only to networks?
 I think I can, cause this is happening on my Sparc machine, but not on
 my x64 - both 1.26 on Solaris 10.
 
 Very strange, indeed.

OK, Big Endian vs. Little Endian might be a clue.
Did you try on a SPARC 32 Solaris boxen?



- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-02 Thread Zilon X
Hi Davide,

Yes, real tabs and a new line at the end.
I also made a test using only the server IP and localhost (127.0.0.1)
on the smtprelay file, but still no relay.




On Mon, Feb 1, 2010 at 10:27 PM, Davide Libenzi davi...@xmailserver.org wrote:
 On Mon, 1 Feb 2010, Zilon X wrote:

 Hi All,

 I'm using XMail 1.26 on several servers, but just one do not relay.
 Even from localhost - the 127.0.0.1 and the server IP address are at
 the smtprelay.tab.
 There are no pre-filters, and the relay denied warning appears just
 after insert the rcpt command.

 Do you have *real* TABs inside your smtprelay.tab file?


 - Davide


 ___
 xmail mailing list
 xmail@xmailserver.org
 http://xmailserver.org/mailman/listinfo/xmail

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-02 Thread Zilon X
I Found it!

 Ops.. At the smtprelay.tab, instead of
127.0.0.1tab255.0.0.0 was 127.0.0.1tab255.255.255.255.
Changed this, and now relay works.

Thanks Davide.

Whew...




On Tue, Feb 2, 2010 at 7:28 AM, Zilon X zil...@gmail.com wrote:
 Hi Davide,

 Yes, real tabs and a new line at the end.
 I also made a test using only the server IP and localhost (127.0.0.1)
 on the smtprelay file, but still no relay.




 On Mon, Feb 1, 2010 at 10:27 PM, Davide Libenzi davi...@xmailserver.org 
 wrote:
 On Mon, 1 Feb 2010, Zilon X wrote:

 Hi All,

 I'm using XMail 1.26 on several servers, but just one do not relay.
 Even from localhost - the 127.0.0.1 and the server IP address are at
 the smtprelay.tab.
 There are no pre-filters, and the relay denied warning appears just
 after insert the rcpt command.

 Do you have *real* TABs inside your smtprelay.tab file?


 - Davide


 ___
 xmail mailing list
 xmail@xmailserver.org
 http://xmailserver.org/mailman/listinfo/xmail


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Cannot relay - 1.26

2010-02-01 Thread Davide Libenzi
On Mon, 1 Feb 2010, Zilon X wrote:

 Hi All,
 
 I'm using XMail 1.26 on several servers, but just one do not relay.
 Even from localhost - the 127.0.0.1 and the server IP address are at
 the smtprelay.tab.
 There are no pre-filters, and the relay denied warning appears just
 after insert the rcpt command.

Do you have *real* TABs inside your smtprelay.tab file?


- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail