Re: [vchkpw] [OT] spamhaus down?

2007-08-15 Thread Ajai Khattri
On Wed, 15 Aug 2007, Ken Jones wrote:

 I'm sorry. I didn't mean a dns lookup on the hostnames.
 I meant using rblsmtpd to do the query against their database.

But doesn't rblsmtpd need to do a DNS lookup to connect to the IP?


-- 
Aj.




RE: [vchkpw] chkusr on gateway mx?

2005-02-15 Thread Ajai Khattri
On Tue, 15 Feb 2005, Jason Wilkinson wrote:

 This is was thinking about doing. I'm not sure why everybody is replicating
 the database and mail structure when you can just export it via NFS
 (assuming you're on the local net) and be reading live data.

Its not a good idea because if your primary goes down you're screwed.

(At least with using rsync you have a backup that still does chkusr 
on incoming mail even if your primary MX is hosed).


-- 
Aj. ([EMAIL PROTECTED])
Systems Administrator / Developer



Re: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Ajai Khattri
On Mon, 14 Feb 2005, Paul Theodoropoulos wrote:

 is there any way to run chkusr on these 'gateway' MX servers? i use MySQL 
 authentication. The mysql server is the pop server, and i replicate that on 
 the primary MX (where the majority of mail comes in). is there any way to 
 'hook' into the authentication info in the replicated database directly? 
 that woudl be ideal, as it should be quite fast.
 
 but reading the docs, it appears i have to install vpopmail on the server 
 that's going to run chkusr, and i don't much like the idea of that. i'm a 
 tad worried that i might suddenly find all incoming messages being 
 delivered to 'local' and going to the bit-bucket if i turn on chkusr. but 
 that's just wild speculation at this point - i haven't yet installed 
 chkusr, pending some insight on the matters above.

We are running vpopmail (with chkusr) on a backup MX with a replicated 
MySQL database. This setup works well. We do a daily rsync of .qmail files 
(not the maildirs, just the structure). Qmail on that server is configured 
to relay to our primary MX but not before chkusr gets to do its thing on 
incoming mail - this is stopped a lot of spam coming through our backup 
MX.


-- 



RE: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Ajai Khattri
On Mon, 14 Feb 2005, Jason Wilkinson wrote:

 2) the file system (to check the
 ~qmail/control files and .qmail- files for aliases and catchalls)

rsync is your friend ;-)


--




Re: [vchkpw] Mysql-Vpopmail-Outlook trouble???

2005-01-27 Thread Ajai Khattri
On Thu, 27 Jan 2005, David Diaz wrote:

 I have an issue with my mail server, I have qmail, vpopmail 5.4.0 and MySQL 
 4.0.18 everything is fine, but when an user try to conect to mail server 
 using outlook as mail client in the morning or after a long time of 
 inactivity period, the outlook display the follow error message:
 
 Task 'server name - Sending and Receiving' reported error (0x800ccc0f): 
 'The connection to the server was interrupted. If this problem continues, 
 contact your server administrator or Internet service provider (ISP). 
 
 But if the user try again to connect to server after this error message, the 
 server response fine...
 this error happen just one time...and I don't really know what happenIn 
 my file of mysql configuration I have the follows parameters:

Some versions of Outlook try to receive BEFORE sending mail - so if your 
mail server implements POP-before-SMTP it fails the first time and then 
works the second time.

Other possibilities:

We've found that emails with corrupted headers (most often Date:, which is 
often the case with spam) can cause Outlook to fail to download. The only 
way to download the rest of the email is to delete the corrupted message 
(via WebMail). I have written a maildrop rule that inserts a Date: header 
if it is missing.

Some software firewalls also cause this error message from time-to-time. 
Ive had one customer have this happen with ZoneAlarm. Often its easy to 
remove Outlook from the firewall list of allowed apps and add it again 
when your firewall prompts you.

Of course, there could be server-side issues like MySQL not having enough 
connections but I would rule out the other possibilities first.


-- 
Aj. ([EMAIL PROTECTED])
Systems Administrator / Developer



Re: [vchkpw] vadduser com authentication with /etc/shadow

2003-11-13 Thread Ajai Khattri
Carlos H Pilz wrote:

How do I use vadduser to authenticate with my /etc/shadow 

Why ??? Because I want to add my local user to vpopmail !!!

Normally, you would configure your IMAP/POP server to authenticate 
against /etc/shadow instead of vchkpw.

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] vpopmail uid/gid 89

2003-11-07 Thread Ajai Khattri
Don Walters wrote:

I have vipw (I'm running RH9) but it seems to be just a incantation of 
the vi editor that takes me through the files and allows me to edit them.
Essentially it *is* a wrapper but it also does some file-locking and 
other housekeeping...
RH also has pwd_conv to manually create /etc/shadow from /etc/passwd.

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] wondering what I did wrong..

2003-08-14 Thread Ajai Khattri
Brian wrote:

vpopmail 5.3.20 from FreeBSD ports collection.  it *was* a cdb based 
setup and I've recently moved from cdb to mysql.  (it's much faster 
and went seemingly easy.. but)

[EMAIL PROTECTED] [~]# 11  telnet localhost 110
Trying 127.0.0.1...
Connected to localhost
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user user
+OK
pass pass
vmysql: sql error[3]: Table 'vpopmail.users' doesn't exist
-ERR authorization failed
Connection closed by foreign host.
and yes it's true the users table does not exist in the mysql vpopmail 
database, also when people with virtual domains try and login as 
postmaster from an alias'd domain it gives them a simmilar error.

Did you convert all the accounts over to MySQL? I think there's a script 
to do that...

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] vpopmail documentation initiative

2003-08-14 Thread Ajai Khattri
Tom Collins wrote:

I've enabled the DocManager feature of our SourceForge project, and 
Ron is the editor.  If you have vpopmail-related documentation to 
contribute, please submit it here:

http://sourceforge.net/docman/?group_id=85937

This is simply excellent!

Also, do you have an FAQ of some kind? (I haven't looked). We ought to 
have some sort of cookbook will tried and proven solutions to common 
scenarios...

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] Sorry,_no_mailbox_here_by_that_name

2003-08-14 Thread Ajai Khattri
Mike Robin Haller wrote:

