Re: [vchkpw] Compiled FreeBSD 4.8

2003-08-28 Thread Michael Bowe



Hi Raymond

From memory you have used my webmail server guide 
to install your vpopmail system

If this is the case, and you now want to convert to 
using roaming users, then I suggest you will need to do these steps 
:

* mv /etc/tcp.smtp* /home/vpopmail/etc

* editthe file
 
/var/qmail/supervise/qmail-smtpd/run
 and change the references of :
  /etc/tcp.smtp.cdb 
 to be :
 
/home/vpopmail/etc/tcp.smtp.cdb

* edit the file 
 
/var/qmail/bin/qmailctl
 and change the references of 

 
/etc/tcp.smtp*
 to be 
 
/home/vpopmail/etc/tcp.smtp*

* qmailctl restart

* optionally download a copy of 
vpopmail-5.3.24 or later (I would recommend you do this)

* delete your previous vpopmail source 
dir

*extract your vpopmail 
source

*configure --enable-roaming-users=y 
plus any of your other config settings
 make 
 make install-strip

* In the /home/vpopmail/etc/ dir, you should 
now see the tcp.smtp.cdb file auto-updating each time someone successfully pop 
auths.

Dont forget to crontab the clearopensmtp script to 
run periodically

Dont forget that you then need to also rebuild any 
other apps that use the vpopmail libraries

eg
 qmailadmin
 * go to your qmailadmin 
source dir
 * make clean
 * ./configure (with your 
preferred options)
 * make 
install-strip
 
 courier-imap
 * go to your courier-imap 
source dir
 * make clean

 * ./configure (with your 
preferred options)
 * make 
install
Michael.


  - Original Message - 
  From: 
  Raymond 
  Luong 
  To: vpopmail list 
  Sent: Thursday, August 28, 2003 7:40 
  AM
  Subject: Re: [vchkpw] Compiled FreeBSD 
  4.8
  
  Please HelpI recompile vpopmail with --enable roaming=y-- but it 
  still does not work. I can connect to via pop3 server but can not send mail. 
  It reply with "domain isn't in my list of allow rcpthosts". I don't know 
  what's wrong or what I'd missing. I really need to get this up and running. 
  Any help will be great. I'm runningredhat 8.0, vpopmail 5.3.14, qmailadmin, 
  and courier-imap.Thank you so much for any help you can 
  provideraymond


[vchkpw] qmail + vpopmail + maildrop + sqwebmail + qmailadmin + vqadmin

2003-08-28 Thread Casey Zacek

It's been a long long time since I last looked at this stuff, but I
really want/need to implement it.

1 - qmail - is simple.
2 - vpopmail + maildrop - this is where i am now (again).

As I recall it, my problems went something like this:

A. I had to mkdir courier when building maildrop to get it to read
MAILDIRQUOTA from the environment.

B. I had to write some shell scripts to wrap maildrop for the actual
delivery, basically to take the place of vdelivermail.  Right now, I'm
not sure why, but I think it was in order to get quotas working
properly; setting the MAILDIRQUOTA, HOME, and DEFAULT environment
vars.  In the end, they call maildrop -d vpopmail .mailfilter

I had to patch vpopmail to use these scripts instead of vdelivermail.

C. I had apparently patched vdominfo to add a -A flag to display
domain aliases.

D. I had apparently patched vpopmail to not allow one to delete a
domain if there were aliases for it.


Anyway, it's been a long time since I really looked at this stuff.
The last version of vpopmail I looked at was 5.3.3, and the last
version of maildrop I looked at was 1.3.8.  I just looked at the
changelog for maildrop up to 1.6.0, and I see that there was some work
on the quota handling, so I might not need my shell scripts anymore.

Basically, I'm looking for any pointers for getting vpopmail,
maildrop, and sqwebmail working together nicely.  I'll be using MySQL
on the backend for vpopmail, and (of course?) Maildirs for storing the
email.

Thanks in advance..

-- 
Casey Zacek
Senior Engineer
NeoSpire, Inc.



[vchkpw] Re: qmail + vpopmail + maildrop + sqwebmail + qmailadmin + vqadmin

2003-08-28 Thread Paul L. Allen

Casey Zacek writes:

 Basically, I'm looking for any pointers for getting vpopmail,
 maildrop, and sqwebmail working together nicely.

Since it's been a long time since you've looked at it, you will probably
be surprised to learn that sqwebmail now supports the generation of
maildrop filter files.  When used as part of the Courier MTA I believe
that they integrate seamlessly.  When used with vpopmail they don't
integrate at all.

The vpopmail and qmailadmin teams are still deciding the best way of
handling things.  I posted one workaround here a week or two ago that
patches vdelivermail in a way that means nothing else has to change and,
more importantly for me, qmailadmin can be used as is to administer
domains.  That is especially important to me now that the newer versions
of qmailadmin allow more ways of controlling what happens to mail for
unknown users (delete, bounce, drop in nominated maildir, forward to
external mail address) - I didn't want to lose any of that functionality.

As for quotas, I don't know.  They're not something I've had to play with
because we prefer to permit clients to go over quota so our accounts
department can send them a nice mail saying their options are to delete
old mails or pay us for additional disk space.

-- 
Paul Allen
Softflare Support



[vchkpw] Entourage for Mac/Qmail Error

2003-08-28 Thread adennis
We just had e-filter installed on our Qmail server.  Upon installation, we
had a global smtp authentication problem (people couldn't authenticate) that
was solved.  When this problem was fixed, a user who has Entourage for Mac
indicated that his office still could not send mail.  Previously he got an
authentication error.  Now he gets the error: Mail error.  The server is
busy.  Suggestions?

Adam






RE: [vchkpw] Some help needed [Off-topic]

2003-08-28 Thread Shane Chrisp
You will need to supply a bit more information for anyone to be able to help
you 
out. However it could be that your server is an open relay, that one of your
users
is spamming, or that you just felt like sending out loads of email. Post
your
qmail-smtpd and pop startup files, and what options you used to compile
vpopmail with and im sure that someone will be able to shed some light on
your 
problem.

Shane
-Original Message-
From: Tanmaya Anand [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 28 August 2003 10:03 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Some help needed [Off-topic]


Hi all,

Below is out of ps command on our mail server. 
Can anyone help me figureout is this any malacious attempt.

Regards,
Tanmaya

[EMAIL PROTECTED] ~]$ ps ax | grep qmail
17923 ?S  0:07 qmail-send
17924 ?S  0:06 splogger qmail
17925 ?S  0:00 qmail-lspawn |preline procmail
17927 ?S  0:00 /usr/local/bin/tcpserver 0 pop3
/var/qmail/bin/qmail-
17928 ?S  0:08 qmail-rspawn
17929 ?S  0:00 qmail-clean
31542 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
[EMAIL PROTECTED]
31591 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
fattyj
31884 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
superstarrsw@
32293 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
[EMAIL PROTECTED]
  577 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
sun1966sh
  764 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
[EMAIL PROTECTED]
  961 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
jea
 1004 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
stevel
 1085 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
hgh
 1182 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
mslee
 1675 ?S  0:00 qmail-remote aol.com
[EMAIL PROTECTED] ba
 1717 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
an1ba
 1746 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
[EMAIL PROTECTED]
 1763 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
[EMAIL PROTECTED]
 1810 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
[EMAIL PROTECTED]
 1811 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
[EMAIL PROTECTED]
 1817 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
[EMAIL PROTECTED]
 1818 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
[EMAIL PROTECTED]
 1820 ?S  0:00 qmail-remote aol.com [EMAIL PROTECTED]
theallensplac




[vchkpw] Problem with latest release of vpopmail 5.3.26a

2003-08-28 Thread Tobias
Hi1

I´v got a problem with the latest release of vpopmail 5.3.26a.
I´m running the mysql setup and everything wen´t well during install.
But when i try to login with pop3 it rejects my password and i get a -ERR
authentication failed.
In the maillog it says like this.

Aug 28 15:18:42 apache vpopmail[5551]: vchkpw-pop3: autocreate dir errno 13
/home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253
Aug 28 15:20:13 apache vpopmail[5566]: vchkpw-pop3: autocreate dir errno 13
/home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253
Aug 28 15:20:22 apache vpopmail[5570]: vchkpw-pop3: autocreate dir errno 13
/home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253
Aug 28 15:22:39 apache vpopmail[5589]: vchkpw-pop3: autocreate dir errno 13
/home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253
Aug 28 15:23:54 apache vpopmail[5606]: vchkpw-pop3: autocreate dir errno 13
/home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253

I guess it´s a permission problem but where ? the ls -la show like this in
/home/vpopmail/domains/domain.nu/user

drwx--3 vpopmail vchkpw   4096 Aug 28 15:18 ./
drwx--4 vpopmail vchkpw   4096 Aug 28 15:18 ../
drwx--5 vpopmail vchkpw   4096 Aug 28 15:18 Maildir/

//Tobias






[vchkpw] Vpopmail problem in mysql

2003-08-28 Thread Zafar Rizvi



Hi All
 I am 
installing Qmail on redhat 8 with vpopmail.
I have two server running for qmail.I have one 
server Qmail server and on other Qmail server, database(mysql)  qmail is 
running. Now on both Qmail machine vpopmail is installed with mysql database 
support and it is configured fine till.
One standalone qmail server , if we add a domain it 
successfully created and deleted with other server database support.( means all 
data stored on other qmail server on which mysql is also running).
But on which mysql is running and also on it qmail 
is running and vpopmail in installed with mysql support with same configuration 
as on other qmail standalone server. Now Problem.
when i add any domain on this server, it give me 
error of mysql but creae also. Here is the Error i got.
**
[EMAIL PROTECTED] domains]# 
/home/vpopmail/bin/vadddomain zafar.comPlease enter password for 
postmaster:enter password again:vmysql: sql error[c]: Access denied for 
user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[2]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'Error: Unable to chdir to vpopmail/users 
directory
**
Although when i connect database with that username ,host on that sever it 
connecting but with vpopmail it generation error, Anbody has idea about that 
problem.

