[vchkpw] Re: vpopmail/qmail problem -- mail not being delivered

2003-03-30 Thread Peter Palmreuther
Hello Jonathan,

On Sunday, March 30, 2003 at 9:53:47 AM you wrote (at least in part):

>>> vpopmail doesn't deliver mail to any users.

Why are you assuming vpopmail doesn't deliver the mails? Your further
text says it does.

>>> Its odd, but I have been looking at manuals and postings for a
>>> while, and I don't see anything like this happening anywhere.
>>> Simply put, the mail all gets put into the appropriate Maildir,
>>> but when I try to retrieve it using a windows based pop client it
>>> doens't work... any suggestions?

>> Did you try to login with the full email address?

> Yes I did. It still doesn't work... I feel like this is an unusual
> problem?

1.) What's the startup script of your pop3 daemon?
2.) What does a telnet session give?

 ?>telnet  110
 Escape character is '^]'.
 +OK <[EMAIL PROTECTED]>
 > user <[EMAIL PROTECTED]>
 +OK
 > pass 
 +OK
 > stat
 +OK 
 > uidl
 +OK
 
 > quit

User input (has to be done by you) marked with a leading '>'.

3.) what does

/var/qmail/bin/qmail-popup doesnt.matter.com /home/vpopmail/bin/vchkpw sh -c 'echo 
$HOME'

give, after you've 'feeded' it with

'user <[EMAIL PROTECTED]>'
 and
'pass '

both times the text between angle brackets, including brackets,
replaced by the data of a valid login?
Remember: execute this command as user 'root' or 'vpopmail'.
-- 
Best regards
Peter Palmreuther

Explore the galaxy, meet new alien races... and blow them away!




[vchkpw] which user to execute vadddomain

2003-03-30 Thread David Koski
Hello,

When trying to add and delete domains with vadddomain and vdeldomain I got a 
segmentation fault and found that it fails when executed by user vpopmail.  The reason 
is obviously because it needs to modify root owned files in /var/qmail/control.  So I 
assume vqadmin.cgi will work if run as root.  Is that the norm?

Best Regards,
David Koski
[EMAIL PROTECTED]



[vchkpw] Vpopbull does nothing

2003-03-30 Thread Andre Fortin
Hello,

I'm running vpopmail 5.2.1 with MySQL backend.  Everything works fine but
there is something strange with vpopbull.  If I run a command such as:

vpopbull -f filename -n -V

There is a printout of all the email addresses, like there should be.  But
when I specify a domain, it exits immediately, without printing any email
addresses.  Removing the -n doesnt help; the program still exits immediately
without sending the emails.  I have 394 virtual domains in the MySQL
database if that makes a difference.  Any ideas?  If you need more
information, let me know what you need and how to collect it and I will send
that info.  Thanks :)


Andre


PS: Configure line is:

./configure  --enable-default-domain=personainternet.com --enable-clear-pass
wd=y --enable-ip-alias-domains=y --enable-hard-quota --enable-defaultquota=5
000 --enable-mysql=y --enable-mysql-replication=y --enable-incdir=/usr/l
ocal/mysql/include/mysql/ --enable-libdir=/usr/local/mysql/lib/mysql/




Re: [vchkpw] Re: vpopmail/qmail problem -- mail not being delivered

2003-03-30 Thread Jonathan Ludwig
Peter,

Thanks for your help.

After doing what you suggested, I realized that my server never gets 
past the "pass" command. It just sends a FIN packet immediately 
forcefully closing the connection. IT doesn't even give an error message 
which is probably why my client thought it was logging in successfully.

This is what that command produced:

[EMAIL PROTECTED] proc]# /var/qmail/bin/qmail-popup  
/home/vpopmail/bin/vchkpw sh -c 'echo $HOME'
+OK <13287.1049056143@>
user [EMAIL PROTECTED]
+OK
pass password
/home/vpopmail/domains//user

So it seems that for some reason its not getting past authentication. I 
can imagine that the RFC probably allows this with no mail present, but 
locally there is indeed mail.