NOW the problem is, that he does not seem to recognize the directory.
i can add successfully the domain with
/home/vpopmail/bin/vadddomain haller-systemservice.net SECRETPW
i can also get the infos:

--
main:/home/vpopmail/domains/haller-systemservice.net # /home/vpopmail/bin/vuserinfo 
[EMAIL PROTECTED]
name:   info
passwd: $1$fJye;$2x5VjC3f4XGvatfafLffx.
clear passwd: SECRETPW
uid:1
gid:0
gecos: info
   all services available
dir:   /home/vpopmail/domains/haller-systemservice.net/info
quota: 1S,1000C
usage: 0%
last auth: Mon Aug 11 20:03:38 2003
last auth ip: 217.230.89.187
--
but the mail to [EMAIL PROTECTED] gets always bounces:

--
@40003f37d9503b11ece4 new msg 66136
@40003f37d9503b120c24 info msg 66136: bytes 1137 from [EMAIL PROTECTED] qp 10859 
uid 502
@40003f37d9503b8a8014 starting delivery 165: msg 66136 to local [EMAIL PROTECTED]
@40003f37d9503b8a9f54 status: local 1/10 remote 0/20
@40003f37d9503b8aa33c delivery 165: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40003f37d9503b8aab0c status: local 0/10 remote 0/20
@40003f37d9510048f1d4 bounce msg 66136 qp 10862
@40003f37d95100490d2c end msg 66136
--
People always seem to ignore the fact that qmail is in the picture too.

What is in /var/qmail/rcpthosts, /var/qmail/virtualdomains and 
/var/qmail/users/assign ?

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] configure --enable-mysql=y error : help a noob please?

2003-08-14 Thread Ajai Khattri
jon kutassy wrote:

Im trying to set up vpopmail +mysql + qmail on redhat 9

I believe I've read the relevent docs, and searched the web :

when i run ./configure --enable-mysql=y

I get this error:

configure: error: unable to find your inc dir, specify --enable-incdir

Now I'd love to be able to do this, but Im not sure what one is...
Im assuming you have all the compiler tools installed?

Is mysql installed from an RPM package or from source?

--

Aj.
Systems Administrator / Developer




Re: [vchkpw] .qmail

2003-08-11 Thread Ajai Khattri
Flavio Caetano wrote:

Hi... I have the following problem

if I create a .qmail file under /home/vpopmail/domains/teste.com/teste that 
cointains [EMAIL PROTECTED] this redir doesn't work

but if I create a .qmail-teste under /home/vpopmail/domains/teste.com that 
cointains [EMAIL PROTECTED] the redir works well!

And the problem is?

See man dot-qmail

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] MySQL entry and files on te local file system?

2003-08-04 Thread Ajai Khattri
Thomas Lojmann Jorgensen wrote:

AK Why don't you use vdeluser in your script?

I will not give Apache premissions to use some of the vpopmail files,
but I have made a script that do what I want it to do, and then run it
in as a cronjob...
Ah - you did not make it clear that it was a CGI script...

--
Aj.
Systems Administrator / Developer




[vchkpw] Mailbox suddenly started bouncing

2003-08-04 Thread Ajai Khattri
All of a sudden, all email to this mailbox has started bouncing.

Looking at the qmail-send log I see:

2003-08-04 16:56:17.687021500 new msg 102517
2003-08-04 16:56:17.687123500 info msg 102517: bytes 634 from 
[EMAIL PROTECTED] qp 11987 uid 513
2003-08-04 16:56:17.690306500 starting delivery 2910: msg 102517 to 
local [EMAIL PROTECTED]
2003-08-04 16:56:17.690325500 status: local 1/10 remote 2/20
2003-08-04 16:56:17.692370500 delivery 2910: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
2003-08-04 16:56:17.692527500 status: local 0/10 remote 2/20
2003-08-04 16:56:17.697170500 bounce msg 102517 qp 11989
2003-08-04 16:56:17.697210500 end msg 102517

And yet:

# cd /home/vpopmail/domains/bitblit.net/
# ls -al
total 72
-rw---1 vpopmail vchkpw 35 Jul 26 12:22 .dir-control
lrwxrwxrwx1 vpopmail vchkpw 47 Oct  2  2001 .qmail-admin - 
/home/vpopmail/domains/bitblit.net/admin/editor
lrwxrwxrwx1 vpopmail vchkpw 48 Oct  2  2001 
.qmail-admin-default - /home/vpopmail/domains/bitblit.net/admin/manager
lrwxrwxrwx1 vpopmail vchkpw 46 Oct  2  2001 
.qmail-admin-owner - /home/vpopmail/domains/bitblit.net/admin/owner
lrwxrwxrwx1 vpopmail vchkpw 48 Oct  2  2001 
.qmail-admin-return-default - 
/home/vpopmail/domains/bitblit.net/admin/bouncer
-rw---1 vpopmail vchkpw 49 May  8  2002 .qmail-aj
lrwxrwxrwx1 vpopmail vchkpw 49 Oct 30  2001 .qmail-clients 
- /home/vpopmail/domains/bitblit.net/clients/editor
lrwxrwxrwx1 vpopmail vchkpw 50 Oct 30  2001 
.qmail-clients-default - /home/vpopmail/domains/bitblit.net/clients/manager
lrwxrwxrwx1 vpopmail vchkpw 48 Oct 30  2001 
.qmail-clients-owner - /home/vpopmail/domains/bitblit.net/clients/owner
lrwxrwxrwx1 vpopmail vchkpw 50 Oct 30  2001 
.qmail-clients-return-default - 
/home/vpopmail/domains/bitblit.net/clients/bouncer
-rw---1 vpopmail vchkpw 24 Jun  4  2002 .qmail-helio
-rw---1 vpopmail vchkpw 49 Jun 18  2002 .qmail-help
-rw---1 vpopmail vchkpw 49 Mar 15  2002 .qmail-mailman
-rw---1 vpopmail vchkpw 49 Apr  2  2002 .qmail-mailman-owner
lrwxrwxrwx1 vpopmail vchkpw 50 Feb 21 16:56 .qmail-partners 
- /home/vpopmail/domains/bitblit.net/partners/editor
lrwxrwxrwx1 vpopmail vchkpw 51 Feb 21 16:56 
.qmail-partners-default - 
/home/vpopmail/domains/bitblit.net/partners/manager
lrwxrwxrwx1 vpopmail vchkpw 49 Feb 21 16:56 
.qmail-partners-owner - /home/vpopmail/domains/bitblit.net/partners/owner
lrwxrwxrwx1 vpopmail vchkpw 51 Feb 21 16:56 
.qmail-partners-return-default - 
/home/vpopmail/domains/bitblit.net/partners/bouncer
-rw-r--r--1 vpopmail vchkpw 49 Aug 10  2002 .qmail-postmaster
-rw---1 vpopmail vchkpw 49 Mar 10 14:28 .qmail-rhn
-rw---1 vpopmail vchkpw 49 Dec 20  2001 .qmail-webmaster
-rw---1 vpopmail vchkpw  0 Jul 26 13:03 .vpasswd.lock
drwx--6 vpopmail vchkpw   4096 Jul 19 21:52 admin/
drwx--3 vpopmail vchkpw   4096 May  8  2002 ajai/
drwx--3 vpopmail vchkpw   4096 Oct  1  2001 cem/
drwx--3 vpopmail vchkpw   4096 Sep 25  2001 chuck/
drwx--6 vpopmail vchkpw   4096 Jun 18  2002 clients/
drwx--3 vpopmail vchkpw   4096 Oct  1  2001 eddie/
drwx--3 vpopmail vchkpw   4096 Sep  6  2002 emily/
drwx--3 vpopmail vchkpw   4096 Dec  4  2001 helga/
drwx--3 vpopmail vchkpw   4096 Oct 30  2001 james/
drwx--3 vpopmail vchkpw   4096 Feb  3  2003 jeddah/
drwx--3 vpopmail vchkpw   4096 Nov  8  2001 karen/
drwx--3 vpopmail vchkpw   4096 Jul 26 12:22 natjackson/
drwx--8 vpopmail vchkpw   4096 Jul 24 11:43 partners/
drwx--3 vpopmail vchkpw   4096 Oct  1  2001 paul/
drwx--3 vpopmail vchkpw   4096 Sep  4  2002 postmaster/
drwx--3 vpopmail vchkpw   4096 Oct  1  2001 preston/
-rw-r--r--1 vpopmail vchkpw   1248 Jul 26 13:03 vpasswd
-rw-r--r--1 vpopmail vchkpw   3582 Jul 26 13:03 vpasswd.cdb

# cd ajai
# ls -l
total 4
drwx--8 vpopmail vchkpw   4096 Dec 19  2001 Maildir/
# cd Maildir/
# ls -l
total 388
-rw-r--r--1 vpopmail vchkpw 42 Apr 16  2002 
courierimapsubscribed
-rw-r--r--1 vpopmail vchkpw   1474 Aug  3 23:47 courierimapuiddb
drwx--2 vpopmail vchkpw 348160 Aug  4 12:42 cur/
drwx--2 vpopmail vchkpw  28672 Aug  3 23:45 new/
-rw---1 vpopmail vchkpw 15 Sep 29  2001 sqwebmail-pass
drwx--2 vpopmail vchkpw   4096 Aug  4 00:40 tmp/

Here is the output from qmail-showctl:

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 512, 513, 514, 0, 515, 516, 517, 518.
group ids: 512, 513.
bouncefrom: (Default.) Bounce user name is 

Re: [vchkpw] MySQL entry and files on te local file system?

2003-08-01 Thread Ajai Khattri
Thomas Lojmann Jorgensen wrote:

I use Vpopmail vith MySQL support.
If I delete a entry in the tabel named vpopmail, then the user can't
login, I know.
But will it automatic delete the
/home/vpopmail/domains/domain.com/user-dir ???
I use it with a script to create e-mails with, on a domain (something
like vqregister) - and when a user delete his/her account I will let
the script delete the user/dir also (but I wount give apache rights to
the folder!)
Why don't you use vdeluser in your script?

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] I'm tiret of bounce mail that is bounced...!

2003-08-01 Thread Ajai Khattri
marrandy wrote:

Yes, but better still, join up at  http://www.trustic.com

You can then forward those double bounces as attachments to the address they 
give you and volia, you add to the anti-spam listing.

Also, set your qmail-smtp run file like this :-

exec /usr/local/bin/tcpserver 0 smtp rblsmtpd \
   -b -c -r sbl.spamhaus.org \
   -b -c -r relays.ordb.org \
   -b -c -r QUERYADDRESS \
   qmail-smtpd 21
Replace QUERYADDRESS with your trustic assigned one.

I just signed up with Trustic last week and your idea of sending 
doublebounces to Trustic automatically is brilliant!

Thanks,

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] I'm tiret of bounce mail that is bounced...!

2003-08-01 Thread Ajai Khattri
marrandy wrote:

I don't send them automatically, I'm dubious of automatic reporting and like 
to verify there is nothing unusual that will trip up trustics parser.

I give them the quick once over, then do fwd as attach.  I have my trustic 
address in my address book and as soon as I type the first character, it 
appears, hit enter and send.

This is what I already do right now. In fact, I had been saving spam for 
several months now (I intended to use them to train SpamAss), so I used 
mutt to bounce over 5000 of them to Trustic over the weekend :-)

I expect trustic to get better as more people provide spam mails.

Indeed.

Im waiting for the beta to end because one of my servers is marked as 
untrusted but I cannot claim it as that feature is switched off during 
the beta. (It was untrusted because one of our customer's servers was 
compromised and then used to send 50,000 spams through our mail server 
(which treated their mail server as
a trusted relay!).

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] IMAP/POP3 errors

2003-07-31 Thread Ajai Khattri
[EMAIL PROTECTED] wrote:

Im Using qmail's POP3d and Vpopmail... and I still get the same erroos as
soon as I go back to POP3 after logging into IMAP for the first time...
 

What is the IMAP server?

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] OT TDMA Conversion to mysql..?

2003-07-30 Thread Ajai Khattri
Harry Zink wrote:

Well, being in the same boat, I simply set up a rule/filter which responds
to TMDA challenges with an automatic response, and files the
challenge/response/confirmation away. No interaction needed on my part, and
the lines of communication remain open. Very simple, really.
Most people are not savvy enough to setup their email clients in this 
way - nor do they want to be.

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] why my vpopmail can not set default domain ??