Waiting for a reply
Thanks
ZAfar


Re: [vchkpw] Vpopmail problem in mysql

2003-08-28 Thread Tobias



Check the file ~vpopmail/etc/vpopmail.mysql that 
the password or the other things are correct.

//Tobias

  - Original Message - 
  From: 
  Zafar Rizvi 
  
  To: [EMAIL PROTECTED] 
  Sent: Thursday, August 28, 2003 5:43 
  PM
  Subject: [vchkpw] Vpopmail problem in 
  mysql
  
  Hi All
   I am 
  installing Qmail on redhat 8 with vpopmail.
  I have two server running for qmail.I have one 
  server Qmail server and on other Qmail server, database(mysql)  qmail is 
  running. Now on both Qmail machine vpopmail is installed with mysql database 
  support and it is configured fine till.
  One standalone qmail server , if we add a domain 
  it successfully created and deleted with other server database support.( means 
  all data stored on other qmail server on which mysql is also 
  running).
  But on which mysql is running and also on it 
  qmail is running and vpopmail in installed with mysql support with same 
  configuration as on other qmail standalone server. Now Problem.
  when i add any domain on this server, it give me 
  error of mysql but creae also. Here is the Error i got.
  **
  [EMAIL PROTECTED] domains]# 
  /home/vpopmail/bin/vadddomain zafar.comPlease enter password for 
  postmaster:enter password again:vmysql: sql error[c]: Access denied 
  for user: '[EMAIL PROTECTED]' to 
  database 'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
  'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 
  'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 
  'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
  'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
  'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 
  'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 
  'vpopmail1'vmysql: sql error[2]: Access denied for user: '[EMAIL PROTECTED]' to database 
  'vpopmail1'Error: Unable to chdir to vpopmail/users 
  directory
  **
  Although when i connect database with that username ,host on that sever 
  it connecting but with vpopmail it generation error, Anbody has idea about 
  that problem.
  
  Waiting for a reply
  Thanks
  ZAfar__ NOD32 1.495 
  (20030827) Information __This message was checked by NOD32 
  Antivirus System.http://www.nod32.com


RE: [vchkpw] qmail + vpopmail + maildrop + sqwebmail + qmailadmin + vqadmin

2003-08-28 Thread Clayton Weise
Not quite sure how your setup is.. but I finally got maildrop/vpopmail
working for me by using a version of vpopmail that has the seekable patch
and putting a .qmail file inside each user's directory who wants a spam
filter.

It has worked out beneficially for me because the spam filter can now be set
on a per-user basis instead of a per-domain basis when I was doing it
through .qmail-default.  Quotas seem to work just fine with both maildrop
1.3.8 and 1.6.0, I haven't really noticed a difference.  It supposedly
ignores the MAILDIRQUOTA variable now and just reads the maildirquota file,
but I haven't removed the MAILDIRQUOTA variable from my maildrop script
either.  Haven't seen a need for it, system is performing just fine and I
doubt removing that line would make a very notiacable different.  A thing to
note about the .qmail method inside each user's directory is that vpopmail
hands the message off to maildrop and maildrop then acts as the delivery
agent in place of vpopmail.

The other cool thing about having it on a per-user basis is that I don't
need to worry about people clobbering their .qmail-default file with
qmailadmin.  Hope that helps some..

-Clayton

-Original Message-
From: Casey Zacek [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 27, 2003 8:19 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] qmail + vpopmail + maildrop + sqwebmail + qmailadmin +
vqadmin



It's been a long long time since I last looked at this stuff, but I
really want/need to implement it.

1 - qmail - is simple.
2 - vpopmail + maildrop - this is where i am now (again).

As I recall it, my problems went something like this:

A. I had to mkdir courier when building maildrop to get it to read
MAILDIRQUOTA from the environment.

B. I had to write some shell scripts to wrap maildrop for the actual
delivery, basically to take the place of vdelivermail.  Right now, I'm
not sure why, but I think it was in order to get quotas working
properly; setting the MAILDIRQUOTA, HOME, and DEFAULT environment
vars.  In the end, they call maildrop -d vpopmail .mailfilter

I had to patch vpopmail to use these scripts instead of vdelivermail.

C. I had apparently patched vdominfo to add a -A flag to display
domain aliases.

D. I had apparently patched vpopmail to not allow one to delete a
domain if there were aliases for it.


Anyway, it's been a long time since I really looked at this stuff.
The last version of vpopmail I looked at was 5.3.3, and the last
version of maildrop I looked at was 1.3.8.  I just looked at the
changelog for maildrop up to 1.6.0, and I see that there was some work
on the quota handling, so I might not need my shell scripts anymore.

Basically, I'm looking for any pointers for getting vpopmail,
maildrop, and sqwebmail working together nicely.  I'll be using MySQL
on the backend for vpopmail, and (of course?) Maildirs for storing the
email.

Thanks in advance..

-- 
Casey Zacek
Senior Engineer
NeoSpire, Inc.





RE: [vchkpw] Vpopmail problem in mysql

2003-08-28 Thread Shane Chrisp
Title: Message



Also 
check that the user you are connectingto mysql with, that access's the 
vpopmail database has access from 192.168.0.3. You may have only configured the 
user to have access from localhost on the qmail/mysql server

