[vchkpw] Aliases on Vpopmail + Qmail + mysql

2003-10-15 Thread THIAGO ANDERSON SANTOS



Hello ,
 I am new on list , but I come request a help. 

I should like of creating a ally , what you sent 
the messages about to another .
 example : 
I have the mail : [EMAIL PROTECTED] what distributing about to 
another emails. I tried act a part into the ~ alias/ of the qmail , but I 
send the message return the the next I mistake :
Sorry, no 
mailbox here by that name. vpopmail (#5.1.1)I should like of knowing I eat behave.
 
-THIAGO ANDERSON SANTOSAdm. de Rede - 
Uniminashttp://www.uniminas.brLinux 
4ever  - Slackware


[vchkpw] valias

2003-10-15 Thread Remo Mattei
I have this problem with valias any suggestion :-)

italy1.com new 181 --> valias -i [EMAIL PROTECTED] [EMAIL PROTECTED]
italy1.com new 182 --> valias -i [EMAIL PROTECTED] [EMAIL PROTECTED]
Error: alias [EMAIL PROTECTED] -> [EMAIL PROTECTED] already exists.
italy1.com new 183 --> valias -s italy1.com
[EMAIL PROTECTED] -> [EMAIL PROTECTED]


when I try to add the new alias it tells me that it's already there!! If I
delete them all and I flip that then I cannot add hotelclitunno since it
tells me it already exists...


Remo Mattei
Network Security Engineer
cell 801-209-8554
email [EMAIL PROTECTED]

<>

[vchkpw] Migrating qmail/vpopmail to another server

2003-10-15 Thread John McGivern
Hi!

Could anyone point me to a document that would outline how to migrate all of the 
accounts and virtual domains from one server to another?  I already have the server 
all set up with the same stuff, I just need to get the domains and accounts over.

I tried just copying over the file with the domains in it but they didn't get picked 
up.  Any help would be appreciated.

Thanks,

John McGivern



[vchkpw] scanning and forwarding

2003-10-15 Thread Guillermo Villasana Cardoza
Hi guys, well I am considering putting the qmailtoaster on a machine,
but my doubt is ... can I use it only for scanning and spam detection,
and the forward all the mail to the one or more email servers?
Thanks for the help





[vchkpw] Re: Migrating qmail/vpopmail to another server

2003-10-15 Thread Paul L. Allen

John McGivern writes:

> Could anyone point me to a document that would outline how to migrate
> all of the accounts and virtual domains from one server to another?
> I already have the server all set up with the same stuff, I just need
> to get the domains and accounts over.

Rsync is your friend.  Use it to copy over the entire domains directory.
Use it to copy over the entire qmail control and users directories.
That should cover most things, although you may have to do some tweaking
to the assign file if you have system users that aren't in virtual
domains.

-- 
Paul Allen
Softflare Support




Re: [vchkpw] valias

2003-10-15 Thread Tom Collins
On Friday, October 24, 2003, at 04:56  AM, Remo Mattei wrote:
I have this problem with valias any suggestion :-)

italy1.com new 181 --> valias -i [EMAIL PROTECTED] 
[EMAIL PROTECTED]
italy1.com new 182 --> valias -i [EMAIL PROTECTED] [EMAIL PROTECTED]
Error: alias [EMAIL PROTECTED] -> [EMAIL PROTECTED] already exists.
italy1.com new 183 --> valias -s italy1.com
[EMAIL PROTECTED] -> [EMAIL PROTECTED]
That was a bug fixed in 5.3.28 (see bug tracker 807935).  There were 
many other bug fixes as well, so you might want to upgrade to it.

You could also just download valias.c from the cvs repository to 
replace your current version, then recompile and reinstall it.

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



[vchkpw] Virtual and 'normal' users?

2003-10-15 Thread Werner Amon
Hi,

Can vpopmail handle virtual user accounts and real user accounts at the same
time?
I have a working qmail-vpopmail-mysql server, but i want to handle a normal
user account also, is this possible?

Greets from Vienna
Werner




[vchkpw] Re: Virtual and 'normal' users?

2003-10-15 Thread Peter Palmreuther
Hello Werner,

On Wednesday, October 15, 2003 at 8:10:50 PM you wrote (at least in
part):

> Can vpopmail handle virtual user accounts and real user accounts at the same
> time?

Yes, it can.
You'll have to '--enable-passwd=y' at compile time.