2003-07-30 Thread Ajai Khattri
T.J.Ch wrote:

I set a qmail, vpopmail server with vpopmail-5.3.23.
and config it as:
./configure \
 --enable-roaming-users=n \
 --enable-logging=p \
 --enable-defaultquota=20971520S \
 --enable-ip-alias-domains=n \
 --enable-domainquotas=y \
\
 --enable-passwd=n \
 --enable-clear-passwd=y \
\
 --enable-mysql=y \
 --enable-incdir=/usr/include/mysql \
 --enable-libdir=/usr/lib/mysql \
 --enable-many-domains=y \
\
 --enable-auth-logging=y \
 --enable-mysql-logging=y \
 --enable-valias=y \
 --enable-mysql-limits=y
I don't see any default domain defined above.

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] Authentication failed..

2003-07-29 Thread Ajai Khattri
[EMAIL PROTECTED] wrote:

Hi, I have an qmail/vpopmail/courierimap/sqwebmail-server. And, I have a problem.. 
I?m not really sure if it is about the vchkpw -program, but that?s my guess
The problem is, that if I start the imapserver, and/or the sqwebmailserver, the first minutes I can log in without any problems, or let?s say, the first time. But, when I try to login in again, with the same account or with another, authentication fails.. Whery strange. I uses plain-password style for authdaemond.plain for imap. For the local users /etc/passwd the problem inly apears sometimes. 
 

I think this problem is with authdaemond?

Solution: Do not use authdaemond.

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.hhow-to?

2003-07-22 Thread Ajai Khattri
Of course, this is all documented in README.mysql...

Ahmad Masood Shah wrote:

Hi Kuan,
 
Thanks for your kind of information.
any how where are you from. and What type of enviornment you have.
I'm working with an ISP www.fibre.net.pk http://www.fibre.net.pk
 

--
 
Best Regs,
Masood Ahmad Shah
System Administrator
 
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
|   * * * * * * * * * * * * * * * * * * * * * * * *
|   Fibre Net (Pvt) Ltd. Lahore, Pakistan
|   Tel: +92-42-6677024
|   Mobile: +92-300-4277367
|   http://www.fibre.net.pk
|   * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

- Original Message -
From: Kuan Yik mailto:[EMAIL PROTECTED]
To: Ahmad Masood Shah mailto:[EMAIL PROTECTED] ;
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 8:23 AM
Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql host
in vmysql.h how-to?
Hi Ahmad,
 
I have found out how to define the different port number for the
mysql. We can actually define the mysql port number in the
vmysql.h file under the
 
/* defaults - no need to change */
#define MYSQL_VPORT 0
 
Default value is 0 and you can define to the differnet port number
if you wish.
 
Thank you for your help anyway.

- Original Message -
From: Ahmad Masood Shah mailto:[EMAIL PROTECTED]
To: Kuan Yik mailto:[EMAIL PROTECTED] ;
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 3:21 PM
Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql
host in vmysql.h how-to?
hmm have u changed /etc/service mysql 
it can be handy ... me is kinda busy let me find where you can
put port in vmyslq.h or you will have to change some code in
this file...give me time I will do for u...
-- 
 
Best Regs,
Masood Ahmad Shah
System Administrator
 
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
|   * * * * * * * * * * * * * * * * * * * * * * * *
|   Fibre Net (Pvt) Ltd. Lahore, Pakistan
|   Tel: +92-42-6677024
|   Mobile: +92-300-4277367
|   http://www.fibre.net.pk
|   * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to understand the
simplicity.
(Dennis Ritchie)

- Original Message -
From: Kuan Yik mailto:[EMAIL PROTECTED]
To: Ahmad Masood Shah mailto:[EMAIL PROTECTED] ;
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 11:42 AM
Subject: Re: [vchkpw] vpopmail + mysql : Define other
mysql host in vmysql.h how-to?
Hi Ahmad, thanks for your reply, but what if I want to
define different port number or sock file?
 
It is not working if I define like
 
#define MYSQL_UPDATE_SERVER localhost:
#define MYSQL_READ_SERVER   localhost:
 
OR
 
#define MYSQL_UPDATE_SERVER /usr/local/mysq/mysql.sock
#define MYSQL_READ_SERVER   /usr/local/mysql/mysql.sock
 
Any idea how ?
 
thanks

- Original Message -
From: Ahmad Masood Shah mailto:[EMAIL PROTECTED]
To: Kuan Yik mailto:[EMAIL PROTECTED] ;
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 2:25 PM
Subject: Re: [vchkpw] vpopmail + mysql : Define other
mysql host in vmysql.h how-to?
simple is that open you command prompt
 
vi vmysql.h
you will find 2 lines like shown below...
 
 
#define MYSQL_UPDATE_SERVER localhost
#define MYSQL_READ_SERVER   localhost
 
and blah balh

-- 
 
Best Regs,
Masood Ahmad Shah
System Administrator
 
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
|   * * * * * * * * * * * * * * * * * * * * * * * *
|   Fibre Net (Pvt) Ltd. Lahore, Pakistan
|   Tel: +92-42-6677024
|   Mobile: +92-300-4277367
|   http://www.fibre.net.pk
|   * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to
understand 

Re: [vchkpw] vpopmail with mysql problem

2003-07-18 Thread Ajai Khattri
zafar rizvi wrote:

i am installing vpopmail-5.2.1 with mysql centralized database ports,
I successfully compile everything but when adding the domain it give me
error like that
[EMAIL PROTECTED] vpopmail-5.2.1]# /home/vpopmail/bin/vadddomain example.com
Please enter password for postmaster:
enter password again:
could not connect to mysql update server Access denied for user:
'[EMAIL PROTECTED]' (Using password: YES) with database
could not connect to mysql update server Access denied for user:
'[EMAIL PROTECTED]' (Using password: YES)
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away
vmysql: sql error[2]: MySQL server has gone away
Error: Unable to chdir to vpopmail/users directory
Is there anything wrong.
A whole bunch of things could be wrong - you have to do some 
troubleshooting yourself to check these:

1. MySQL isn't running at the remote end.

