Any news on this?
I am curious if it works correctly for you now.

JP

----- Original Message ----- From: "Jean-Paul van de Plasse" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, January 31, 2007 3:57 PM
Subject: Re: [qmailtoaster] SMTP-AUTH


You really only have to change your run script. (don't forget to restart your toaster)

The c-code works, thats for sure.

&u is the result of the scan_ulong, and if it return > 0 require_auth becomes 1.
flagauth is set when a user is authenticated (no use todo it 2 times).

JP


----- Original Message ----- From: "Wojciech Gabor" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, January 31, 2007 3:52 PM
Subject: Re: [qmailtoaster] SMTP-AUTH


Dnia środa, 31 stycznia 2007 14:22, Jean-Paul van de Plasse napisał:
A small error in the run file of the submission port makes this port open
for all!
The line reads REQUIRE_AUTH=1, but this should be export REQUIRE_AUTH=1
Otherwise it will not be available in the qmail-smtpd

Hopefully this can be fixed soon..

For all using submission:
For now a manual fix is easy, just edit the
/var/qmail/supervise/submission/run file and change that line.

I've looked sources before send message to the list. I've make this "fix"
but it not fix problem.
I think that problem is in

require_auth is set in
<code>
x = env_get("REQUIRE_AUTH");
if(x) { scan_ulong(x,&u); if (u>0) require_auth = 1; }
</code>
but what is &u ? when u>0

<code>
if (require_auth) if (!flagauth) { err_authfirst(); return; }
</code>
When flagauth is set?

I have two interfaces:
- 1.2.3.4 - incomming messages, rbl, calmav, spamassassin
- 1.2.3.5 - messages from our clients, no rbl and spamassassin but
REQUIRE_AUTH=1

Mailes send to outer domains by 1.2.3.5 without authorization are blocked
with message "client not allowed to relay" and it's OK.
But mails send to "my" domain are delivered and it's not OK because spam
is incoming to client mailboxes. How block all messages but authorized?

--
Tuptus
System uptime: 41 years 9 months 0 weeks 5 days 9 hours 45 minuts

Nigdy nie ufaj systemowi operacyjnemu, do którego nie masz kodów źródłowych.

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to