[vchkpw] qmailadmin: invalid login, vqadmin: unable to determine user name

2006-09-04 Thread Ronald Wiplinger

I am still at the same spot. I cannot figure out what's happening.

http://mydomain.com/cgi-bin/qmailadmin
gives me for   postmaster   and   [EMAIL PROTECTED]   always invalid 
login

(same also for other user names)

I can login via telnet, so the password I provide is correct.

There is no error in the apache log files.

# ls -l /srv/www/vhosts/mydomain.com/cgi-bin/
total 428
-rwsr-xr-x 1 root root64976 Aug  7 08:51 ezmlm-cgi
-rwxr-xr-x 1 root root   117384 Aug  7 08:51 htsearch
-rwxr-xr-x 1 root root24679 Aug  7 08:51 info2html
-rw-r--r-- 1 root root 1780 Aug  7 08:51 info2html.conf
-rwxr-xr-x 1 root root 4054 Aug  7 08:51 infocat
-rwsr-sr-x 1 vpopmail vchkpw 144712 Sep  4 15:37 qmailadmin
-rwxr-xr-x 1 root root54512 Aug  7 08:51 qtest
-rwxr-xr-x 1 root root 9496 Aug  7 08:51 sqwebmail
drwxr-xr-x 3 vpopmail vchkpw200 Sep  4 15:33 vqadmin


ls -l /srv/www/vhosts/mydomain.com/cgi-bin/vqadmin
total 113
-rw-r--r-- 1 nobody   root  100 Sep  4 15:33 .htaccess
drwxr-xr-x 2 vpopmail vchkpw   1192 Sep  4 15:33 html
lrwxrwxrwx 1 root root   11 Sep  4 15:33 index.cgi - vqadmin.cgi
-rw-r--r-- 1 vpopmail vchkpw909 Sep  4 15:33 vqadmin.acl
-rwsr-sr-x 1 root root   103688 Sep  4 15:33 vqadmin.cgi


I am using:
qmailadmin 1.2.9
vpopmail 5.4.13
SuSE 10.1
AMD Athlon (64)


httpd.conf includes:

Directory /srv/www/vhosts/craigadmin.elmit.biz/cgi-bin/vqadmin
# original version
#deny from all
#Options ExecCGI FollowSymLinks
#AllowOverride AuthConfig
#Order deny,allow
Options FollowSymLinks ExecCGI
order deny,allow
deny from none
allow from all
Limit GET POST
order deny,allow
deny from none
allow from all
/Limit
/Directory


and /etc/apache2/vhosts.d/vhost.conf
VirtualHost *:80
   ServerAdmin [EMAIL PROTECTED]
VirtualDocumentRoot /srv/www/vhosts/%0/htdocs
   ErrorLog /var/log/apache2/virtual_error_log
   CustomLog /var/log/virtual_access_log vhost_combined
   HostnameLookups Off
   UseCanonicalName Off
   ServerSignature On
   VirtualScriptAlias /srv/www/vhosts/%0/cgi-bin/
   Directory /srv/www/vhosts/%0/cgi-bin
   AllowOverride None
   Options +ExecCGI -Includes
   Order allow,deny
   Allow from all
   /Directory
   IfModule mod_userdir.c
   UserDir public_html
   Include /etc/apache2/mod_userdir.conf
/IfModule
Directory /   
Options Indexes FollowSymLinks

   AllowOverride None
   Order allow,deny
   Allow from all 
   /Directory

/VirtualHost


Can anybody spot the problem?

bye

Ronald










Re: [vchkpw] chkuser 2.0 problem

2006-09-04 Thread Indalecio Trujillo

make this changes on my server

uncoment this lines

#define CHKUSER_SENDER_NOCHECK_VARIABLE SENDER_NOCHECK
#define CHKUSER_STARTING_VARIABLE CHKUSER_START

it's my tcp.smtp

:allow,QMAILQUEUE=/var/qmail/bin/simscan
63.245.25.60:allow,CHKUSER_SENDER_NOCHECK_VARIABLE=NONE,QMAILQUEUE=/var/qmail/bin/simscan

Now, the chkuser not work property, if send a mail to my server with a 
false email address in the log see the following


@400044fc880312a9c36c CHKUSER accepted rcpt: from 
[EMAIL PROTECTED]:: remote 
bay0-omc3-s14.bay0.hotmail.com:unknown:65.54.246.214 rcpt 
[EMAIL PROTECTED] : found existing recipient


but the [EMAIL PROTECTED] email addrees not exist, why now 
checkuser not work?




tonix (Antonio Nati) wrote:



At 20.47 01/09/2006, you wrote:


Today setup a new mail server.

I have 1 mail server with 2 domain, 1 domain to internet access and 1 
domain only local user.


the server is on my dmz

the problem is when the sender is from internal domain the chkuser 
say the following


CHKUSER rejected sender: from 
[EMAIL PROTECTED]:[EMAIL PROTECTED]: remote 
ElisaLugo:unknown:publicipaddress rcpt  : invalid sender MX domain



this user not send email to other domain, only can send mail to my 
external and internal domain.


can disable this option for my internal domain? the option is 
CHKUSER_SENDERMX_STRING



Specifically about sender checking, may use 
*CHKUSER_SENDER_NOCHECK_VARIABLE* in 
http://www.interazioni.it/opensource/chkuser/documentation/chkuser_settings.html


You may set it to RELAYCLIENT, and it should automatically be excluded 
for clients coming from IP authorized to relay.


A general advice is to disable CHKUSER when connection comes from your 
LAN.


Uncomment CHKUSER_STARTING_VARIABLE in chkuser_settings.h, and set the 
relative environment variable to NONE for connection from internal 
LAN, to DOMAIN for all others.


Tonino