and/or

2. Your MySQL username or password is/are incorrect.

and/or

3. You haven't given permission on the remote MySQL server to connect to 
it from your server (i.e. GRANT ALL PRIVILEGES ON vpopmail.* TO 
[EMAIL PROTECTED] IDENTIFIED BY password  etc etc etc).

and/or

4. There is a firewall running on either or both machines preventing 
communication.

Again, as I suggested in a previous email, you can test these things 
yourself easily enough using simple things like telnet, the mysql 
client, etc etc.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Vpopmail Installation Problem

2003-07-16 Thread Ajai Khattri
zafar rizvi wrote:

I am in problem of installing vpopmail with centralized mysql database
support, and getting error in make command.
i think its all bcz of disconnection from remote system.
I test the connection with php script and got output like that.
Error :Lost Connection to mysql server during query.
A basic troubleshooting step would be to check that the MySQL connection 
with the same username and password actually works. You can probably do 
this by logging into your mail server and connecting your central 
database by using the mysql client.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Vpopmail Installation Problem

2003-07-16 Thread Ajai Khattri
zafar rizvi wrote:

Its mean mysql client must be installed on the qmail server first.
Well you have to have mysqlclient libraries installed to talk to another 
MySQL server anyway!

I have but still i am getting error.
ERROR 2003: Can't connect to MySQL server on '192.168.0.64' (111)
So you have a basic connectivity problem:

1. Check MySQL is running on the remote server and is listening on that IP.

2. If it is, trying telnetting to port 3306 from the mail server to the 
MySQL server and see if you get connected.

3. Check you don't have a firewall running locally on both machines.

Etc etc etc.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] pop3/imap authentication through remote database

2003-07-15 Thread Ajai Khattri
zafar rizvi wrote:

i am installing qmail on linux and creating on centrilized mysql server and
one qmail server where user mailbox will reside.
I have two mail-relay servers where i have running pop3/imp,smtp and i want
on relayserver users authenticate himself through centralized mysql
database.
But how ?
mean how pop3/imap will communicate with remote database server for
authentication.
Use Matt Simerson's tcpserver patch. This patch enables tcpserver to use 
a relays table in MySQL.

You can implement a POP-before-SMTP scheme where vpopmail puts an entry 
in the relays table and tcpserver can read the table for allowing those 
users to relay.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] vpasswd.cdb

2003-07-15 Thread Ajai Khattri
Nils wrote:

I'm migrating a customers qmail, vpopmail, etc from BSD to a machine
running RedHat 7.3.  I've got qmail and vpopmail running (as far as I
can tell), but when trying to use sqwebmail, it uses authdaemond.plain
to authenticate via /home/vpopmail/users/vpasswd.cdb
So with vadduser I can add a user to a domain, which is good, but only
adds their username/password to /home/vpopmail/domains/_DOMAIN_/vpasswd
and vpasswd.cdb.  But with authdaemond.plain using
/home/vpopmail/users/vpasswd.cdb, it doesn't see the changes made because
they aren't written to this file.
I seriously must be missing a big chunk of the picture because I can not
figure out how to make this work.  Anyone, with any help would be
greatly appreciated.
Have your IMAP/POP3 server (courier?) use vchkpw authentication.

Some people have problems using authdaemond so its often better to 
rebuild courier to use vchkpw directly instead of authdaemond. Either 
way vchkpw should do what you want.

--
Aj.
Systems Administrator / Developer



Re: SV: [vchkpw] possible smtp-auth bug (qmail)

2003-07-14 Thread Ajai Khattri
Bård Tommy Nilsen wrote:

I checked this on a test server og it failed, but
When I tried to relay trough my test server with an to
Address that matched one domain in rcpthost it accepts the relay.
It should if its in your rcpthost file no?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] No incoming mail

2003-07-09 Thread Ajai Khattri
Bård Tommy Nilsen wrote:

my mailserver is delivering mail to my virtualdomains as long as i sends 
them from
the mailserver.
 
When i try to send email from another server, the mail never gets there, 
and i doesnt either get
the mail in return...
Did you try telnetting from another server to port 25 of your mail 
server and talking SMTP to it?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Mail to local users

2003-07-09 Thread Ajai Khattri
Bård Tommy Nilsen wrote:

what about mail to the local users on the machine such as root ??
 
the mails newer gets the user ...
Im assuming you're using vpopmail, yes?

If so, add your default domain using vadddomain, add all your default 
domain accounts using vadduser. You may want to create forwards for root 
and MAILER-DAEMON that forward to a real person.

man dot-qmail

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] vpopmail with mysql support

2003-07-09 Thread Ajai Khattri
zafar rizvi wrote:

hi ppl
i am using qmail on linux with vpopmail(5.3.14) support with mysql. But
getting error like that when using with mysql support.
Any body has idea about that error.

vauth.c: In function `vget_lastauth':
vauth.c:1132: `mysql_update' undeclared (first use in this function)
vauth.c:1139: warning: assignment makes integer from pointer without a cast
vauth.c:1141: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vget_lastauthip':
vauth.c:1157: `mysql_update' undeclared (first use in this function)
vauth.c:1164: warning: assignment makes integer from pointer without a cast
vauth.c:1165: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vcreate_lastauth_table':
vauth.c:1178: `LASTAUTH_TABLE_LAYOUT' undeclared (first use in this
function)
vauth.c:1179: `mysql_update' undeclared (first use in this function)
vauth.c:1183: warning: assignment makes integer from pointer without a cast
vauth.c: In function `logmysql':
vauth.c:1352: `mysql_update' undeclared (first use in this function)
vauth.c:1359: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vcreate_vlog_table':
vauth.c:1372: `mysql_update' undeclared (first use in this function)
vauth.c:1376: warning: assignment makes integer from pointer without a cast
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2
**
Did you edit vmysql.h (as it says in README.mysql) ?

Also, is MySQL installed from RPM?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Starting pop3 server

2003-07-08 Thread Ajai Khattri
Bård Tommy Nilsen wrote:

the startup line does not work
 
 
 