Shane

  
  -Original Message-From: Tobias 
  [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August 2003 
  11:39 PMTo: Zafar Rizvi; [EMAIL PROTECTED]Subject: Re: 
  [vchkpw] Vpopmail problem in mysql
  Check the file ~vpopmail/etc/vpopmail.mysql that 
  the password or the other things are correct.
  
  //Tobias
  
- Original Message - 
From: 
Zafar Rizvi 

To: [EMAIL PROTECTED] 
Sent: Thursday, August 28, 2003 5:43 
PM
Subject: [vchkpw] Vpopmail problem in 
mysql

Hi All
 I am 
installing Qmail on redhat 8 with vpopmail.
I have two server running for qmail.I have one 
server Qmail server and on other Qmail server, database(mysql)  qmail 
is running. Now on both Qmail machine vpopmail is installed with mysql 
database support and it is configured fine till.
One standalone qmail server , if we add a 
domain it successfully created and deleted with other server database 
support.( means all data stored on other qmail server on which mysql is also 
running).
But on which mysql is running and also on it 
qmail is running and vpopmail in installed with mysql support with same 
configuration as on other qmail standalone server. Now Problem.
when i add any domain on this server, it give 
me error of mysql but creae also. Here is the Error i got.
**
[EMAIL PROTECTED] domains]# 
/home/vpopmail/bin/vadddomain zafar.comPlease enter password for 
postmaster:enter password again:vmysql: sql error[c]: Access denied 
for user: '[EMAIL PROTECTED]' to 
database 'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[2]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'Error: Unable to chdir to vpopmail/users 
directory
**
Although when i connect database with that username ,host on that sever 
it connecting but with vpopmail it generation error, Anbody has idea about 
that problem.

Waiting for a reply
Thanks
ZAfar__ NOD32 
1.495 (20030827) Information __This message was checked by 
NOD32 Antivirus System.http://www.nod32.com


RE: [vchkpw] Re /var/mail/vpopmail

2003-08-28 Thread Clayton Weise
What does your /var/qmail/rc file look like?

-Original Message-
From: Jasper Metselaar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 28, 2003 7:38 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Re /var/mail/vpopmail


Doublebounce settings and .qmail files are ok.

Below is a header of a message dumped to /var/mail/vpopmail. As you can
see, this is not a bounce message... it's the original. When I sent this
message to a non existing address the message was dumped to
/var/mail/vpopmail and a non-delivery report was sent to the originator
(me).
START
From vpopmail Thu Aug 28 16:31:45 2003
Received: (qmail 4184 invoked from network); 28 Aug 2003 14:31:45 -
Received: from xxx.xxx.xxx (xxx.xxx.xxx.xx)
  by 0 with SMTP; 28 Aug 2003 14:31:45 -
Received: from [xxx.xxx.xx.xxx] (helo=..xxx)
by xx.x.xxx with esmtp (Exim 3.36 #1)
id 19sNoN-0001mk-00
for [EMAIL PROTECTED]; Thu, 28 Aug 2003 16:31:43 +0200
Received: by wfwin3 with Internet Mail Service (5.5.2653.19)
id RYZB9G85; Thu, 28 Aug 2003 16:31:39 +0200
Message-ID: [EMAIL PROTECTED]
From: Metselaar, J.M. [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: This is a test
Date: Thu, 28 Aug 2003 16:30:29 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
END

For some reason I think the problem is in my maildrop script, but I can't
figure out where. The script is below:

START
import EXT
import HOST
VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]

 if ( $SIZE  262144 )
 {
 exception {
 xfilter /usr/bin/spamc -f -u [EMAIL PROTECTED]
   }
 }
 if (/^X-Spam-Flag: *YES/)
   {
   # try filtering it using user-defined rules
  exception {
  include $VHOME/Maildir/.mailfilter
}
   # then try delivering it to a Spam folder
  exception {
   # to $VPOP
 to $VHOME/Maildir/
}

# ah well, I guess they'll just have to live with disappointment

  exception {
  to $VPOP
}
  }
 
else   {
exception {
include $VHOME/Maildir/.mailfilter
  }
exception {
to $VPOP
  }
}
END
Any ideas?

Thanks in advance!

- Jasper


 I don't think it's vpopmail that's dropping it into that file.  It sounds
 more like mail is being delivered to the vpopmail user on your local
 system. What does qmail have for it's double bounce account (run
 /var/qmail/bin/qmail-showctl to see) and also what does your
 /var/qmail/alias directory look like.. more specifically the .qmail files
 inside it.

 -Original Message-
 From: Jasper Metselaar [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 27, 2003 3:04 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] /var/mail/vpopmail


 Hi,

 Vpopmail is running fine on my server, but there is on thing that's
 strange (in my opinion, anyway ;-)):There is a very fast growing file:
 /var/mail/vpopmail

 It looks like vpopmail is dumping undeliverable mail into this file. Is
 this normal or is there a misconfiguration somewhere?
 Thanks!

 - Jasper









[vchkpw] qmail+vpopmail problem forking vchkpw?

2003-08-28 Thread Clinton James
I'm working in gentoo with qmail 1.03 and vpopmail 5.2.1.
POP works just fine but authenticated STMP is a bust.  Using some of the
information I have found here and other places I used strace to try and find
out what the problem is.  As best as I can tell I am getting a bad file
descripter when qmail is forking vchkpw.

For the gory details see http://forums.gentoo.org/viewtopic.php?p=490320

Can anyone point me in the right direction?




Re: [vchkpw] qmail+vpopmail problem forking vchkpw?

2003-08-28 Thread Rick Macdougall
Hi,

Clinton James wrote:

I'm working in gentoo with qmail 1.03 and vpopmail 5.2.1.
POP works just fine but authenticated STMP is a bust.  Using some of the
information I have found here and other places I used strace to try and find
out what the problem is.  As best as I can tell I am getting a bad file
descripter when qmail is forking vchkpw.
For the gory details see http://forums.gentoo.org/viewtopic.php?p=490320

Can anyone point me in the right direction?
What options and patches does a Gentoo emerge add to vpopmail and/or qmail ?

How many rcpthosts do you have and are you using morercpthosts as well?

Regards,

Rick





[vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Raymond Luong
Please HelpI recompile vpopmail with --enable roaming=y--
butit still does not work. I can connect to via pop3 server but can
not send mail. It reply with "domain isn't in my list of allow rcpthosts".
I don't know what's wrong or what I'd missing. I really need to get this
up and running. Any help will be great. I'm running redhat 8.0, vpopmail
5.3.14, qmailadmin, and courier-imap.I read around the internet and
discover under vpopmail folder, there should be 2 files: etc/tcp.smtp and
etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such
files. So I link my qmail tcp.smtp and tcp.smtp.cdb with the following
command "ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to the ~vpopmail/etc/ and I
gave both files 777 permission. That didn't make any difference, I still
can't send via pop3 connection. What am I missing.Thank you so
much for any help you can provideraymond



[vchkpw] vpopmail and qmailadmin

2003-08-28 Thread Steven Job

Hello,

Does vpopmail analyze the qmaillimits all of the time or do you have to do 
something to enable it?  Because as I disable permissions (disable_pop for 
example) they are often ignored.

I am able to set the qmailadmin limits (using the mysql version and the 
flat file verion) but it doesn't seem to work the way I thought.

I have set the disable_pop to 1 and the disable_webmail to 1 and the
disable_relay to 1 and I don't see any difference in how it acts.
The users in that domain can still receive pop mail, use webmail, and
relay.

Am I missing something here?

Thanks for any help in understanding this.
-Steve




RE: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Raymond Luong
This is my qmail-smtp/run file:#!/bin/sh

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL"
]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
21
This is my qmail-smtp/run/log file :#!/bin/shexec
/usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/smtpdThanks for the helpRaymond
Show us your qmail-smtpd startup scripts.  Shane
 -Original Message- From: Raymond Luong
[mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 12:37
AM To: vpopmail list Subject: [vchkpw] Can not get
vpopmail to enable roaming support   
 Please Help I recompile vpopmail with --enable
roaming=y-- but it still does not work. I can connect to via pop3
server but can not send mail. It reply with "domain isn't in my
list of allow rcpthosts". I don't know what's wrong or what I'd
missing. I really need to get this up and running. Any help will
be great. I'm running redhat 8.0, vpopmail 5.3.14, qmailadmin, and
courier-imap. I read around the internet and discover under
vpopmail folder, there should be 2 files: etc/tcp.smtp and
etc/tcp.smpt.cdb. I check my vpopmail directory and there
is no such files. So I link my qmail tcp.smtp and tcp.smtp.cdb
with the following command "ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to
the ~vpopmail/etc/ and I gave both files 777 permission. That
didn't make any difference, I still can't send via pop3
connection. What am I missing.  Thank you so much for any
help you can provide raymond  



Re: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Steven Job


I'm having just the oposite problem, I can't turn it off when I want to. 
:-)

Not quite sure if this helps but here is configuration information I used.
./configure \
--enable-roaming-users=y \
--enable-tcprules-prog=/usr/local/bin/tcprules \
--enable-tcpserver-file=/etc/tcp.smtp \
--enable-relay-clear-minutes=70 \
--enable-learn-passwords=y \
--enable-auth-logging=y \
--enable-mysql-logging=y \
--enable-clear-passwd=y \
--enable-mysql=y \
--enable-mysql-replication=n \
--enable-many-domains=y \
--enable-qmail-ext=y \
--enable-passwd=n \
--enable-logging=p \
--enable-domainquotas=y \
--enable-defaultquota=100

All of my relay information is of course in the database, but it works 
perfect.  But like I said I can't turn it off with the qmailadmin_limits.

-Steve


On Thu, 28 Aug 2003, Raymond Luong wrote:

 
 
 Please Help
 I recompile vpopmail with --enable roaming=y-- but
 it still does not work. I can connect to via pop3 server but can not send mail. It 
 reply with domain
 isn't in my list of allow rcpthosts. I don't know what's wrong or what I'd missing. 
 I really need to
 get this up and running. Any help will be great. I'm running redhat 8.0, vpopmail 
 5.3.14, qmailadmin,
 and courier-imap.
 I read around the internet and discover under vpopmail folder, there should be 2 
 files: etc/tcp.smtp
 and etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such files. So I 
 link my qmail
 tcp.smtp and tcp.smtp.cdb with the following command ln -s /etc/tcp.smtp 
 /etc/tcp.smtp.cdb to the
 ~vpopmail/etc/ and I gave both files 777 permission. That didn't make any 
 difference, I still can't
 send via pop3 connection. What am I missing.
 
 Thank you so much for any help you can provide
 raymond
 
 
 




RE: [vchkpw] vpopmail and qmailadmin

2003-08-28 Thread Clayton Weise
Not sure if things have changed in recent versions, but after changing the
setting on the domain I had to change it for each user as well.

-Clayton

-Original Message-
From: Steven Job [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 28, 2003 9:59 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] vpopmail and qmailadmin



Hello,

Does vpopmail analyze the qmaillimits all of the time or do you have to do 
something to enable it?  Because as I disable permissions (disable_pop for 
example) they are often ignored.

I am able to set the qmailadmin limits (using the mysql version and the 
flat file verion) but it doesn't seem to work the way I thought.

I have set the disable_pop to 1 and the disable_webmail to 1 and the
disable_relay to 1 and I don't see any difference in how it acts.
The users in that domain can still receive pop mail, use webmail, and
relay.

Am I missing something here?

Thanks for any help in understanding this.
-Steve






RE: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Shane Chrisp
You have put tcp.smtp as you cdb file? Its normally tcp.smtp.cdb. May be
that your
file is empty and being ignored?

Shane

-Original Message-
From: Steven Job [mailto:[EMAIL PROTECTED] 
Sent: Friday, 29 August 2003 1:12 AM
To: Raymond Luong
Cc: vpopmail list
Subject: Re: [vchkpw] Can not get vpopmail to enable roaming support




I'm having just the oposite problem, I can't turn it off when I 
want to. 
:-)

Not quite sure if this helps but here is configuration 
information I used.
./configure \
--enable-roaming-users=y \
--enable-tcprules-prog=/usr/local/bin/tcprules \
--enable-tcpserver-file=/etc/tcp.smtp \
--enable-relay-clear-minutes=70 \
--enable-learn-passwords=y \
--enable-auth-logging=y \
--enable-mysql-logging=y \
--enable-clear-passwd=y \
--enable-mysql=y \
--enable-mysql-replication=n \
--enable-many-domains=y \
--enable-qmail-ext=y \
--enable-passwd=n \
--enable-logging=p \
--enable-domainquotas=y \
--enable-defaultquota=100

All of my relay information is of course in the database, but it works 
perfect.  But like I said I can't turn it off with the 
qmailadmin_limits.

-Steve


On Thu, 28 Aug 2003, Raymond Luong wrote:

 
 
 Please Help
 I recompile vpopmail with --enable roaming=y-- but
 it still does not work. I can connect to via pop3 server but 
can not send mail. It reply with domain
 isn't in my list of allow rcpthosts. I don't know what's 
wrong or what I'd missing. I really need to
 get this up and running. Any help will be great. I'm running 
redhat 8.0, vpopmail 5.3.14, qmailadmin,
 and courier-imap.
 I read around the internet and discover under vpopmail 
folder, there should be 2 files: etc/tcp.smtp
 and etc/tcp.smpt.cdb. I check my vpopmail directory and there 
is no such files. So I link my qmail
 tcp.smtp and tcp.smtp.cdb with the following command ln -s 
/etc/tcp.smtp /etc/tcp.smtp.cdb to the
 ~vpopmail/etc/ and I gave both files 777 permission. That 
didn't make any difference, I still can't
 send via pop3 connection. What am I missing.
 
 Thank you so much for any help you can provide
 raymond
 
 
 







Re: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Steven Job


Raymond,

Are you using: --enable-learn-passwords=y \
I just tried it without it and it didn't work.

Try adding that and see if it works.
-Steve

On Thu, 28 Aug 2003, Raymond Luong wrote:

 
 
 Please Help
 I recompile vpopmail with --enable roaming=y-- but
 it still does not work. I can connect to via pop3 server but can not send mail. It 
 reply with domain
 isn't in my list of allow rcpthosts. I don't know what's wrong or what I'd missing. 
 I really need to
 get this up and running. Any help will be great. I'm running redhat 8.0, vpopmail 
 5.3.14, qmailadmin,
 and courier-imap.
 I read around the internet and discover under vpopmail folder, there should be 2 
 files: etc/tcp.smtp
 and etc/tcp.smpt.cdb. I check my vpopmail directory and there is no such files. So I 
 link my qmail
 tcp.smtp and tcp.smtp.cdb with the following command ln -s /etc/tcp.smtp 
 /etc/tcp.smtp.cdb to the
 ~vpopmail/etc/ and I gave both files 777 permission. That didn't make any 
 difference, I still can't
 send via pop3 connection. What am I missing.
 
 Thank you so much for any help you can provide
 raymond
 
 
 




RE: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Steven Job

I just switched it from /etc/tcp.smtp to /etc/tcp.smtp.cdb and now I can 
not relay at all.
Very strange.

-Steve