The script that controls vpopmail is /var/qmail/bin/vpopmailctl but the 
actual script that runs it is /var/qmail/supervise/qmail-POP3d/run ...

Any ideas? Thanks!

Jon

Peter Palmreuther wrote:
Hello Jonathan,

On Sunday, March 30, 2003 at 9:53:47 AM you wrote (at least in part):


vpopmail doesn't deliver mail to any users.


Why are you assuming vpopmail doesn't deliver the mails? Your further
text says it does.

Its odd, but I have been looking at manuals and postings for a
while, and I don't see anything like this happening anywhere.
Simply put, the mail all gets put into the appropriate Maildir,
but when I try to retrieve it using a windows based pop client it
doens't work... any suggestions?


Did you try to login with the full email address?


Yes I did. It still doesn't work... I feel like this is an unusual
problem?


1.) What's the startup script of your pop3 daemon?
2.) What does a telnet session give?
 ?>telnet  110
 Escape character is '^]'.
 +OK <[EMAIL PROTECTED]>
 > user <[EMAIL PROTECTED]>
 +OK
 > pass 
 +OK
 > stat
 +OK 
 > uidl
 +OK
 
 > quit
User input (has to be done by you) marked with a leading '>'.

3.) what does

/var/qmail/bin/qmail-popup doesnt.matter.com /home/vpopmail/bin/vchkpw sh -c 'echo $HOME'

give, after you've 'feeded' it with

'user <[EMAIL PROTECTED]>'
 and
'pass '
both times the text between angle brackets, including brackets,
replaced by the data of a valid login?
Remember: execute this command as user 'root' or 'vpopmail'.





[vchkpw] auth smtp

2003-03-30 Thread Kenneth Ling
hi,
how authenticated relay control on my qmail smtp server

tq





[vchkpw] SMTP aut problem

2003-03-30 Thread Sawai madho singh



> hi>  > 1- Download 
qmail-1.03, vpopmail 5.2 and smtp-auth patch from> http://members.elysium.pl/brush/qmail-smtpd-auth/dist/qmail-smtpd-auth-0.30.tar.gz  
>>> 3- Compile qmail  normaly> 4- Compile 
vpopmail as you need> 5- # chmod 4755 
~vpopmail/bin/vchkpw>    # chown root.root 
~vpopmail/bin/vchkpw> we configure vpopmail like..> ./configure 
--enable-roming-user=y>  > we r following stet by step of 
this > http://www.enderunix.org/docs/eng/smtp-auth/ 
link but still its not > asking any auth on smtp> and sending the 
mail without auth..>  >  > regards> 
sawai


[vchkpw] Re: auth smtp

2003-03-30 Thread Peter Palmreuther
Hello Kenneth,

On Monday, March 31, 2003 at 3:49:24 AM you wrote (at least in part):

> how authenticated relay control on my qmail smtp server

Very careful and restrict.

A first starting point on how to realize it could be:

http://makeashorterlink.com/?J19B21604
-- 
Best regards
Peter Palmreuther

There are no bugs, only unrecognized features.




[vchkpw] Re: vpopmail/qmail problem -- mail not being delivered

2003-03-30 Thread Peter Palmreuther
Hello Jonathan,

On Sunday, March 30, 2003 at 10:45:46 PM you wrote (at least in part):

>> 1.) What's the startup script of your pop3 daemon?
>> 2.) What does a telnet session give?
[...]
>> 3.) what does
>> 
>> /var/qmail/bin/qmail-popup doesnt.matter.com
>> /home/vpopmail/bin/vchkpw sh -c 'echo $HOME'
>> 
>> give

> After doing what you suggested, I realized that my server never gets
> past the "pass" command. It just sends a FIN packet immediately 
> forcefully closing the connection. IT doesn't even give an error message
> which is probably why my client thought it was logging in successfully.

When does that happen? In telnet session? It should at least give
'+OK' or '+ERR' before quitting the session.

> This is what that command produced:

> [EMAIL PROTECTED] proc]# /var/qmail/bin/qmail-popup  
> /home/vpopmail/bin/vchkpw sh -c 'echo $HOME'
> +OK <13287.1049056143@>
> user [EMAIL PROTECTED]
> +OK
> pass password
> /home/vpopmail/domains//user

That's so far correct.

> So it seems that for some reason its not getting past authentication.

Why does it seem to do so? You're getting the correct "virtual home"
set and the command past password check is executed, so why do you
assume it doesn't pass the check?

> The script that controls vpopmail is /var/qmail/bin/vpopmailctl but the
> actual script that runs it is
> /var/qmail/supervise/qmail-POP3d/run ...

> Any ideas? Thanks!

Yes. My question about "was is the startup script" wasn't meant to you
telling me it's name, but rather telling us it's content.
Your vchkpw seems to do everything well, so there must be a reason why
qmail-pop3d fails to propagate the state of users mailbox / maildir.

Your best bet is

1.) Pasting the content of your POP3-startup script in your next reply
2.) Test running the startup script "on the shell".
Do a 'svc -d /var/qmail/supervise/qmail-POP3d/'
than 'cd /var/qmail/supervise/qmail-POP3d/; ./run' on command
line / interactive shell.
Make another telnet session or try to fetch mail using your MUA
and see if there are any error messages put out on the command
line.
-- 
Best regards
Peter Palmreuther

I can't believe it! He's fighting with Adolf Hitler! --Rimmer.




[vchkpw] bogofilter with vpopmail?

2003-03-30 Thread Robin Bowes
Hi,

Has anyone got much experience using bogofilter with vpopmail?

I'm looking into implementing it but not having much look.

Here's what I've got so far:

In /home/vpopmail/domains/robinbowes.com/robin/.qmail:

|condredirect robin-bogo-spam /usr/bin/bogofilter
./Maildir/

In /home/vpopmail/domains/robinbowes.com/robin/.qmail-bogo-spam:

./Maildir/.Spam.unverified

However, I'm finding that this causes looping.

I move the .qmail file out of the way and just tried with the .qmail-bogo-spam file 
and found that this is what is not working. Mail
sent to [EMAIL PROTECTED] gets delivered to [EMAIL PROTECTED] inbox rather than 
straight to the spam directory as I
would like.

Am I missing something basic here? I suspect I am...

Any suggestions gratefully received...

Thanks,

R.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003




Re: [vchkpw] Re: auth smtp

2003-03-30 Thread Kenneth Ling
hi peter,
that is the one I follow...
the result.. is smtp auth is working
but on email client if you not set smtp auth also working

tq

Peter Palmreuther wrote:

> Hello Kenneth,
>
> On Monday, March 31, 2003 at 3:49:24 AM you wrote (at least in part):
>
> > how authenticated relay control on my qmail smtp server
>
> Very careful and restrict.
>
> A first starting point on how to realize it could be:
>
> http://makeashorterlink.com/?J19B21604
> --
> Best regards
> Peter Palmreuther
>
> There are no bugs, only unrecognized features.

--
Regards
  Kenneth Ling
  ranhill engineers and constructors sdn bhd






[vchkpw] Re: auth smtp

2003-03-30 Thread Peter Palmreuther
Hello Kenneth,

On Monday, March 31, 2003 at 9:01:59 AM you wrote (at least in part):

>>> how authenticated relay control on my qmail smtp server

> the result.. is smtp auth is working
> but on email client if you not set smtp auth also working

So you have a general "relaying allowed" rules somewhere ...
If you're using tcpserver from ucspi-tcp check the corresponding .cdb
file if there's something that let the client relay because of their
IP address.

If you have the IP-address the client uses to connect the server you
can do a

TCPREMOTEIP= tcprulescheck <.cdb file used by qmail-smtpd tcpserver>

to figure out if RELAYCLIENT is set (albeit hopefully empty).
If this is the case: go figure why it is set.
-- 
Best regards
Peter Palmreuther

People say I'm indecisive.  Am I?  I don't know.