martine# env - PATH=/var/qmail/bin:/usr/local/bin \
? tcpserver -H -R 0 pop3 \
/var/qmail/bin/qmail-popup martine.mydomain.no \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir ? 
/var/qmail/bin/qmail-popup martine.mydomain.no \
? /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
[3] 902
[2]Exit 127  env - 
PATH=/var/qmail/bin:/usr/local/bin tcpserver -H -R 0 pop3  ...
martine# env: tcpserver: No such file or directory
 
it is on an Freebsd 5.1 box.
Maybe tcpserver is not installed in your PATH?
What do you see if you type which tcpserver ?
--
Aj.
Systems Administrator / Developer



[vchkpw] Usernames in vpopmail

2003-07-02 Thread Ajai Khattri
What is the reason we can't have single letter usernames in vpopmail?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Re: POP authentication error

2003-06-27 Thread Ajai Khattri
Chris Pugh wrote:

I ended up using dpkg / apt to remove all the Deb
software versions then compiled and installed qmail,
tcpserver, vpopmail, qmailadmin etc, from source.
With everything then in the default locations, and no
Deb Woody stuff getting in the way,way, the problems
just seemed to evaporate...
Probably the packages installed themselves into various Debian-specific 
locations and then conflicted with the install from source.

For important stuff, I find it generally better to always install from 
source and use the package systems just to manage the underlying OS.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] vchkpw and swebmail's /etc/userdb?

2003-06-25 Thread Ajai Khattri
Robin Szemeti wrote:

err  ... because we aren't using courier-imap or courier-pop?

we are using tcpserver and qmail-pop3d, authenticating against vchkpw. as 
described in the vpopmail INSTALL file.

if courier-pop will do it for us, (authenticating system users agaisnt 
/etc/userdb and virtual domains against vchkpw ) then thats what we'll do ... 

I thought courier-pop used a cdb database thing,  /etc/userdb is a gd 
database ... shrug .. I'll go and check out this 'courier-pop' thing then.
Courier-imap, which does IMAP and POP3, authenticates using a variety of 
methods. It can use your vchkpw or it can use userdb - you build and 
configure it for whatever auth module you need.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] using /etc/passwd

2003-06-22 Thread Ajai Khattri
Binaya Joshi wrote:

I am migrating from sendmail my virutual hosting to qmail. 
But due to some problems I have been forced still to use the /etc/passwd 
to authenticate the virtual users.
 
Is there any way out so that I can authenticate my virtual 
users from /etc/passwd and /etc/shadow instead of 
/usr/home/vpopmail/domain/passwd file ?
If you are using courier-imap for POP3/IMAP access you can build and 
configure it to authenticate against the system passwd file. See the 
docs covering the various authentication modules.

(Hint: look at authpwd and authshadow authentication modules).

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] FW: Problems with mySQL Install

2003-06-17 Thread Ajai Khattri
Matt Rudderham wrote:

Sorry, I shouldn't write e-mail on Monday morning.  Vpopmail doesn't
create any tables in the database or connect to it in any way, when
should the tables, etc be created? Thanks!
Try adding a domain and a user...

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] FW: Problems with mySQL Install

2003-06-17 Thread Ajai Khattri
Matt Rudderham wrote:

I hope this is the appropriate list for an install problem I'm having. I
am compiling from sources with the following steps: Edit vmysql.h with
appropriate options, vpopmail empty database and user already created.
./configure --enable-roaming-users=y --enable-mysql=y --enable-valias=y
--enable-tcprules-prog=/usr/vpopmail/etc/tcp.smtp
--enable-default-domain=thecasket.ca
make

make install-strip

Everything seems to go fine with no errors, etc, the trick I is I am
installing on a system runing Mac Darwin (* don't blame me, I didn't buy
it ;) *) Am I missing something basic or can you recommend anything I
should try? Thanks!
I don't get it - so what exactly is the problem?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] How many inodes is enough?

2003-06-11 Thread Ajai Khattri
Cream[DONut] wrote:

on the 1.13ghz p4 512mb Qmail didnt have any problems handeling the 
mails in que, and delivering them to the account, but sqwebmail timed 
out when trying to index / count them, also the ext3 file system took so 
Doesn't sqwebmail use IMAP or POP3? In which case, it was the IMAP/POP3 
server timing out - what server were you using?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Permission Error

2003-06-11 Thread Ajai Khattri
Hannes Widmer wrote:

Thanks a lot for your reply...but after the 
command...still the same problem... Other Ideas? ...
Obviously it looks like a permissions problem. So check all your 
permissions under /home/vpopmail. Check your binaries.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Vpopbull Problem

2003-06-11 Thread Ajai Khattri
Brendan McAlpine wrote:


Any idea on how I would begin to narrow that down?  There are 2000 mail 
accounts and since I can't get vpopbull to run through all of them I 
can't get a very good list.
man vpopbull:

	-v Verbose mode. Prints out each email address it is sending to

-n Don't actually mail it. Using -v and -n can be used to list
out all virtual domain email accounts.
Maybe that will help.

--
Aj.
Systems Administrator / Developer



[vchkpw] How many inodes is enough?

2003-06-11 Thread Ajai Khattri
I am building a new mail server and hope to eventually migrate about 
2800 users from an older server currently running sendmail. Each user 
will have a default quota of 10Mb (some will have more).

The new mail server is running Linux and qmail+vpopmail+MySQL :-)

All this is great but I need to somehow calculate how many file system 
inodes I need to move these mailboxes and support 2800 users. Does 
anyone have any formulas/rules-of-thumb/tips ? Also, what would be an 
appropriate block size for the fs?

Also, best tool to convert /var/mail-style mboxes to vpopmail Maildirs?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] hmmm, question

2003-06-11 Thread Ajai Khattri
Tom Collins wrote:

The Perl program would go through the headers and decide on whether the 
mail should even be forwarded to the alpha-pager (e.g., ignore mailing 
lists, etc.).  If it was worthy of forwarding, another part of the 
script would modify the message to get as much information across as 
Sounds like a typical sendmail solution (i.e. a bit clunky :-)

A simple procmail recipe would suffice in this situation.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Domain quotas

2003-03-26 Thread Ajai Khattri
Brian Kolaci wrote:

Even the courier readme recommends using system quotas.
But since all email files are owned by the vpopmail user that doesn't 
give you much flexibility if you want to implement quotas on a 
per-domain or per-user basis.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] smtp/queue problems