On Fri, 29 Aug 2003, Shane Chrisp wrote:

 You have put tcp.smtp as you cdb file? Its normally tcp.smtp.cdb. May be
 that your
 file is empty and being ignored?
 
 Shane
 
 -Original Message-
 From: Steven Job [mailto:[EMAIL PROTECTED] 
 Sent: Friday, 29 August 2003 1:12 AM
 To: Raymond Luong
 Cc: vpopmail list
 Subject: Re: [vchkpw] Can not get vpopmail to enable roaming support
 
 
 
 
 I'm having just the oposite problem, I can't turn it off when I 
 want to. 
 :-)
 
 Not quite sure if this helps but here is configuration 
 information I used.
 ./configure \
 --enable-roaming-users=y \
 --enable-tcprules-prog=/usr/local/bin/tcprules \
 --enable-tcpserver-file=/etc/tcp.smtp \
 --enable-relay-clear-minutes=70 \
 --enable-learn-passwords=y \
 --enable-auth-logging=y \
 --enable-mysql-logging=y \
 --enable-clear-passwd=y \
 --enable-mysql=y \
 --enable-mysql-replication=n \
 --enable-many-domains=y \
 --enable-qmail-ext=y \
 --enable-passwd=n \
 --enable-logging=p \
 --enable-domainquotas=y \
 --enable-defaultquota=100
 
 All of my relay information is of course in the database, but it works 
 perfect.  But like I said I can't turn it off with the 
 qmailadmin_limits.
 
 -Steve
 
 
 On Thu, 28 Aug 2003, Raymond Luong wrote:
 
  
  
  Please Help
  I recompile vpopmail with --enable roaming=y-- but
  it still does not work. I can connect to via pop3 server but 
 can not send mail. It reply with domain
  isn't in my list of allow rcpthosts. I don't know what's 
 wrong or what I'd missing. I really need to
  get this up and running. Any help will be great. I'm running 
 redhat 8.0, vpopmail 5.3.14, qmailadmin,
  and courier-imap.
  I read around the internet and discover under vpopmail 
 folder, there should be 2 files: etc/tcp.smtp
  and etc/tcp.smpt.cdb. I check my vpopmail directory and there 
 is no such files. So I link my qmail
  tcp.smtp and tcp.smtp.cdb with the following command ln -s 
 /etc/tcp.smtp /etc/tcp.smtp.cdb to the
  ~vpopmail/etc/ and I gave both files 777 permission. That 
 didn't make any difference, I still can't
  send via pop3 connection. What am I missing.
  
  Thank you so much for any help you can provide
  raymond
  
  
  
 
 
 
 
 




RE: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Raymond Luong
SteveI didn't change the tcp.cmtp to tcp.smtp.cdb. I simple link
my /etc/tcp.smtp to ~vpopmail/etc/tcp.smtp and made the file 777 so any
program can write to it. Now vpopmail and qmail is sharing the same
tcp.smtp file. I believe I might had left out a few important setting
while compiling vpopmail. I will recompile vpopmail with your setting
steve. I will let you know how it turns out.Raymond
 I just switched it from /etc/tcp.smtp to /etc/tcp.smtp.cdb and
now I can not relay at all. Very strange.
 -Steve   On Fri, 29 Aug 2003, Shane
Chrisp wrote:  You have put tcp.smtp as you cdb file?
Its normally tcp.smtp.cdb. May be that your file
is empty and being ignored?
Shane -Original Message- From:
Steven Job [mailto:[EMAIL PROTECTED] Sent: Friday, 29
August 2003 1:12 AM To: Raymond Luong Cc: vpopmail
list Subject: Re: [vchkpw] Can not get vpopmail to enable
roaming
support I'm
having just the oposite problem, I can't turn it off when I
want to. :-) Not quite sure if this
helps but here is configuration information I
used. ./configure \ --enable-roaming-users=y
\ --enable-tcprules-prog=/usr/local/bin/tcprules \
--enable-tcpserver-file=/etc/tcp.smtp \
--enable-relay-clear-minutes=70 \ --enable-learn-passwords=y
\ --enable-auth-logging=y \
--enable-mysql-logging=y \ --enable-clear-passwd=y
\ --enable-mysql=y \ --enable-mysql-replication=n
\ --enable-many-domains=y \ --enable-qmail-ext=y
\ --enable-passwd=n \ --enable-logging=p
\ --enable-domainquotas=y \
--enable-defaultquota=100 All of my relay
information is of course in the database, but it works
perfect. But like I said I can't turn it off with the
qmailadmin_limits.
-Steve On Thu, 28 Aug 2003, Raymond
Luong wrote:  
 Please Help  I recompile vpopmail with --enable
roaming=y-- but  it still does not work. I can connect to
via pop3 server but can not send mail. It reply with
"domain  isn't in my list of allow rcpthosts". I don't
know what's wrong or what I'd missing. I really need
to  get this up and running. Any help will be great. I'm
running redhat 8.0, vpopmail 5.3.14, qmailadmin,
 and courier-imap.  I read around the internet and
discover under vpopmail folder, there should be 2 files:
etc/tcp.smtp  and etc/tcp.smpt.cdb. I check my vpopmail
directory and there is no such files. So I link my
qmail  tcp.smtp and tcp.smtp.cdb with the following
command "ln -s /etc/tcp.smtp /etc/tcp.smtp.cdb to
the  ~vpopmail/etc/ and I gave both files 777 permission.
That didn't make any difference, I still can't
 send via pop3 connection. What am I missing.
  Thank you so much for any help you can
provide  raymond 


  



Re: [vchkpw] Some help needed [Off-topic]

2003-08-28 Thread Darcy Dueck


I know AOL has implemented some blacklists of mail servers originating
from Dynamic IP address blocks, so that could be a problem if it thinks
you or your ISP are on a Dynamic IP range and your users are trying to
send emails to users @aol.com
http://postmaster.info.aol.com/
Darcy

Hi
all,

Below is out of ps command on our mail server.

Can anyone help me figureout is this any
malacious attempt.

Regards,
Tanmaya

[EMAIL PROTECTED] ~]$ ps ax | grep qmail
17923 ?
S 0:07 qmail-send
17924 ?
S 0:06 splogger qmail
17925 ?
S 0:00 qmail-lspawn |preline procmail
17927 ?
S 0:00 /usr/local/bin/tcpserver 0 pop3
/var/qmail/bin/qmail-
17928 ?
S 0:08 qmail-rspawn
17929 ?
S 0:00 qmail-clean
31542 ?
S 0:00 qmail-remote aol.com
[EMAIL PROTECTED]
[EMAIL PROTECTED]
31591 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] fattyj
31884 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] superstarrsw@
32293 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] [EMAIL PROTECTED]
 577 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] sun1966sh
 764 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] [EMAIL PROTECTED]
 961 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] jea
1004 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] stevel
1085 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] hgh
1182 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] mslee
1675 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] ba
1717 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] an1ba
1746 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] [EMAIL PROTECTED]
1763 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] [EMAIL PROTECTED]
1810 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] [EMAIL PROTECTED]
1811 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] [EMAIL PROTECTED]
1817 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] [EMAIL PROTECTED].
1818 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] [EMAIL PROTECTED]
1820 ? S 0:00 qmail-remote aol.com [EMAIL PROTECTED] theallensplac



Re: [vchkpw] vpopmail 5.3.25 and 5.3.26 released

2003-08-28 Thread Darcy Dueck


I'm not sure if this is a biggy, but after I installed the latest
vpopmail, after trying to install vqadmin, it complained about some files
missing:
configure: error: No vpopmail etc/lib_deps file. Upgrade to
vpopmail-4.9.8 or above
Going into my old vpopmail etc dir from 5.2.1, i have these files: 
inc_deps 
-I/data/vpopmail/include
and lib_deps
-L/data/vpopmail/lib -lvpopmail
-L/usr/local/mysql/lib -lmysqlclient -lz
Did my configure miss something out, or should I just simply
recreate these files as shown above and this gets fixed up in the next
releases?
Darcy

