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.1""255.255.255.255"
> 
> 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-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.1""255.255.255.255"

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  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, 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 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, 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  wrote:
> > I Found it!
> >
> >     Ops.. At the smtprelay.tab, instead of
> > "127.0.0.1""255.0.0.0" was "127.0.0.1""255.255.255.255".
> > Changed this, and now relay works.
> >
> > Thanks Davide.
> >
> > Whew...
> >
> > On Tue, Feb 2, 2010 at 7:28 AM, Zilon X  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  
> >> 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 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  wrote:
> I Found it!
>
>     Ops.. At the smtprelay.tab, instead of
> "127.0.0.1""255.0.0.0" was "127.0.0.1""255.255.255.255".
> Changed this, and now relay works.
>
> Thanks Davide.
>
> Whew...
>
>
>
>
> On Tue, Feb 2, 2010 at 7:28 AM, Zilon X  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  
>> 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