2003-03-20 Thread Ajai Khattri
John McGivern wrote:

I have a client using plesk which is a system that integrates qmail with web services.  They have been using their own server to send mail as well as receive.  Right now when I do a qmail-qread on the queue it just goes on for days and days - there is alot of stuff in there - most likely spammers!!  Is there a way to just blast everything out of the queue in one mighty fell-swooping command?  I really need to get this queue completely cleared out so that htey can send mail again - I will fix up their set up after so this doesn't happen again!!
Google is your friend ;-)

http://www.faqts.com/knowledge_base/view.phtml/aid/6567/fid/286/lang/en

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Compile erro

2003-03-20 Thread Ajai Khattri
Thiago Campos wrote:

When i do 'make' i got the following error:
 
vauth.c:25:19: mysql.h: No such file or directory
In file included from vauth.c:29:
It can't find your mysql.h include file. Look in /usr/include. If you 
built MySQL from source (and didn't use the RPM package) then make sure 
you tell configure where to look for it.

--
Aj.
Systems Administrator / Developer



[vchkpw] vpopmail+mysql config

2003-03-12 Thread Ajai Khattri
Im looking thru vmysql.h and was wondering if it was OK to use a 
different login name instead of root for MySQL?

--
Aj.
Systems Administrator / Developer



[vchkpw] Qmail LDAP + vpopmail LDAP ???

2003-02-28 Thread Ajai Khattri
Anybody here using Qmail-LDAP with vpopmail LDAP?

I would like to have all the features of vpopmail using LDAP but I also 
would like Qmail to use LDAP too and integrate with vpopmail without any 
loss of functionality.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] vpopmail+qmail

2003-02-25 Thread Ajai Khattri
Ihsan Turkmen wrote:

I have installed qmail+vpopmail ,bur have a problem.

1. qmai-inject and smtp-deamon inject mails into and look for mailboxes in
$HOMEDIR/Maildir
What is in ~qmail/control/rcpthosts?
What is in ~qmail/control/virtualdomains?
What does your /var/qmail/users/assign file say?
2.Vpopmail tries to pop the mail from
/home/vpopmail/domains/mydomain.com.tr/ihsan/Maildir
3.When I manually copy the content of $HOMEDIR/Maildir to
/home/vpopmail/domains/mydomain.com.tr/myusername/Maildir, the pop client
sees all the mail in the mailbox but unable to read them.
Because normally, the Maildirs are owned by vpopmail and belong to the 
vchkpw group.


4.qmail-inject sends mail to outside world succesfully.
5.When qmail gets an e-mail for an acccount who has'nt got  a homedir (even
if he  has a Mailbox in home/vpopmail/domains/mydomain.com.tr/myusername/)
qmail deamon returns the 
Tell us what the control and assign files look like.

Also, what are you using for POP3? Courier?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] pop3 auth failure with vpopmail

2003-02-21 Thread Ajai Khattri
ABOKHALAF, Nassri Abdellatif wrote:

I am trying  Qmail + vpopmail + qmailadmin.

Problem: when teleneting port 110 user password fail for previous user i createed with Qmail pop3 and 
also with a virtual domain i created with Qmailadmin
Im assuming you know that the full email address is the username when 
using vpopmail?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Can't login to pop mail server (qmail+vpopmail)

2003-02-21 Thread Ajai Khattri
[EMAIL PROTECTED] wrote:

Hello, please find out my problem :

[EMAIL PROTECTED] qmail]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass website
-ERR authorization failed
Connection closed by foreign host.
QMAIL :
/var/qmail/control/virtualdomains : mydomain.com:mydomain.com
...defaultdelivery : ./Maildir
QMAILCTL:
tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup mydomain.com
/var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
VPOPMAIL directory:
[EMAIL PROTECTED] control]# cd /var/vpopmail/domains/mydomain.com/postmaster
[EMAIL PROTECTED] postmaster]# ls
Maildir
MAILLOG:
Feb 21 21:40:30 localhost vpopmail[1343]: vchkpw: chdir failed errno 13
/var/vpopmail/domains/mydomain.com/postmaster
[EMAIL PROTECTED]:127.0.0.1
Cannot change directory (chdir) to the Maildir. Check the permissions on
the directory. Also check that vchkpw is setuid/setgid to 
vpopmail/vchkpw user/group.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Questions about vpopmail, vqadmin, and qmail

2003-02-20 Thread Ajai Khattri
Jimmy Gatt wrote:


3. I have a domain that I am trying to delete via vqadmin
but cannot (the web page tells me Failed).  I have
removed this domain's table from mysql, I have removed
this domain from rcpthosts and localdomains.  What I really
want to do is delete this domain and re-add it.  Where else
do I need to remove the presense of this domain?


Im assuming there is a maildir under ~vpopmail/domains/  ???

--
Aj.
Systems Administrator / Developer





Re: [vchkpw] Default delivery for whole domains

2003-02-18 Thread Ajai Khattri
[EMAIL PROTECTED] wrote:


If You add all these domains as aliasdomains then 
then all existing accounts in the original domain will
get their messages, not the catch-all. Maybe it's good enough
but if I understood your question You want ALL mail to these
domains redirected to a SINGLE account.

Yes, that's correct.


then do this:

# mkdir /my/dummy/dir
# echo [EMAIL PROTECTED]  /my/dummy/dir/.qmail-default


Can I make these directories under vpopmail's domains folder?
i.e. mkdir /home/vpopmail/domain/dummydomain/


## for each aliasdomain
echo aliasdomain.com  /path/rcpthosts
echo aliasdomains.com:mydummy  /path/virtualdomains


# echo +mydummy-:mydummy:89:89:/my/dummy/dir:-::  /path/assign
# /path/qmail-newu


Yes, this makes sense.


Thanx,

--
Aj.
Systems Administrator / Developer





[vchkpw] Default delivery for whole domains

2003-02-17 Thread Ajai Khattri
This is probably a qmail question ;-)

I am using the usual qmail+vpopmail on a server with two main domains.

One of the customer's has a bunch of other domains that redirect to the 
same box and same web site. He would now like all emails for all those 
other domains to be delivered to the catchall for his main domain. I 
would rather not have to add each and every domain and then set a 
catchall for each one. There must be a quick way to just say deliver 
all email for these other domains to this one domain's catch-all

