Hi,

at the moment I cannot explain this strange behaviour of chkuser. Everything
was fine and in the place. The relay table as well as tcp.smtp.cdb base had
the right entries, but it just won't work.. until I've decided to reboot the
mashine and start again with vpopmail-step from toaster instructions. And
voila - it works ! 

I would thank you all for your help - specially Bruno and Tonix. 

Since Ive installed this toaster, I see connections to 216.220.38.20 Port
80. Can someone just tell me what this is? RBL maybe? 

Thank you very much !

Regards,

Edvin 

-----Original Message-----
From: Bruno Negrao [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 26. Oktober 2005 14:16
To: [email protected]
Subject: Re: [toaster] HELP !!! vpopmail - relaying info in mysql

In your /service/qmail-smtpd/run script the "-x 
/home/vpopmail/etc/tcp.smtp.cdb" option must have the right path for the 
tcp.smtp.cdb file.

Can you paste here the messages you're getting in 
/var/log/qmail/smtpd/current log file when a relay is denied?


----- Original Message ----- 
From: Seferovic Edvin
To: [email protected]
Sent: Tuesday, October 25, 2005 6:47 PM
Subject: RE: [toaster] HELP !!! vpopmail - relaying info in mysql


Hello Bruno and others,

thank you for the reply.. yes - I do see the last IP address including 
"+RELAYCLIENT= and +RBLSMTPD= in the next row. The list of the IPs is 
ordered, and it contains almost all IP addresses that I can see in my relay 
table.. now I've just tried to connect to pop3 with my other public IP and 
that one got entered too ( in table and tcp.cdb ). I suppose that qmail 
side is not working properly, but I cannot find the mistake I made.. any 
suggestions?

Regards,

Edvin




From: Bruno Negrao [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 25. Oktober 2005 22:36
To: [email protected]
Subject: Re: [toaster] HELP !!! vpopmail - relaying info in mysql

Seferovic,

if you run the command "strings ~vpopmail/etc/tcp.smtp.cdb" file, do you 
see the entries for the last authenticated pop3 clients?

bnegrao
----- Original Message ----- 
From: Seferovic Edvin
To: [email protected]
Sent: Tuesday, October 25, 2005 3:20 PM
Subject: RE: [toaster] HELP !!! vpopmail - relaying info in mysql

Hi,

thank you for your answers ! here are my configuration options

./configure --enable-roaming-users \
                --enable-auth-module=mysql \
                --enable-logging=v \
                --enable-mysql-limits \
                --enable-valias \
                --disable-many-domains

I've used this configuration instead of the one in toaster because I need 
pop-before-smtp functionality and I would like to store my users and 
limitations in the mysql tables.
My mysql configuration in okay since the user can be found. I also have the 
relay table which really soon gets long.

Does the configuration on the toaster page provide the pop-before-smtp 
functionality?

After my ./configure - I followed the instructions on the toaster page.. 
further instructions on the page say that I have to recompile qmail with 
toaster patch ( which I have done of course ) - do I have to recompile 
qmail again for some reason?

I hope you can help me out here, and I am sorry if those are the newbie 
questions L

Thank you in advance.

Regards,

Edvin



From: Bruno Negrao [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 25. Oktober 2005 20:11
To: [email protected]
Subject: Re: [toaster] HELP !!! vpopmail - relaying info in mysql

Seferovic,

If you have followed the instructions in the order the qmail-toaster guide 
says, you won't need to recompile chkuser again. Since you already compiled 
it when you compiled qmail.

In fact, in order to compile chkuser you actually have to recompile 
qmail-smtpd.c, the chkuser's code goes inside it.

I just said that because I thought you recompiled vpopmail after you 
concluded you qmail-toaster installation.

Well, if the POP before SMTP scheme is properly working, you will see that 
the tcp.smtp.cdb file is modified everytime a new POP client authenticates.

And in the mysql vpopmail's database, there is a table called "relay" 
accounting the IP's and timestamps used to maintain the relay open (this is 
done by adding an "IP:allow,RELAYCLIENT" entry in the tcp.smtp.cdb file)

Check out your files and that table to see if everything is working 
properly.

regards,
bnegrao


----- Original Message ----- 
From: Seferovic Edvin
To: [email protected]
Sent: Tuesday, October 25, 2005 1:57 PM
Subject: RE: [toaster] HELP !!! vpopmail - relaying info in mysql

Hi,

how do I recompile chuser ? I've followed the process described on the 
toaster page... so I compiled vpopmail with my options, then applied 
toasters patch to qmail, recompiled it and installed it. No mention of 
ckuser at all L sorry, for my basic questions, but I hope to get this 
solved really soon.

Thank you very much.

Regards,

Edvin Seferovic




From: Bruno Negrao [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 25. Oktober 2005 18:19
To: [email protected]
Subject: Re: [toaster] HELP !!! vpopmail - relaying info in mysql

Did you remember to recompile ckuser after you recompiled vpopmail? You 
have to this.
----- Original Message ----- 
From: Seferovic Edvin
To: [email protected]
Sent: Tuesday, October 25, 2005 12:25 PM
Subject: [toaster] HELP !!! vpopmail - relaying info in mysql

Hi gurus,

I need help.. yes - again ! I have configured my vpopmail with 
options -enable-roaming-users and -enable-auth-module=mysql. Since I need 
roaming users ( POP-before-SMTP ) and I have already my old tables with 
users etc I would like to use those options... but when trying to relay 
messages - I get a failure message that I am not allowed to relay messages. 
Why isn't chkuser reading my mysql table instead of tcp.cdb file L Is this 
possible to configure ( Ive had it configured last year ).

Regards,

Edvin Seferovic


 


Reply via email to