> I have a working qmail-vpopmail-mysql server, but i want to handle a normal
> user account also, is this possible?

You'll have to recompile vpopmail, the rest shouldn't be a problem at
all.
-- 
Best regards
Peter Palmreuther

Do not follow in the footsteps of men of old; seek what they sought.




AW: [vchkpw] Re: Virtual and 'normal' users?

2003-10-15 Thread Werner Amon
Hi Peter,

Than you for your answer, but what's about the entry in
/var/qmail/supervise/qmail-pop3d/run
its like this:
#!/bin/sh
exec env - PATH="/var/qmail/bin:/usr/local/bin" \
/usr/local/bin/envdir /etc/relay-ctrl \
tcpserver -H -R 0 pop3 \
/var/qmail/bin/qmail-popup server.domain.at \
/home/vpopmail/bin/vchkpw /usr/local/bin/relay-ctrl-allow
/var/qmail/bin/qmail-pop3d Maildir 2>&1

I think there must be a line with /path/to/checkpassword ?
I ask this question because i can not do experiments with this produktiv
server, you understand ;)

Greets from Vienna
Werner


Hello Werner,

On Wednesday, October 15, 2003 at 8:10:50 PM you wrote (at least in
part):

> Can vpopmail handle virtual user accounts and real user accounts at 
> the same time?

Yes, it can.
You'll have to '--enable-passwd=y' at compile time.

> I have a working qmail-vpopmail-mysql server, but i want to handle a 
> normal user account also, is this possible?

You'll have to recompile vpopmail, the rest shouldn't be a problem at all.
-- 
Best regards
Peter Palmreuther

Do not follow in the footsteps of men of old; seek what they sought.







Re: [vchkpw] Re: Virtual and 'normal' users?

2003-10-15 Thread Hugo Ferreira
The binary checkpassword is replaced with ~vpopmail/bin/vchkpw, so u don't
need to add that argument again, as long as u compile vpopmail
with --enable-passwd=y


- Original Message - 
From: "Werner Amon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 9:14 PM
Subject: AW: [vchkpw] Re: Virtual and 'normal' users?


> Hi Peter,
>
> Than you for your answer, but what's about the entry in
> /var/qmail/supervise/qmail-pop3d/run
> its like this:
> #!/bin/sh
> exec env - PATH="/var/qmail/bin:/usr/local/bin" \
> /usr/local/bin/envdir /etc/relay-ctrl \
> tcpserver -H -R 0 pop3 \
> /var/qmail/bin/qmail-popup server.domain.at \
> /home/vpopmail/bin/vchkpw /usr/local/bin/relay-ctrl-allow
> /var/qmail/bin/qmail-pop3d Maildir 2>&1
>
> I think there must be a line with /path/to/checkpassword ?
> I ask this question because i can not do experiments with this produktiv
> server, you understand ;)
>
> Greets from Vienna
> Werner
>
>
> Hello Werner,
>
> On Wednesday, October 15, 2003 at 8:10:50 PM you wrote (at least in
> part):
>
> > Can vpopmail handle virtual user accounts and real user accounts at
> > the same time?
>
> Yes, it can.
> You'll have to '--enable-passwd=y' at compile time.
>
> > I have a working qmail-vpopmail-mysql server, but i want to handle a
> > normal user account also, is this possible?
>
> You'll have to recompile vpopmail, the rest shouldn't be a problem at all.
> -- 
> Best regards
> Peter Palmreuther
>
> Do not follow in the footsteps of men of old; seek what they sought.
>
>
>
>
>
>




[vchkpw] New vpopmail users cannot receive mail

2003-10-15 Thread David Bristol
Have recently re-installed the Qmailadmin program, and now users added
to a domain through either vpopmail or qmailadmin show up in the
qmail-send logs as no_mailbox_by_that_name. Telnet to port 110 with the
username and password works, but email to those users bounces. Anyone
have any ideas? This could also be a Qmail configuration issue, but I
don't know enough about vpopmail to troubleshoot this.

Thanks in advance for any help.

Dave




[vchkpw] vpopmail

2003-10-15 Thread Tom Tu
Hi,

Just to clarify: Do you need a tcp.smtp file under /home/vpopmail/etc?  I
see some documentation on this.  I have this file under /etc/tcp.smtp for
checkpassword authentication.  The Qmail handbook has no mentioned of
/home/vpopmail/etc/tcp.smtp?

Thanks,
Tom



Re: [vchkpw] vpopmail