Can I do this by creating a suitable .qmail file in ~qmail/alias or can 
I do some other trickery in ~qmail/users/assign ?

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] qmail vpopmail - more than one IP to listen to

2003-02-10 Thread Ajai Khattri
Oliver Etzel - GoodnGo.COM (R) wrote:


I want qmail to listen to more than one IP. Hpw can I do that?


Qmail listens on all IPs by default.

--
Aj.
Systems Administrator / Developer





Re: [vchkpw] qmail vpopmail - more than one IP to listen to

2003-02-10 Thread Ajai Khattri
Clayton Weise wrote:


Qmail doesn't listen on any ports.  tcpserver listens on whatever ip's you
tell it to.. by default, people put 0 which means all ip's bound to the
box.


I meant tcpserver of course!

Pedant! ;-)

--
Aj.
Systems Administrator / Developer





Re: [vchkpw] qmailadmin - premature end of script header

2003-02-08 Thread Ajai Khattri
GoodnGo.de (R) Zentrale wrote:


Ich get the Internal Server Error messages
 
Apache log file said: Premature end of script headers: 
/home/wsrv001/cgi-bin/qmailadmin
 
How can I get it to run orderly?

Look in your Apache error log to see what the problem is.

--
Aj.
Systems Administrator / Developer





[vchkpw] Why hide ~vpopmail/lib ?

2003-02-07 Thread Ajai Khattri

Why does the default install of vpopmail remove access to ~vpopmail/lib?

$ ls -l ~vpopmail

total 24
drwxr-xr-x3 vpopmail vchkpw   4096 Feb  3 14:38 bin
drwxr-xr-x5 vpopmail vchkpw   4096 Feb  3 14:38 doc
drwx--5 vpopmail vchkpw   4096 Feb  4 01:31 domains
drwxr-xr-x3 vpopmail vchkpw   4096 Feb  7 11:40 etc
drwxr-xr-x3 vpopmail vchkpw   4096 Feb  3 14:38 include
drwx--3 root root 4096 Feb  3 14:38 lib


Since courier-imap insists on being built as a normal user, it fails to 
link in the vpopmail library... either you force it to make as root or 
you chmod 755 ~vpopmail/lib.

--
Aj.
Systems Administrator / Developer




[vchkpw] authdaemond

2003-02-07 Thread Ajai Khattri
Its been awhile since I setup qmail+vpopmail+courier but I recently had 
to do this on a new server. IIRC, you could disable authdaemond and just 
use vchkpw with courier. How do I specify this?

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] Problems after moving domain to another machine

2003-01-21 Thread Ajai Khattri
Aitor Uskola wrote:


After that i can´t receive mail but i can log with the user and pass.

Any hint if i need to do something more?

I get allways: failure notice

Hi. This is the qmail-send program at midomain.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
Sorry, no mailbox here by that name. (#5.1.1)


Is qmail configured to deliver email to vpopmail?
Does this machine have an MX record for the domain?

--
Aj.
Systems Administrator / Developer





Re: [vchkpw] POP3 Help

2003-01-15 Thread Ajai Khattri
Shawn Salyers wrote:


I have done this before, but it has been a long time.  I ahve Qmail 
installed and functioning.  I have vpopmail installed and functioning 
with sqwebmail  qmailadmin.  I can get to my email accounts through 
sqwebmail without a problem.  When I try to use Outlook or Outlook 
Express, I get an invalid username/password error.  I am using 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] as the username and the 
proper password.  What am I missing.  Any help would be appreciated.


Have you tried troubleshooting this by telnetting directly to the POP3
server and talking POP3 to it? i.e.

telnet pop3.domain.com 110
Connected to pop3.domain.com.
+OK Hello there.
USER [EMAIL PROTECTED]
+OK Password required.
PASS password
+OK logged in.
QUIT
+OK Bye-bye.
Connection closed by foreign host.

Assuming this works, then the problem lies between your client and the
server. Either the client isn't talking POP3 or maybe port 110 is
blocked by a firewall?

--
Aj.
Systems Administrator / Developer





Re: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Ajai Khattri
Keith?

Please switch off your Return-Receipt - it is most annoying.

--
Aj.
Systems Administrator / Developer





Re: [vchkpw] how to forward mail

2002-12-23 Thread Ajai Khattri
Ruslan Spivak wrote:


Can you tell me what should I put into user's directory, so his mail 
will be forwarded to another server?

man dot-qmail

--
Aj.
Systems Administrator / Developer





Re: [vchkpw] SMTP Perms

2002-12-20 Thread Ajai Khattri
Rob G wrote:


transferring from XMail to Qmail .. but I think I have it... now on to mail
lists (which was the reason I switched to qmail)  any suggestions that work
well with vpopmail and qmail?


There's really only one choice: ezmlm with the ezmlm-idx patches.

If anyone has managed to get mailman working with qmail + vpopmail I 
would love to hear about it!

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] SMTP Perms

2002-12-20 Thread Ajai Khattri
Dave Weiner wrote:


Piece of cake.  Search the archives, I posted my solution here and to the
mailman list I believe.


I found the posting. When I asked a long time ago I was overwhelmed by 
the loud sound of absolute silence ;-)

Glad to see someone worked this one out!

If anyone else needs to see Dave's original post go to:

http://bluedot.net/mail/archive/read.php?f=2i=4835t=4833


Thanks Dave,
--
Aj.
Systems Administrator / Developer




Re: [vchkpw] POP3 Authentication problem

2002-12-06 Thread Ajai Khattri
Thomas Strike wrote:


Thanks, But that's one of the first things that I tried.
The result was, vpopmail received [EMAIL PROTECTED]@192.168.0.5
and still didn't authenticate.


192.168.0.5 looks like a non-routable internal IP...

Im assuming you're on a LAN and want to connect to the server through 
your gateway. Shouldn't you be using NAT or a proxy to do this then?

--
Aj.
Systems Administrator / Developer




[vchkpw] Postfix

2002-12-02 Thread Ajai Khattri
Has anybody used vpopmail with Postfix? (I plan to make Postfix user 
maildirs).

--
Aj.
Systems Administrator / Developer