How make disable this?

Help please.

Thank






Re: [vchkpw] chkuser 2.0 problem

2006-09-04 Thread tonix (Antonio Nati)

At 22.13 04/09/2006, you wrote:

make this changes on my server

uncoment this lines

#define CHKUSER_SENDER_NOCHECK_VARIABLE SENDER_NOCHECK
#define CHKUSER_STARTING_VARIABLE CHKUSER_START

it's my tcp.smtp

:allow,QMAILQUEUE=/var/qmail/bin/simscan
63.245.25.60:allow,CHKUSER_SENDER_NOCHECK_VARIABLE=NONE,QMAILQUEUE=/var/qmail/bin/simscan


:allow,QMAILQUEUE=/var/qmail/bin/simscan,SENDER_NOCHECK=DOMAIN
63.245.25.60:allow,SENDER_NOCHECK=NONE,QMAILQUEUE=/var/qmail/bin/simscan

This is the correct definition, based on your example.

Tonino


Now, the chkuser not work property, if send a mail to my server with 
a false email address in the log see the following


@400044fc880312a9c36c CHKUSER accepted rcpt: from 
[EMAIL PROTECTED]:: remote 
bay0-omc3-s14.bay0.hotmail.com:unknown:65.54.246.214 rcpt 
[EMAIL PROTECTED] : found existing recipient


but the [EMAIL PROTECTED] email addrees not exist, why 
now checkuser not work?




tonix (Antonio Nati) wrote:



At 20.47 01/09/2006, you wrote:


Today setup a new mail server.

I have 1 mail server with 2 domain, 1 domain to internet access 
and 1 domain only local user.


the server is on my dmz

the problem is when the sender is from internal domain the chkuser 
say the following


CHKUSER rejected sender: from 
[EMAIL PROTECTED]:[EMAIL PROTECTED]: remote 
ElisaLugo:unknown:publicipaddress rcpt  : invalid sender MX domain



this user not send email to other domain, only can send mail to my 
external and internal domain.


can disable this option for my internal domain? the option is 
CHKUSER_SENDERMX_STRING



Specifically about sender checking, may use 
*CHKUSER_SENDER_NOCHECK_VARIABLE* in 
http://www.interazioni.it/opensource/chkuser/documentation/chkuser_settings.html


You may set it to RELAYCLIENT, and it should automatically be 
excluded for clients coming from IP authorized to relay.


A general advice is to disable CHKUSER when connection comes from your LAN.

Uncomment CHKUSER_STARTING_VARIABLE in chkuser_settings.h, and set 
the relative environment variable to NONE for connection from 
internal LAN, to DOMAIN for all others.


Tonino


How make disable this?

Help please.

Thank




[vchkpw] Mail to all users?

2006-09-04 Thread Robin Bowes
Hi,

In an ISP situation, i.e. with many domains, each with many users,
what's the easiest/best way to send a mail to all users?

Here's my thoughts so far:

vpopbull
 - would need to loop over all domains and run vpopbull once for each
domain - not a major issue
 - Seems to write directly to the Maildir so it ignores any forwards

ezmlm mailing list
 - Would be a bit of a pain to keep all addresses current, i.e. to keep
the list members syncronised with the accounts on the server

Any further ideas?

Thanks,

R.



Re: [vchkpw] Mail to all users?

2006-09-04 Thread MT

Hi,

In an ISP situation, i.e. with many domains, each with many users,
what's the easiest/best way to send a mail to all users?

Here's my thoughts so far:

vpopbull
 - would need to loop over all domains and run vpopbull once for each
domain - not a major issue
 - Seems to write directly to the Maildir so it ignores any forwards

ezmlm mailing list
 - Would be a bit of a pain to keep all addresses current, i.e. to  
keep

the list members syncronised with the accounts on the server

Any further ideas?

Thanks,

R.



I use vpopbull.  Just leave off the domain to send an email to all  
the virtual domains. Never noticed about forwards though.  Sorry.


Matt


Re: [vchkpw] Mail to all users?

2006-09-04 Thread Tom Collins

On Sep 4, 2006, at 12:52 PM, Robin Bowes wrote:

In an ISP situation, i.e. with many domains, each with many users,
what's the easiest/best way to send a mail to all users?

Here's my thoughts so far:

vpopbull
 - would need to loop over all domains and run vpopbull once for each
domain - not a major issue
 - Seems to write directly to the Maildir so it ignores any forwards

ezmlm mailing list
 - Would be a bit of a pain to keep all addresses current, i.e. to  
keep

the list members syncronised with the accounts on the server

Any further ideas?


Use `vpopbull -n` to generate a list of email addresses, and then  
paste that into the bcc of an email sent from your email client.


Or, set up an ezmlm mailing list that doesn't allow users to  
subscribe or unsubscribe.  Before sending an announcement, delete all  
subscribers and re-subscribe them by piping the output of vpopbull -n  
to ezmlm-sub.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




[vchkpw] Re: Mail to all users?

2006-09-04 Thread Robin Bowes
Tom Collins wrote:
 
 Or, set up an ezmlm mailing list that doesn't allow users to subscribe
 or unsubscribe.  Before sending an announcement, delete all subscribers
 and re-subscribe them by piping the output of vpopbull -n to ezmlm-sub.

Thought of that.

All very well unless some users want to unsubscribe and not receive the
emails. But I suppose that's only the same as using vpopbull, i.e. all
users would get vpopbull messages and not be able to opt out.

It's a bit of a pain that vpopbull doesn't recognise any forwards. Any
chance of getting that modified?

John's hooks would be a another possible solution. I could setup the
list containing everybody then use a trigger that subs/unsubs users as
they are added/deleted. Might look into that. Did his hook code make it
into the codebase yet?

R.