On Tuesday, August 26, 2003, at
07:24 PM, Michael Bowe wrote:
Sorry, they are typo's introduced
in the mods I made for 5.3.26
I have attached a patch
I've replaced the archive on SourceForge with a
vpopmail-5.3.26a.tar.gz. Hopefully the original wasn't downloaded
by too many people...
--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/
- info on the Sniffter hand-held Network Tester





Re: [vchkpw] Some help needed [Off-topic]

2003-08-28 Thread John Simpson
On Thursday, Aug 28, 2003, at 13:46 US/Eastern, Darcy Dueck wrote:
I know AOL has implemented some blacklists of mail servers originating 
from Dynamic IP address blocks, so that could be a problem if it 
thinks you or your ISP are on a Dynamic IP range and your users are 
trying to send emails to users @aol.com
http://postmaster.info.aol.com/
if this is the case then you will see aol's rejection messages in your 
qmail log.

another possibility is that if this is a dynamic ip, the isp providing 
the connectivity to the internet may be blocking outbound port 25. if 
this is the case you will have to use the isp's smtp server for all 
outgoing mail (using /var/qmail/control/smtproutes). i have done this 
type of filtering at the isp's where i worked- when the local spammers 
figured out that they couldn't get around the block, they went 
elsewhere.

it may also be that you're on one of the global blacklists. there's a 
tool at http://www.dnsstuff.com/ which can look up your ip in about a 
hundred different lists, within about fifteen seconds. just ignore 
things like blars and especially selwerd.cx (since they specifically 
tell you not to use their lists for blocking mail).

peace.

---
| John Simpson - KG4ZOW - Programmer at Large |
| [EMAIL PROTECTED]http://www.jms1.net/ |
---


PGP.sig
Description: PGP signature


Re: [vchkpw] Some help needed [Off-topic]

2003-08-28 Thread Darcy Dueck
Right, when I had this problem before, all I did was add the following line 
to my /var/qmail/control/smtproutes file:
:ip.address.of.my.isp's.smtp.server

qmailctl restart

and then you should be good

Darcy

On Thursday, Aug 28, 2003, at 13:46 US/Eastern, Darcy Dueck wrote:
I know AOL has implemented some blacklists of mail servers originating 
from Dynamic IP address blocks, so that could be a problem if it thinks 
you or your ISP are on a Dynamic IP range and your users are trying to 
send emails to users @aol.com
http://postmaster.info.aol.com/
if this is the case then you will see aol's rejection messages in your 
qmail log.

another possibility is that if this is a dynamic ip, the isp providing the 
connectivity to the internet may be blocking outbound port 25. if this is 
the case you will have to use the isp's smtp server for all outgoing mail 
(using /var/qmail/control/smtproutes). i have done this type of filtering 
at the isp's where i worked- when the local spammers figured out that they 
couldn't get around the block, they went elsewhere.

it may also be that you're on one of the global blacklists. there's a tool 
at http://www.dnsstuff.com/ which can look up your ip in about a hundred 
different lists, within about fifteen seconds. just ignore things like 
blars and especially selwerd.cx (since they specifically tell you not to 
use their lists for blocking mail).

peace.

---
| John Simpson - KG4ZOW - Programmer at Large |
| [EMAIL PROTECTED]http://www.jms1.net/ |
---






[vchkpw] Not_allowed_to_perform_deliveries_as_root./

2003-08-28 Thread Tobias
Hi!

I´ve got this error now in my qmail/send/current so mail gets stuck in queue

@40003f4e5086262abaa4 delivery 1: deferral:
Not_allowed_to_perform_deliveries_as_root./

So i wonder where could it possible be wrong ?
I have checked the permissions but i found nothing strange.

The qmail-send is running perfectly

root   154  0.0  0.0  1336  288 ?S09:38   0:00  |   \_
supervise qmail-send
qmails8124  0.0  0.0  1388  364 ?S20:52   0:00  |   |   \_
qmail-send
root  8125  0.0  0.0  1352  316 ?S20:52   0:00  |   |
\_ qmail-lspawn ./Maildir/
qmailr8126  0.0  0.0  1348  292 ?S20:52   0:00  |   |
\_ qmail-rspawn
qmailq8127  0.0  0.0  1344  316 ?S20:52   0:00  |   |
\_ qmail-clean

So could it be vpopmail that makes this error ?

//Tobias




[vchkpw] Re: [qmailadmin] Problems Compiling Qmailadmin

2003-08-28 Thread Tom Collins
On Thursday, August 28, 2003, at 04:58  AM, [EMAIL PROTECTED] 
wrote:
I then tried to specify the location of vpopmail (which is in the 
default
/home/vpopmail) and got the folowing errors with configure:

cat: /home/vpopmail/etc/inc_deps: No such file or directory
cat: /home/vpopmail/etc/lib_deps: No such file or directory
I Am running as root and the vpopmail include files are there. On the
assumption that I was using incompatible versions, I have attempted to 
set
this up with the following combinations: vpopmail 5.3.26 + qmailadmin
1.0.6, vpopmail 5.3.26 + qmailadmin 1.0.25, vpopmail 5.2.1 + qmailadmin
1.0.6, vpopmail 5.2.1 + qmailadmin 1.0.25.
This is an odd problem.  It looks like the configure script creates 
those two files, when it should probably be the Makefile.  I'm moving 
the code that creates those two files into the Makefile for 5.3.27 now.

What are the permissions on /home/vpopmail/etc?  Perhaps the new 
Makefile isn't creating it properly.  I had removed the permissions 
setting code so that it wouldn't screw with /usr/local/etc if you chose 
to install to /usr/local instead of /home/vpopmail.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



RE: [vchkpw] Not_allowed_to_perform_deliveries_as_root./

2003-08-28 Thread Shane Chrisp
Its trying to run qmail-send as root. Check your permissions in your
startup scripts.

qmail-send should be running as qmails I believe and owned root.qmail.

You could just run qmail setup check again to make sure the binaries
are installed with the right permissions.

Shane