2003-10-15 Thread Joseph Kacmarcik

> Just to clarify: Do you need a tcp.smtp file under /home/vpopmail/etc?  I
> see some documentation on this.  I have this file under /etc/tcp.smtp for
> checkpassword authentication.  The Qmail handbook has no mentioned of
> /home/vpopmail/etc/tcp.smtp?

the file can be wherever you want as long as you specify it when you start
tcpserver with '-x /path/to/tcp.smtp.cdb'.

it's not a qmail thing, it's what allows (or denies) incoming tcp
connections to whatever service you're running, most likely smtp. (:

good day!
joe



RE: [vchkpw] scanning and forwarding

2003-10-15 Thread Tom Tu
Sure, setup the MX record of this server with a higher priority for the
domain and create a file called "smtproutes" under /var/qmail/control with
the following inf:

Add domain.com:[ip address]

Tom

-Original Message-
From: Guillermo Villasana Cardoza [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 8:05 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] scanning and forwarding


Hi guys, well I am considering putting the qmailtoaster on a machine, but my
doubt is ... can I use it only for scanning and spam detection, and the
forward all the mail to the one or more email servers?

Thanks for the help





[vchkpw] vpopmail-5.3.28 + mysql 4.0.15 problem

2003-10-15 Thread Sérgio Manuel Rosa
Hi all, 

I'm having this messages when I do a ./vadddomain xpto.com 

[EMAIL PROTECTED] bin]# ./vadddomain xpto.com
Please enter password for postmaster:
enter password again:
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
Failure while attempting to remove_line() the locals file
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
Error. Failed to add domain to assign file
Error: Could not update file 

When I try to create it again vpopmail screams that it's allready created,
however no domain directory was created under ~vpopmail/domain/ . 

vpopmail was compiled with the following options:
./configure \
--enable-vpopuser=vpopmail \
--enable-vpopgroup=vchkpw \
--enable-tcprules-prog=/usr/local/bin/tcpserver \
--enable-tcpserver-file=~vpopmail/etc/tcp.smtp \
--enable-log-name=vpopmail \
--enable-roaming-users=y \
--enable-logging=p \
--enable-defaultquota=52428800 \
--enable-ip-alias-domains=n \
--enable-passwd=n \
--enable-clear-passwd=y \
--enable-domain-quotas=y \
--enable-mysql=y \
--enable-many-domains=n \
--enable-auth-logging=y \
--enable-mysql-logging=y \
--enable-valias=y \
--enable-mysql-limits=n \
--enable-relay-clear-minutes=30 \
--enable-domains-dir=domains 

mysql client and server are version:
[EMAIL PROTECTED] vpopmail-5.3.28]# mysqld -V
mysqld  Ver 4.0.15-standard for pc-linux on i686
[EMAIL PROTECTED] vpopmail-5.3.28]# mysql -V
mysql  Ver 12.21 Distrib 4.0.15, for pc-linux (i686)
[EMAIL PROTECTED] vpopmail-5.3.28]# 

Vpopmail is version 5.3.28 

mysql database was created like this:
mysql> CREATE DATABASE vpopmail;
Query OK, 1 row affected (0.00 sec) 

mysql> GRANT select,insert,update,delete,create,drop ON vpopmail.*
 -> TO [EMAIL PROTECTED] IDENTIFIED BY 'vpoppasswd'; 

and I'm running REdHAt Linux 8.0 with the latest kernel, mysql is
up&running. 

I found a post on this error but was related with different versions of
server and client. What is missing around here? 

srosa 





Re: [vchkpw] vpopmail-5.3.28 + mysql 4.0.15 problem

2003-10-15 Thread Michael Bowe
Did you setup the
  ~vpopmail/etc/vpopmail.mysql file?
eg
  echo "localhost|0|vpopmailuser|vpoppasswd|vpopmail" >
~vpopmail/etc/vpopmail.mysql
  chown vpopmail.vchkpw ~vpopmail/etc/vpopmail.mysql
  chmod 644 ~vpopmail/etc/vpopmail.mysql

Also note, the output of "./configure --help" is faulty with respect to
the --enable-tcpserver-file
This option needs to be done like this :
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
rather than this
  --enable-tcpserver-file=~vpopmail/etc/tcp.smtp

Michael.

- Original Message - 
From: "Sérgio Manuel Rosa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 10:42 AM
Subject: [vchkpw] vpopmail-5.3.28 + mysql 4.0.15 problem