-Original Message-
From: Tobias [mailto:[EMAIL PROTECTED] 
Sent: Friday, 29 August 2003 3:11 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Not_allowed_to_perform_deliveries_as_root./


Hi!

I´ve got this error now in my qmail/send/current so mail gets 
stuck in queue

@40003f4e5086262abaa4 delivery 1: deferral:
Not_allowed_to_perform_deliveries_as_root./

So i wonder where could it possible be wrong ?
I have checked the permissions but i found nothing strange.

The qmail-send is running perfectly

root   154  0.0  0.0  1336  288 ?S09:38   0:00  |   \_
supervise qmail-send
qmails8124  0.0  0.0  1388  364 ?S20:52   0:00  
|   |   \_
qmail-send
root  8125  0.0  0.0  1352  316 ?S20:52   0:00  |   |
\_ qmail-lspawn ./Maildir/
qmailr8126  0.0  0.0  1348  292 ?S20:52   0:00  |   |
\_ qmail-rspawn
qmailq8127  0.0  0.0  1344  316 ?S20:52   0:00  |   |
\_ qmail-clean

So could it be vpopmail that makes this error ?

//Tobias







[vchkpw] warning: trouble injecting bounce message, will try later

2003-08-28 Thread Jesus Ruiz
i'm using qmail with vpopmail 5.2.1, and in my qmail log files this message 
continues to appear

warning: trouble injecting bounce message, will try later

I have plenty of disk space, and i don't know where to look for the problem.

Thanks in advance,
Jesus 




Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a

2003-08-28 Thread Tom Collins
On Thursday, August 28, 2003, at 08:27  AM, Tobias wrote:
I´v got a problem with the latest release of vpopmail 5.3.26a.
I´m running the mysql setup and everything wen´t well during install.
But when i try to login with pop3 it rejects my password and i get a 
-ERR
authentication failed.
In the maillog it says like this.
What happens when you try 5.3.25?  As mentioned in the docs, 5.3.26 is 
mostly a cleanup of 5.3.25.  Knowing whether this problem was already 
present in 5.3.25 will help us isolate it.  Either it's been there for 
awhile, or it's something we just introduced.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



Re: [vchkpw] Not_allowed_to_perform_deliveries_as_root./

2003-08-28 Thread Tobias
I have checked the permissions and qmails-send runs as qmails

//Tobias

- Original Message - 
From: Shane Chrisp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 9:16 PM
Subject: RE: [vchkpw] Not_allowed_to_perform_deliveries_as_root./


Its trying to run qmail-send as root. Check your permissions in your
startup scripts.

qmail-send should be running as qmails I believe and owned root.qmail.

You could just run qmail setup check again to make sure the binaries
are installed with the right permissions.

Shane

-Original Message-
From: Tobias [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 3:11 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Not_allowed_to_perform_deliveries_as_root./


Hi!

I´ve got this error now in my qmail/send/current so mail gets
stuck in queue

@40003f4e5086262abaa4 delivery 1: deferral:
Not_allowed_to_perform_deliveries_as_root./

So i wonder where could it possible be wrong ?
I have checked the permissions but i found nothing strange.

The qmail-send is running perfectly

root   154  0.0  0.0  1336  288 ?S09:38   0:00  |   \_
supervise qmail-send
qmails8124  0.0  0.0  1388  364 ?S20:52   0:00
|   |   \_
qmail-send
root  8125  0.0  0.0  1352  316 ?S20:52   0:00  |   |
\_ qmail-lspawn ./Maildir/
qmailr8126  0.0  0.0  1348  292 ?S20:52   0:00  |   |
\_ qmail-rspawn
qmailq8127  0.0  0.0  1344  316 ?S20:52   0:00  |   |
\_ qmail-clean

So could it be vpopmail that makes this error ?

//Tobias







__ NOD32 1.496 (20030828) Information __

This message was checked by NOD32 Antivirus System.
http://www.nod32.com





Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a

2003-08-28 Thread Tom Collins
On Thursday, August 28, 2003, at 08:27  AM, Tobias wrote:
I´v got a problem with the latest release of vpopmail 5.3.26a.
I´m running the mysql setup and everything wen´t well during install.
But when i try to login with pop3 it rejects my password and i get a 
-ERR
authentication failed.
What are you using for your POP3 server?  Courier?  Qmail?  What user 
is the POP3 server running as?

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a

2003-08-28 Thread Tobias
I solved it with setting the permissions for the domains in the assign file
to vpopmail:vchkpw and not 89:89 as it was before but after that i got a
problem saying
Not_allowed_to_perform_deliveries_as_root./

I have had problems with qmail-send a while now and i´m getting realy sick
and tired of it.

//Tobias



- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 9:31 PM
Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a


On Thursday, August 28, 2003, at 08:27  AM, Tobias wrote:
 I´v got a problem with the latest release of vpopmail 5.3.26a.
 I´m running the mysql setup and everything wen´t well during install.
 But when i try to login with pop3 it rejects my password and i get a
 -ERR
 authentication failed.
 In the maillog it says like this.

What happens when you try 5.3.25?  As mentioned in the docs, 5.3.26 is
mostly a cleanup of 5.3.25.  Knowing whether this problem was already
present in 5.3.25 will help us isolate it.  Either it's been there for
awhile, or it's something we just introduced.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester




__ NOD32 1.496 (20030828) Information __

This message was checked by NOD32 Antivirus System.
http://www.nod32.com





Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a

2003-08-28 Thread Tobias
I´m using the qmail pop3 server and it´s running as root

//Tobias
- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 9:36 PM
Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a


On Thursday, August 28, 2003, at 08:27  AM, Tobias wrote:
 I´v got a problem with the latest release of vpopmail 5.3.26a.
 I´m running the mysql setup and everything wen´t well during install.
 But when i try to login with pop3 it rejects my password and i get a
 -ERR
 authentication failed.

What are you using for your POP3 server?  Courier?  Qmail?  What user
is the POP3 server running as?

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester




__ NOD32 1.496 (20030828) Information __

This message was checked by NOD32 Antivirus System.
http://www.nod32.com





Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a

2003-08-28 Thread Tom Collins
On Thursday, August 28, 2003, at 12:43  PM, Tobias wrote:
I solved it with setting the permissions for the domains in the assign 
file
to vpopmail:vchkpw and not 89:89 as it was before but after that i got 
a
problem saying
Not_allowed_to_perform_deliveries_as_root./
What is the output of `id vpopmail`?  If your domains were listed as 
89:89, I'm assuming that it was something like:

uid=89(vpopmail) gid=89(vchkpw) groups=89(vchkpw)

I don't think that you can use non-numeric uid/gid in the assign file.  
Did you run qmail-newu after modifying the users/assign file so it 
could create users/cdb?

Is this a new server?  If not, what's the version history of vpopmail 
on it?  When did you create the domains?

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a

2003-08-28 Thread Tobias
I have been running vpopmail 5.3.16 before but i made a clean install today
just wiping everything.
I´ve got a mail mirror so it´s no problem.

But it´s strange that when i add a domain vpopmail automaticaly adds 89:89
and not vpopmail:vchkpw but it´s the later that works

I set it up today with the latest vpopmail.

//Tobias
- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 9:52 PM
Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a


 On Thursday, August 28, 2003, at 12:43  PM, Tobias wrote:
  I solved it with setting the permissions for the domains in the assign
  file
  to vpopmail:vchkpw and not 89:89 as it was before but after that i got
  a
  problem saying
  Not_allowed_to_perform_deliveries_as_root./

 What is the output of `id vpopmail`?  If your domains were listed as
 89:89, I'm assuming that it was something like:

 uid=89(vpopmail) gid=89(vchkpw) groups=89(vchkpw)

 I don't think that you can use non-numeric uid/gid in the assign file.
 Did you run qmail-newu after modifying the users/assign file so it
 could create users/cdb?

 Is this a new server?  If not, what's the version history of vpopmail
 on it?  When did you create the domains?

 --
 Tom Collins
 [EMAIL PROTECTED]
 http://sniffter.com/ - info on the Sniffter hand-held Network Tester




 __ NOD32 1.496 (20030828) Information __

 This message was checked by NOD32 Antivirus System.
 http://www.nod32.com






[vchkpw] courier pop3d instead of qmail-pop3d

2003-08-28 Thread Tobias
Is it possible to run courier pop3d instead of qmail ?

How can i set it up in the run script for qmail-pop3d ?

//Tobias



Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a

2003-08-28 Thread Tobias
89 is vpopmail uid and
89 is gid

I´ll try it tomorrow i have to run to bed now!

//Tobias

- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: Tobias [EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 10:05 PM
Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a


Can you answer the rest of my questions?  Like the uid and gid of the
vpopmail user?

Also, please test with 5.3.25 instead of 5.3.26 first, as it could help
us isolate bugs.  There were a LOT of code changes (and chances to
introduce bugs), but no new functionality added between 5.3.25 and
5.3.26.

Even better, try a clean install with 5.3.16 and make sure it's all
working, and then try to upgrade to 5.3.25 or 5.3.26.

On Thursday, August 28, 2003, at 01:06  PM, Tobias wrote:
 I have been running vpopmail 5.3.16 before but i made a clean install
 today
 just wiping everything.
 I´ve got a mail mirror so it´s no problem.

 But it´s strange that when i add a domain vpopmail automaticaly adds
 89:89
 and not vpopmail:vchkpw but it´s the later that works

 I set it up today with the latest vpopmail.

 //Tobias
 - Original Message -
 From: Tom Collins [EMAIL PROTECTED]
 To: vpopmail list [EMAIL PROTECTED]
 Sent: Thursday, August 28, 2003 9:52 PM
 Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a


 On Thursday, August 28, 2003, at 12:43  PM, Tobias wrote:
 I solved it with setting the permissions for the domains in the
 assign
 file
 to vpopmail:vchkpw and not 89:89 as it was before but after that i
 got
 a
 problem saying
 Not_allowed_to_perform_deliveries_as_root./

 What is the output of `id vpopmail`?  If your domains were listed as
 89:89, I'm assuming that it was something like:

 uid=89(vpopmail) gid=89(vchkpw) groups=89(vchkpw)

 I don't think that you can use non-numeric uid/gid in the assign file.
 Did you run qmail-newu after modifying the users/assign file so it
 could create users/cdb?

 Is this a new server?  If not, what's the version history of vpopmail
 on it?  When did you create the domains?

 --
 Tom Collins
 [EMAIL PROTECTED]
 http://sniffter.com/ - info on the Sniffter hand-held Network Tester




 __ NOD32 1.496 (20030828) Information __

 This message was checked by NOD32 Antivirus System.
 http://www.nod32.com






--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



__ NOD32 1.496 (20030828) Information __

This message was checked by NOD32 Antivirus System.
http://www.nod32.com





Re: [vchkpw] courier pop3d instead of qmail-pop3d

2003-08-28 Thread Tom Collins
On Thursday, August 28, 2003, at 01:08  PM, Tobias wrote:
Is it possible to run courier pop3d instead of qmail ?

How can i set it up in the run script for qmail-pop3d ?
Yes it is possible, and many people do it.

Please refer to one of the excellent toaster documents out there on 
installing all of the components of a mail server.

Bill Shupp's is slightly out of date, but was a good starting point for 
me: http://www.shupp.org/.

Others have used Matt Simerson's: 
http://www.tnpi.biz/internet/mail/toaster/.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



Re: [vchkpw] Not_allowed_to_perform_deliveries_as_root./

2003-08-28 Thread Jonas Pasche
Hi,

 Ive got this error now in my qmail/send/current so mail gets stuck in queue
 
 @40003f4e5086262abaa4 delivery 1: deferral:
 Not_allowed_to_perform_deliveries_as_root./

Please show the _full_ log for that delivery try (including the target
user address).

Jonas





Re: [vchkpw] warning: trouble injecting bounce message, will trylater

2003-08-28 Thread Jonas Pasche
Hi Jesus,

 warning: trouble injecting bounce message, will try later

- Wrong permissions on qmail-queue?

- qmail partition mounted nosuid?

- Resource limits too low?

- Queue corrupt?

In general, this doesn't seem to be vpopmail-related; please consult the
qmail list for further assistance.

Jonas




Re: [vchkpw] Entourage for Mac/Qmail Error

2003-08-28 Thread Jonas Pasche
Hi Adam,

 Now he gets the error: Mail error.  The server is busy.  Suggestions?

Insert recordio into your qmail-smtpd run script and see what the
client actually sends to the server, and what happens.

If nothing shows up in the log, use tcpdump or any equivalent low-level
debugger to find out what data is actually transmitted.

Jonas







Re: [vchkpw] /etc/shadows -

2003-08-28 Thread Jonas Pasche
Hi José,

   How can i convert /etc/shadow to a vpasswd file type.??

Use a shell script like...

#!/bin/sh
for U in `awk -F : '{ print $1 }'  /etc/passwd` ; do
  echo -n $U - 
  /home/vpopmail/bin/vadduser -r [EMAIL PROTECTED]
done

This won't convert the passwords; however, as most users will use these
passwords over unencrypted connections like POP3 or IMAP4, it's a good
idea to force them to use different passwords for mail than for, let's
say, SSH connections.

Jonas






RE: [vchkpw] Can not get vpopmail to enable roaming support

2003-08-28 Thread Jonas Pasche
Hi Raymond,

 I didn't change the tcp.cmtp to tcp.smtp.cdb. I simple link my
 /etc/tcp.smtp to ~vpopmail/etc/tcp.smtp and made the file 777 so any
 program can write to it.

You simply try fiddling around, ending up with world-writable files and
symlinks. Hey, this is Unix, stop acting helpless. If you don't
understand the thing, hey, this is no problem, but you should understand
things first before trying to run an MTA.

1) tcp.smtp and tcp.smtp.cdb are not identical. tcp.smtp is a text file,
   while tcp.smtp.cdb is a constant database.

2) The actual tcp.smtp.cdb will get compiled by vpopmail, from the
   contents of tcp.smtp and open-smtp.

3) --enable-tcpserver-file=xyz needs a path to tcp.smtp, not a path to
   tcp.smtp.cdb.