> Hi all,
>
> I'm having this messages when I do a ./vadddomain xpto.com
>
> [EMAIL PROTECTED] bin]# ./vadddomain xpto.com
> Please enter password for postmaster:
> enter password again:
> vmysql: sql error[c]: MySQL server has gone away
> vmysql: sql error[b]: MySQL server has gone away
> Failure while attempting to remove_line() the locals file
> 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
> Error. Failed to add domain to assign file
> Error: Could not update file
>
> When I try to create it again vpopmail screams that it's allready created,
> however no domain directory was created under ~vpopmail/domain/ .
>
> vpopmail was compiled with the following options:
> ./configure \
>  --enable-vpopuser=vpopmail \
>  --enable-vpopgroup=vchkpw \
>  --enable-tcprules-prog=/usr/local/bin/tcpserver \
>  --enable-tcpserver-file=~vpopmail/etc/tcp.smtp \
>  --enable-log-name=vpopmail \
>  --enable-roaming-users=y \
>  --enable-logging=p \
>  --enable-defaultquota=52428800 \
>  --enable-ip-alias-domains=n \
>  --enable-passwd=n \
>  --enable-clear-passwd=y \
>  --enable-domain-quotas=y \
>  --enable-mysql=y \
>  --enable-many-domains=n \
>  --enable-auth-logging=y \
>  --enable-mysql-logging=y \
>  --enable-valias=y \
>  --enable-mysql-limits=n \
>  --enable-relay-clear-minutes=30 \
>  --enable-domains-dir=domains
>
> mysql client and server are version:
> [EMAIL PROTECTED] vpopmail-5.3.28]# mysqld -V
> mysqld  Ver 4.0.15-standard for pc-linux on i686
> [EMAIL PROTECTED] vpopmail-5.3.28]# mysql -V
> mysql  Ver 12.21 Distrib 4.0.15, for pc-linux (i686)
> [EMAIL PROTECTED] vpopmail-5.3.28]#
>
> Vpopmail is version 5.3.28
>
> mysql database was created like this:
> mysql> CREATE DATABASE vpopmail;
> Query OK, 1 row affected (0.00 sec)
>
> mysql> GRANT select,insert,update,delete,create,drop ON vpopmail.*
>   -> TO [EMAIL PROTECTED] IDENTIFIED BY 'vpoppasswd';
>
> and I'm running REdHAt Linux 8.0 with the latest kernel, mysql is
> up&running.
>
> I found a post on this error but was related with different versions of
> server and client. What is missing around here?
>
> srosa
>
>
>
>




[vchkpw] Re: vpopmail-5.3.28 + mysql 4.0.15 problem

2003-10-15 Thread Sérgio Manuel Rosa
Hi, 

according with READMER.mysql I used the following lines in 
~vpopmail/etc/vpopmail.sql
read localhost|3306|vpopmailuser|vpoppasswd|vpopmail
update localhost|3306|vpopmailuser|vpoppasswd|vpopmail 

then I tested with your line, but also failed to work. 

I compiled it again with the correct path instead of ~vpopmail/etc/tcp.smtp 
but it failed also. 

thanks
srosa 

Michael Bowe writes:
Did you setup the
  ~vpopmail/etc/vpopmail.mysql file?
eg
  echo "localhost|0|vpopmailuser|vpoppasswd|vpopmail" >
~vpopmail/etc/vpopmail.mysql
  chown vpopmail.vchkpw ~vpopmail/etc/vpopmail.mysql
  chmod 644 ~vpopmail/etc/vpopmail.mysql 

Also note, the output of "./configure --help" is faulty with respect to
the --enable-tcpserver-file
This option needs to be done like this :
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
rather than this
  --enable-tcpserver-file=~vpopmail/etc/tcp.smtp 

Michael. 

- Original Message - 
From: "Sérgio Manuel Rosa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 10:42 AM
Subject: [vchkpw] vpopmail-5.3.28 + mysql 4.0.15 problem 


Hi all, 

I'm having this messages when I do a ./vadddomain xpto.com 

[EMAIL PROTECTED] bin]# ./vadddomain xpto.com
Please enter password for postmaster:
enter password again:
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
Failure while attempting to remove_line() the locals file
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
Error. Failed to add domain to assign file
Error: Could not update file 

When I try to create it again vpopmail screams that it's allready created,
however no domain directory was created under ~vpopmail/domain/ . 

vpopmail was compiled with the following options:
./configure \
 --enable-vpopuser=vpopmail \
 --enable-vpopgroup=vchkpw \
 --enable-tcprules-prog=/usr/local/bin/tcpserver \
 --enable-tcpserver-file=~vpopmail/etc/tcp.smtp \
 --enable-log-name=vpopmail \
 --enable-roaming-users=y \
 --enable-logging=p \
 --enable-defaultquota=52428800 \
 --enable-ip-alias-domains=n \
 --enable-passwd=n \
 --enable-clear-passwd=y \
 --enable-domain-quotas=y \
 --enable-mysql=y \
 --enable-many-domains=n \
 --enable-auth-logging=y \
 --enable-mysql-logging=y \
 --enable-valias=y \
 --enable-mysql-limits=n \
 --enable-relay-clear-minutes=30 \
 --enable-domains-dir=domains 

mysql client and server are version:
[EMAIL PROTECTED] vpopmail-5.3.28]# mysqld -V
mysqld  Ver 4.0.15-standard for pc-linux on i686
[EMAIL PROTECTED] vpopmail-5.3.28]# mysql -V
mysql  Ver 12.21 Distrib 4.0.15, for pc-linux (i686)
[EMAIL PROTECTED] vpopmail-5.3.28]# 

Vpopmail is version 5.3.28 

mysql database was created like this:
mysql> CREATE DATABASE vpopmail;
Query OK, 1 row affected (0.00 sec) 

mysql> GRANT select,insert,update,delete,create,drop ON vpopmail.*
  -> TO [EMAIL PROTECTED] IDENTIFIED BY 'vpoppasswd'; 

and I'm running REdHAt Linux 8.0 with the latest kernel, mysql is
up&running. 

I found a post on this error but was related with different versions of
server and client. What is missing around here? 

srosa 




 



_
Sérgio Rosa
Senior Partner
GoSecure
Quinta da Fonte
Edif. D. Pedro I
2770-071 Paço d'Arcos
Tel:+351 21 0001663/4
Fax:   +351 21 0001675
Telm: +351 91 6184275
email: [EMAIL PROTECTED]
Web: www.gosecure.pt 

dotWebOn - Serviços de Internet, Lda
Rua Francisco Tomás da Costa, nº51 A
1600-092 Lisboa
Tlm: +351 91 618 42 75
Mail: [EMAIL PROTECTED] 





[vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.

2003-10-15 Thread Kuan Yik



Hi!
 
I am not sure am I posting to the rite mailing list 
to ask this question.
 
Currently, I am using only Qmail + Vpopmail + Mysql 
to provide pop3 and smtp. And, wat I understand that they are using the maildir 
to store email message in /home/vpopmail/domain/abc.com/user/Maildir/new cur tmp 
.And , the file maildirsize is use for the quota status. Everything work fine 
for me now.
 
Now I am interesting on the courier-imap is because 
I want to use some webmail that support imap. So, I have tried to configure my 
mail server to support courier-imap as well, and it is working fine so far. The 
only problem is the quota control. 
 
I delete email message by using imap 
is fine. It will update the maildirsize file. But, I notice that I am 
also ablet o create folder by using Imap into the mairdir. I have tried to 
create a test folder call "testing123" by using imap. Then, 
it will create a directory call ".testing123" in the Maidir/ which 
this folder do not update the maildirsize file. This is the major 
problem. Coz, user can create any folder and saved all the message 
into that folder and it will not update the maildirsize file mean the 
server will not count the quota correctly. 
 
Anyone have any idea how to solve this problem? Is 
possible to disable the create folder feature on the imap 
server? Or what else I can do that make the imap will update the 
maildirsize file when creating a new folder. Or any 
alternative way to do that to handle the quota by using 
imap?
 
Regards,
KY. 


RE: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.

2003-10-15 Thread steven
Title: 邮件



I dont 
think it will happen. Check the function count_dir(char *dir_name) in source 
file vqmaillocal.c. It walk around the maildir and sum all file size in this 
dir.  
 
 
    
Steven Zhuang  
  

Beijing Advantage Software Limited
http://www.adyzsoftware.com  

    

 
Room 3010 Deshengyuan Business 
Center    
Tel:86-10-62374916  
No.11 Dongbinhe Road 
Deshengmen  
FAX:86-10-62374724   
Xicheng 
District 
Mail:[EMAIL PROTECTED]
Beijing 
100011,PRC