4) The vpopmail cannot write new files to /etc, but only to
   /home/vpopmail/etc.

 Now vpopmail and qmail is sharing the same tcp.smtp file.

qmail never reads tcp.smtp, only the tcp.smtp.cdb file, which is in turn
build from tcp.smtp and open-smtp. vpopmail never writes to tcp.smtp, it
only reads it.

Now, here's your todo list:

Please remove all symlinks first (as everything is actually messed up).

Move your /etc/tcp.smtp to /home/vpopmail/etc (as vpopmail cannot write
to /etc); it contains your _static_ relay rules.

Rebuild with --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp (as
vpopmail needs to know where the tcp.smtp resides).

Change the qmail-smtpd run script to use /home/vpopmail/etc/tcp.smtp.cdb
instead of /etc/tcp.smtp.cdb (as the tcp.smtp.cdb is now there).

Now you're done. Check your maillog for successful POP3 logins. Check
/home/vpopmail/etc/open-smtp for newly generated entries. Check
/home/vpopmail/etc/tcp.smtp.cdb for its date to see if it gets updated
after a successfull POP3 login.

Jonas






Re: [vchkpw] Some help needed [Off-topic]

2003-08-28 Thread Jonas Pasche
Hi Tanmaya,

 Below is out of ps command on our mail server. 
 Can anyone help me figureout is this any malacious attempt.

The processlist doesn't tell us.

1) You have logs; look into them. If you don't understand them,
   show them to us.

2) Look into the message files (/var/qmail/queue/mess/*/*) to see
   what the actual contents are, to judge if there's a spammer on
   the machine or you allowed a spammer to relay.

Jonas






[vchkpw] domain limits not applying to users

2003-08-28 Thread Tom Collins
On Thursday, August 28, 2003, at 07:47  AM, Steven Job wrote:
I am able to set the qmailadmin limits (using the mysql version) but it
doesn't seem to work the way I thought.
I have set the disable_pop to 1 and the disable_webmail to 1 and the
disable_relay to 1 and I don't see any difference in how it acts.
The users in that domain can still receive pop mail, use webmail, and
relay.
Proper support for domain limits are still under development.  The code  
exists in vpopmail 5.3.25 and 5.3.26 but has been temporarily disabled  
due to the following problem:

If vpopmail applies domain limits onto the user's limits, and then you  
make any change to the user (even changing the password), the user will  
inherit the current domain limits.

So, for example, if you temporarily add a domain limit of  
disable_webmail for some reason, and one of the users in the domain  
changes their password, they'll still have disable_webmail set even if  
you clear it for the domain.

We're working on a solution, but we're not sure of the exact  
implementation.  We either have to change all bits of code that check  
whether a user has access to do something, or change all bits of code  
that could modify a user's account information.

My guess is that we need to change the pwd structure to have a user  
limits and effective limits fields, then go through an update  
everything that checks limits to use the effective limits field.

Take a look at  
http://sourceforge.net/tracker/ 
index.php?func=detailaid=795688group_id=85937atid=577798 for  
continued discussion of this issue.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester