Re: [qmailtoaster] vpopmail in the latest toaster

2019-06-25 Thread Andrew Swartz

I built a Centos 7 toaster last year (upgrading from Centos 5).

vpopmail is unchanged and still uses a file system structure for mail 
storage.  Therefore the vpopmail management commands are unchanged.


As I recall, the major headache was migrating the login credentials. 
And once migrated, a snafu was that the old toaster was authenticating 
against a hash of the passwords whereas the new toaster was merely 
matching the plaintext.  Though the full hash was stored, only the first 
16 characters of the plaintext was stored.  Therefore accounts with 
passwords longer than 16 characters could not log in.  The fix was to 
switch to NOT using plaintext password storage which forces 
authentication against the hash.  I think this was a vpopmail setting, 
but I'm not 100% sure.


-Andy



On 6/22/2019 4:23 PM, Angus McIntyre wrote:
I'm currently building out a new server, and I'm trying to automate the 
qmailtoaster install process using Ansible.


The last time I did a full qmailtoaster install was several years ago, 
on CentOS 5, and I understand that things have changed a bit since then.


In particular, I believe that vpopmail has moved to a database-backed, 
instead of file-based system. Is that right? If so, is the format 
documented anywhere? I'm basically interested in working out what 
happens when you run 'vadddomain' or 'vadduser': do they only change the 
database, or do they modify other files as well?


I assume that '.qmail' files are still a thing, and that that stuff 
hasn't been offloaded to a database somewhere. Correct?


Any tips or pointers you can give me would be welcome.

Thanks,

Angus



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] vpopmail in the latest toaster

2019-06-22 Thread Angus McIntyre
I'm currently building out a new server, and I'm trying to automate the 
qmailtoaster install process using Ansible.


The last time I did a full qmailtoaster install was several years ago, 
on CentOS 5, and I understand that things have changed a bit since then.


In particular, I believe that vpopmail has moved to a database-backed, 
instead of file-based system. Is that right? If so, is the format 
documented anywhere? I'm basically interested in working out what 
happens when you run 'vadddomain' or 'vadduser': do they only change the 
database, or do they modify other files as well?


I assume that '.qmail' files are still a thing, and that that stuff 
hasn't been offloaded to a database somewhere. Correct?


Any tips or pointers you can give me would be welcome.

Thanks,

Angus



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] vpopmail, libvpopmail

2017-11-14 Thread Eric Broch

List,

It was pointed out to me that when using the testing repo,

#  yum --enablerepo=qmt-testing update

that updates to the "cdb" version of vpopmail/libvpopmail would result.

PLEASE DO NOT UPDATE TO THESE VERSIONS!

I've fixed the issue but it will take time to propagate through the 
other repos.


If you happen to upgrade by accident to these versions the fix would be 
to downgrade


# yum downgrade vpopmail libvpopmail

--
Eric Broch
White Horse Technical Consulting (WHTC)


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Vpopmail Challenges

2016-07-26 Thread Eric

Roxanne,

If a domain exists either in the MariaDB (vpopmail sql db) or in the 
directory structure /home/vpomail/domains you're going to have a problem.


1) If possible recreate the vpopmail database (empty).
2) Remove all domains under /home/vpopmail/domains
3) Remove any aliases /var/qmail/alias
4) Remove all domain entries /var/qmail/control and bring back to stock 
(you could most efficiently do this by removing and reinstalling qmail).


After you have everything clean make sure qmail is running and start 
adding domains and domain aliases from a clean slate.


Sometimes when I import the vpopmail database I have to re-enter the 
password (vpasswd), usually for the postmaster account alone, to be able 
to login to qmailadmin.


Eric

On 7/26/2016 7:39 AM, Roxanne Sandesara wrote:

As mentioned in my prior message, I am in the process of building a CentOS 7 
box to take the place of a long-running CentOS 5 box. Now that I have all of 
the relevant packages installed, I thought this would just be a case of 
plodding through the detail work of bringing in the setups and data from the 
old toaster to the new one. But I’ve run into a problem.

I made the decision to create the vpopmail database over from scratch, because 
I didn’t want to go through the research of trying to figure out what had 
changed over the many versions that have passed since I built that old server. 
I did copy over the old vpopmail database as vpopmailold, so that I could 
follow myself along and make sure I didn’t miss anything.

Every time I try to set up an alias domain, I get the error "Error: Both 
domains already exist, unable to create alias.”

sudo /home/vpopmail/bin/vaddaliasdomain golem-computing.com golem-computing.net

Most concerning right now, however is that although I have my passwords correct 
- I can log in through squirrelmail - I cannot log in to qmailadmin.

Any help or advice would be appreciated.
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] Vpopmail Challenges

2016-07-26 Thread Roxanne Sandesara
As mentioned in my prior message, I am in the process of building a CentOS 7 
box to take the place of a long-running CentOS 5 box. Now that I have all of 
the relevant packages installed, I thought this would just be a case of 
plodding through the detail work of bringing in the setups and data from the 
old toaster to the new one. But I’ve run into a problem.

I made the decision to create the vpopmail database over from scratch, because 
I didn’t want to go through the research of trying to figure out what had 
changed over the many versions that have passed since I built that old server. 
I did copy over the old vpopmail database as vpopmailold, so that I could 
follow myself along and make sure I didn’t miss anything.

Every time I try to set up an alias domain, I get the error "Error: Both 
domains already exist, unable to create alias.” 

sudo /home/vpopmail/bin/vaddaliasdomain golem-computing.com golem-computing.net

Most concerning right now, however is that although I have my passwords correct 
- I can log in through squirrelmail - I cannot log in to qmailadmin.

Any help or advice would be appreciated.
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] vpopmail install error

2016-07-25 Thread Roxanne Sandesara
Hi Eric,

OK. That seems to have worked everything out. All the pieces and parts seem to 
be running. Now I just have to port in all of my details from my backups.

‘just’. :)

Thank you, Eric,
Roxanne


On Jul 26, 2016, at 12:30 AM, Eric  wrote:

Hi Roxanne,

It looks like I should make some changes to the install script. Thanks for the 
heads up.

ClamAV starts differently now (99.2) I'll get that updated in the install 
script.

ClamAV starts using the following:

systemctl start clamav-daemon.service
systemctl enable clamav-daemon.service
systemctl start clamav-daemon.socket
systemctl enable clamav-daemon.socket

I'd uninstall and reinstall vpopmail and qmail with fresh download.

uninstall:
rpm -e --nodeps vpopmail qmail

download vpopmail and qmail

install:
rpm -ivh vpopmail
rpm -ivh qmail

Then run 'toaststat' and the command line.


Eric


On 7/25/2016 9:21 PM, Roxanne Sandesara wrote:
> I am in the process of building a new CentOS 7 toaster and trying to port in 
> backup materials from an old CentOS 5 toaster. Through a bit of back and 
> forth, I’ve managed to get most things installed. I have two niggling 
> problems remaining that I need to tackle, and I am suspecting that they are 
> related.
> 
> Going through the script recorded files of my installations, I noticed that I 
> get the errors:
> 
> warning: user vpopmail does not exist - using root
> warning: group vchkpw does not exist - using root
> warning: user vpopmail does not exist - using root
> warning: group vchkpw does not exist - using root
> 
> I had to go back a couple of times to get some of the packages to install, 
> and I suspect that’s where this crept in. As near as I can tell, everything 
> is now installed. But obviously I think I need to create the vpopmail user 
> and the vchkpw group.
> 
> When the script finishes up, I get the following:
> 
> Starting qmail-toaster: svscan.
> send: unable to open supervise/ok: file does not exist
> smtp: unable to open supervise/ok: file does not exist
> submission: unable to open supervise/ok: file does not exist
> send/log: unable to open supervise/ok: file does not exist
> smtp/log: unable to open supervise/ok: file does not exist
> submission/log: unable to open supervise/ok: file does not exist
> id: vpopmail: no such user
> id: vpopmail: no such user
> id: vpopmail: no such user
> id: vpopmail: no such user
> SysV service clamd:[  FAILED  ]
> SysV service spamd:[  OK  ]
> SysV service   network:[  OK  ]
> Systemd servicedovecot:[  OK  ]
> Systemd service  httpd:[  OK  ]
> Systemd service  acpid:[  OK  ]
> Systemd serviceatd:[  OK  ]
> Systemd service autofs:[  OK  ]
> Systemd service  crond:[  OK  ]
> Systemd service   ntpd:[  OK  ]
> Systemd service smartd:[  OK  ]
> Systemd service   sshd:[  OK  ]
> Systemd service irqbalance:[  OK  ]
> Systemd service  named:[  OK  ]
> Systemd service vsftpd:[  OK  ]
> 
> 
> My questions:
> 1) I know I can just issue useradd vpopmail; but what other details do I need 
> there? Should I set a password? Or not? What groups should it be a member of? 
> I suspect I should force it to take GID 89, but if I’m wrong, let me know 
> that too.
> 2) I assume I can groupadd vchkpw. What user(s) should go in that group? 
> Should I force it to a particular ID?
> 3) Would the vpopmail user/vchkpw group errors cause the failures for the 
> qmail services? Will fixing them fix that?
> 
> Obviously I want to get this right. Any help or advice would be appreciated.
> 
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] vpopmail install error

2016-07-25 Thread Eric

Hi Roxanne,

It looks like I should make some changes to the install script. Thanks 
for the heads up.


ClamAV starts differently now (99.2) I'll get that updated in the 
install script.


ClamAV starts using the following:

systemctl start clamav-daemon.service
systemctl enable clamav-daemon.service
systemctl start clamav-daemon.socket
systemctl enable clamav-daemon.socket

I'd uninstall and reinstall vpopmail and qmail with fresh download.

uninstall:
rpm -e --nodeps vpopmail qmail

download vpopmail and qmail

install:
rpm -ivh vpopmail
rpm -ivh qmail

Then run 'toaststat' and the command line.


Eric


On 7/25/2016 9:21 PM, Roxanne Sandesara wrote:

I am in the process of building a new CentOS 7 toaster and trying to port in 
backup materials from an old CentOS 5 toaster. Through a bit of back and forth, 
I’ve managed to get most things installed. I have two niggling problems 
remaining that I need to tackle, and I am suspecting that they are related.

Going through the script recorded files of my installations, I noticed that I 
get the errors:

warning: user vpopmail does not exist - using root
warning: group vchkpw does not exist - using root
warning: user vpopmail does not exist - using root
warning: group vchkpw does not exist - using root

I had to go back a couple of times to get some of the packages to install, and 
I suspect that’s where this crept in. As near as I can tell, everything is now 
installed. But obviously I think I need to create the vpopmail user and the 
vchkpw group.

When the script finishes up, I get the following:

Starting qmail-toaster: svscan.
send: unable to open supervise/ok: file does not exist
smtp: unable to open supervise/ok: file does not exist
submission: unable to open supervise/ok: file does not exist
send/log: unable to open supervise/ok: file does not exist
smtp/log: unable to open supervise/ok: file does not exist
submission/log: unable to open supervise/ok: file does not exist
id: vpopmail: no such user
id: vpopmail: no such user
id: vpopmail: no such user
id: vpopmail: no such user
SysV service clamd:  [  FAILED  ]
SysV service spamd:  [  OK  ]
SysV service   network:  [  OK  ]
Systemd servicedovecot:  [  OK  ]
Systemd service  httpd:  [  OK  ]
Systemd service  acpid:  [  OK  ]
Systemd serviceatd:  [  OK  ]
Systemd service autofs:  [  OK  ]
Systemd service  crond:  [  OK  ]
Systemd service   ntpd:  [  OK  ]
Systemd service smartd:  [  OK  ]
Systemd service   sshd:  [  OK  ]
Systemd service irqbalance:  [  OK  ]
Systemd service  named:  [  OK  ]
Systemd service vsftpd:  [  OK  ]


My questions:
1) I know I can just issue useradd vpopmail; but what other details do I need 
there? Should I set a password? Or not? What groups should it be a member of? I 
suspect I should force it to take GID 89, but if I’m wrong, let me know that 
too.
2) I assume I can groupadd vchkpw. What user(s) should go in that group? Should 
I force it to a particular ID?
3) Would the vpopmail user/vchkpw group errors cause the failures for the qmail 
services? Will fixing them fix that?

Obviously I want to get this right. Any help or advice would be appreciated.


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] vpopmail install error

2016-07-25 Thread Roxanne Sandesara
I am in the process of building a new CentOS 7 toaster and trying to port in 
backup materials from an old CentOS 5 toaster. Through a bit of back and forth, 
I’ve managed to get most things installed. I have two niggling problems 
remaining that I need to tackle, and I am suspecting that they are related.

Going through the script recorded files of my installations, I noticed that I 
get the errors:

warning: user vpopmail does not exist - using root
warning: group vchkpw does not exist - using root
warning: user vpopmail does not exist - using root
warning: group vchkpw does not exist - using root

I had to go back a couple of times to get some of the packages to install, and 
I suspect that’s where this crept in. As near as I can tell, everything is now 
installed. But obviously I think I need to create the vpopmail user and the 
vchkpw group.

When the script finishes up, I get the following:

Starting qmail-toaster: svscan.
send: unable to open supervise/ok: file does not exist
smtp: unable to open supervise/ok: file does not exist
submission: unable to open supervise/ok: file does not exist
send/log: unable to open supervise/ok: file does not exist
smtp/log: unable to open supervise/ok: file does not exist
submission/log: unable to open supervise/ok: file does not exist
id: vpopmail: no such user
id: vpopmail: no such user
id: vpopmail: no such user
id: vpopmail: no such user
SysV service clamd:  [  FAILED  ]
SysV service spamd:  [  OK  ]
SysV service   network:  [  OK  ]
Systemd servicedovecot:  [  OK  ]
Systemd service  httpd:  [  OK  ]
Systemd service  acpid:  [  OK  ]
Systemd serviceatd:  [  OK  ]
Systemd service autofs:  [  OK  ]
Systemd service  crond:  [  OK  ]
Systemd service   ntpd:  [  OK  ]
Systemd service smartd:  [  OK  ]
Systemd service   sshd:  [  OK  ]
Systemd service irqbalance:  [  OK  ]
Systemd service  named:  [  OK  ]
Systemd service vsftpd:  [  OK  ]


My questions:
1) I know I can just issue useradd vpopmail; but what other details do I need 
there? Should I set a password? Or not? What groups should it be a member of? I 
suspect I should force it to take GID 89, but if I’m wrong, let me know that 
too.
2) I assume I can groupadd vchkpw. What user(s) should go in that group? Should 
I force it to a particular ID?
3) Would the vpopmail user/vchkpw group errors cause the failures for the qmail 
services? Will fixing them fix that?

Obviously I want to get this right. Any help or advice would be appreciated.


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
Fabe,

I just compiled vqregister (make all), with no install or clean, on
CentOS6/QMT with the following settings ( minus the '-lz' at the end of
the LIBS line, which you had***):

begin Makefile

VDIR = /home/vpopmail
CC = gcc
BIN = vqregister
DEFS = -I$(VDIR)/include -I/usr/include/mysql
LINKDEFS =
LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
OBJS = main.o cgi.o template.o global.o misc.o config.o register.o
password.o \
   vpopmail.o db.o field.o badhosts.o

INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
INSTALL_BIN = vqregister.cgi
INSTALL_UID = vpopmail
INSTALL_GID = vchkpw

end Makefile

Why do you want a create vqregister with a partial install of vpopmail
and not the full install?

***
Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
-lmysqlclient -lz
  My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
-lmysqlclient

Eric


On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote:
 I should add that the reason I ask is I'm trying to make us of
 vqregister and at compile time I get this error:

 /usr/bin/ld: cannot find -lvpopmail

 I installed my QMT using the latest github scripted method.

 Will vqregister simply not work for me or is there a way to tweak my
 Makefile to make it work?

 Makefile attached. Thanks.

 - Fabe


 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote:
 Hello,

 Is there a way for me to take the vpopmail srpm file and run a
 modified compilation / install sequence that will simply place the
 vpopmail include and lib files in the correct locations for me but do
 nothing else? or a manual way to do this correctly?

 - Fabe


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
Fabe,

I got the error  /usr/bin/ld: cannot find -lmysqlclient

Did you have a look here:

http://qmr.madkom.pl/extra/vqregister.htm

Eric



On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote:
 I should add that the reason I ask is I'm trying to make us of
 vqregister and at compile time I get this error:

 /usr/bin/ld: cannot find -lvpopmail

 I installed my QMT using the latest github scripted method.

 Will vqregister simply not work for me or is there a way to tweak my
 Makefile to make it work?

 Makefile attached. Thanks.

 - Fabe


 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote:
 Hello,

 Is there a way for me to take the vpopmail srpm file and run a
 modified compilation / install sequence that will simply place the
 vpopmail include and lib files in the correct locations for me but do
 nothing else? or a manual way to do this correctly?

 - Fabe


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
 

I would have gotten that same error but I updated the mysql includes
path to match my server in the makefile. 

yes i checked that site but not helpful in this problem case. I was
trying to follow it's directions though. 

- Fabe 

On 2015-07-08 16:48, Eric Broch wrote: 

 Fabe,
 
 I got the error /usr/bin/ld: cannot find -lmysqlclient
 
 Did you have a look here:
 
 http://qmr.madkom.pl/extra/vqregister.htm [1]
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
 

Links:
--
[1] http://qmr.madkom.pl/extra/vqregister.htm


Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
 

well, after all that it doesn't work anyway. suppose it's due to its age
so not surprised really. 

it creates the new account fine but it doesn't send the temporary
password email nor does it populate my sql db with the user data from
the registration. 

oh well. 

do you have any insight to other working user self-registration methods
aside from writing something custom myself (as if that were even
possible for me)? Maybe a round cube plugin? 

- Fabe 

On 2015-07-08 20:51, Eric Broch wrote: 

 Fabe,
 
 What is even stranger is that your install seems correct and mine seems 
 incorrect according to the output of the following two rpm listings...
 
 # rpm -q --list libvpopmail-devel
 # rpm -q --list vpopmail
 
 Now I have no idea why /home/vpopmail/lib exists on my two toasters. 
 According to the output (from the above commands) it was put their by neither 
 rpm, vpopmail nor libvpopmail-devel .
 
 EricB
 
 On 7/8/2015 6:21 PM, fsanti...@deviltracks.net wrote: 
 
 I agree. i followed the instructions for a COS 6.x install with the github 
 scripted installation. so i have no clue.. strange. 
 
 - Fabe 
 
 On 2015-07-08 20:17, Eric Broch wrote: 
 Your install seems strange to me at this point as both my CentOS 5 and 6 
 (x86_64) installs have /home/vpopmail/lib/libvpopmail.a on the disk.
 
 On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: 
 
 Tried that. no luck. 
 
 same error. 
 
 On 2015-07-08 19:51, Eric Broch wrote: 
 I'm running the same architecture. Can you change the LIBS option 
 -L$(VDIR)/lib to -L/usr/lib64/?
 
 On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 still doesn't work. i installed the rpm but my a file shows under /usr/lib64. 
 difference in architecture a problem? 
 
 i am running centos 6.6 64-bit. 
 
 - Fabe 
 
 On 2015-07-08 19:20, Eric Broch wrote: 
 Do you have this...
 
 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
  [1]
 
 installed?
 
 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 No dice: 
 
 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o 
 password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail 
 -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]# 
 
 what do you mean by 
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install? 
 
 - Fabe 
 
 On 2015-07-08 17:32, Eric Broch wrote: 
 Fabe,
 
 I just compiled vqregister (make all), with no install or clean, on 
 CentOS6/QMT with the following settings ( minus the '-lz' at the end of the 
 LIBS line, which you had***):
 
 begin Makefile
 
 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o 
 \
 vpopmail.o db.o field.o badhosts.o
 
 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw
 
 end Makefile
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install?
 
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
 My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 

Links:
--
[1]
http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
Do you have this...

http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

installed?

On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 No dice:

 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o
 register.o password.o vpopmail.o db.o field.o badhosts.o
 -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]#

  

 what do you mean by

 Why do you want a create vqregister with a partial install of
 vpopmail and not the full install?

  

 - Fabe

  

 On 2015-07-08 17:32, Eric Broch wrote:

 Fabe,

 I just compiled vqregister (make all), with no install or clean, on
 CentOS6/QMT with the following settings ( minus the '-lz' at the end
 of the LIBS line, which you had***):

 begin Makefile

 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o
 password.o \
vpopmail.o db.o field.o badhosts.o

 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw

 end Makefile

 Why do you want a create vqregister with a partial install of
 vpopmail and not the full install?
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
   My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 Eric


 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote:
 I should add that the reason I ask is I'm trying to make us of
 vqregister and at compile time I get this error:

 /usr/bin/ld: cannot find -lvpopmail

 I installed my QMT using the latest github scripted method.

 Will vqregister simply not work for me or is there a way to tweak my
 Makefile to make it work?

 Makefile attached. Thanks.

 - Fabe


 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote:
 Hello,

 Is there a way for me to take the vpopmail srpm file and run a
 modified compilation / install sequence that will simply place the
 vpopmail include and lib files in the correct locations for me but do
 nothing else? or a manual way to do this correctly?

 - Fabe


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

  




Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
 

Eric, 

there's something newno .a file present on my system. in fact, i
don't have a /lib folder under my /home/vpopmail path. i also see i'm
missing /usr/lib64/ files  or links as well, compared to your results.
my search results are: 

/etc/dovecot/conf.d/auth-vpopmail.conf.ext
/usr/share/doc/dovecot-2.2.7/example-config/conf.d/auth-vpopmail.conf.ext
/usr/share/logwatch/default.conf/services/vpopmail.conf
/usr/share/logwatch/scripts/services/vpopmail
/usr/bin/qt-mysql-secure-vpopmail
/home/vpopmail
/home/vpopmail/doc/doc_html/vpopmail.html
/home/vpopmail/doc/doc_html/vpopmailapi.png
/home/vpopmail/doc/doc_html/vpopmail5.abw
/home/vpopmail/etc/vpopmail.mysql
/home/vpopmail/etc/vpopmail.mysql.dist
/home/vpopmail/bin/vpopmaild
/var/lib/yum/yumdb/v/a0c3b1b30420c55ae62c2e29044b7f6157268fc1-vpopmail-5.4.33-0.qt.el6-x86_64
/var/lib/mysql/vpopmail
/var/www/html/rc/plugins/password/drivers/vpopmaild.php
/opt/qmailtoaster-util/bin/qt-mysql-secure-vpopmail 

- Fabe 

PS excuse my lack of knowledge here but how did you deduce it's looking
for that file as it's not referenced in the makefile or in my error
output during make all? 

On 2015-07-08 19:05, Eric Broch wrote: 

 If I do a find of the vpopmail files, find / -name *vpopmail* I get...
 
 /usr/bin/qt-mysql-secure-vpopmail
 /usr/lib64/libvpopmail
 /usr/lib64/libvpopmail/libvpopmail.a
 /usr/include/libvpopmail
 /usr/include/libvpopmail/vpopmail.h
 /usr/include/libvpopmail/vpopmail_config.h
 /etc/dovecot/conf.d/auth-vpopmail.conf.ext
 /etc/libvpopmail
 /var/lib/mysql/vpopmail
 /opt/qmailtoaster-util/bin/qt-mysql-secure-vpopmail
 /home/vpopmail
 /home/vpopmail/include/vpopmail.h
 /home/vpopmail/include/vpopmail_config.h
 /home/vpopmail/etc/vpopmail.mysql.dist
 /home/vpopmail/etc/vpopmail.mysql
 /HOME/VPOPMAIL/LIB/LIBVPOPMAIL.A
 /home/vpopmail/doc/doc_html/vpopmail5.abw
 /home/vpopmail/doc/doc_html/vpopmailapi.png
 /home/vpopmail/doc/doc_html/vpopmail.html
 /home/vpopmail/bin/vpopmaild
 
 do you get the same thing?
 
 It should link against /HOME/VPOPMAIL/LIB/LIBVPOPMAIL.A
 
 EricB.
 
 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 No dice: 
 
 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o 
 password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail 
 -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]# 
 
 what do you mean by 
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install? 
 
 - Fabe 
 
 On 2015-07-08 17:32, Eric Broch wrote: 
 Fabe,
 
 I just compiled vqregister (make all), with no install or clean, on 
 CentOS6/QMT with the following settings ( minus the '-lz' at the end of the 
 LIBS line, which you had***):
 
 begin Makefile
 
 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o 
 \
 vpopmail.o db.o field.o badhosts.o
 
 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw
 
 end Makefile
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install?
 
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
 My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
 

Eric, 

still doesn't work. i installed the rpm but my a file shows under
/usr/lib64. difference in architecture a problem? 

i am running centos 6.6 64-bit. 

- Fabe 

On 2015-07-08 19:20, Eric Broch wrote: 

 Do you have this...
 
 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
  [1]
 
 installed?
 
 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 No dice: 
 
 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o 
 password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail 
 -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]# 
 
 what do you mean by 
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install? 
 
 - Fabe 
 
 On 2015-07-08 17:32, Eric Broch wrote: 
 Fabe,
 
 I just compiled vqregister (make all), with no install or clean, on 
 CentOS6/QMT with the following settings ( minus the '-lz' at the end of the 
 LIBS line, which you had***):
 
 begin Makefile
 
 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o 
 \
 vpopmail.o db.o field.o badhosts.o
 
 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw
 
 end Makefile
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install?
 
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
 My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 

Links:
--
[1]
http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
Is libvpopmail.a in /usr/lib64/libvpopmail ?
If so change -L$(VDIR)/lib to -L/usr/lib64/libvpopmail

On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote:

  

  

 Tried that. no luck.

 same error. 

  

 On 2015-07-08 19:51, Eric Broch wrote:

 I'm running the same architecture. Can you change the LIBS option
 -L$(VDIR)/lib to -L/usr/lib64/?


 On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 still doesn't work. i installed the rpm but my a file shows under
 /usr/lib64. difference in architecture a problem?

 i am running centos 6.6 64-bit.

 - Fabe

  

 On 2015-07-08 19:20, Eric Broch wrote:

 Do you have this...

 
 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

 installed?

 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 No dice:

 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o
 config.o register.o password.o vpopmail.o db.o field.o
 badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt
 -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]#

  

 what do you mean by

 Why do you want a create vqregister with a partial install
 of vpopmail and not the full install?

  

 - Fabe

  

 On 2015-07-08 17:32, Eric Broch wrote:

 Fabe,

 I just compiled vqregister (make all), with no install
 or clean, on CentOS6/QMT with the following settings (
 minus the '-lz' at the end of the LIBS line, which you
 had***):

 begin Makefile

 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt
 -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o
 register.o password.o \
vpopmail.o db.o field.o badhosts.o

 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw

 end Makefile

 Why do you want a create vqregister with a partial
 install of vpopmail and not the full install?

 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt 
 -L/usr/lib64/mysql -lmysqlclient -lz
   My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt 
 -L/usr/lib64/mysql -lmysqlclient

 Eric


 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote:

 I should add that the reason I ask is I'm trying to
 make us of vqregister and at compile time I get this
 error:

 /usr/bin/ld: cannot find -lvpopmail

 I installed my QMT using the latest github scripted
 method.

 Will vqregister simply not work for me or is there a
 way to tweak my Makefile to make it work?

 Makefile attached. Thanks.

 - Fabe


 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote:

 Hello,

 Is there a way for me to take the vpopmail srpm
 file and run a
 modified compilation / install sequence that
 will simply place the
 vpopmail include and lib files in the correct
 locations for me but do
 nothing else? or a manual way to do this correctly?

 - Fabe


 
 -

 To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com



 
 -
 To unsubscribe, e-mail: 
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: 
 qmailtoaster-list-h...@qmailtoaster.com

  




Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
Fabe,

What is even stranger is that your install seems correct and mine seems
incorrect according to the output of the following two rpm listings...

# rpm -q --list libvpopmail-devel
# rpm -q --list vpopmail

Now I have no idea why /home/vpopmail/lib  exists on my two toasters.
According to the output (from the above commands) it was put their by
neither rpm, vpopmail nor libvpopmail-devel .

EricB



On 7/8/2015 6:21 PM, fsanti...@deviltracks.net wrote:

  

  

 I agree. i followed the instructions for a COS 6.x install with the
 github scripted installation. so i have no clue.. strange. 

 - Fabe

  

 On 2015-07-08 20:17, Eric Broch wrote:

 Your install seems strange to me at this point as both my CentOS 5
 and 6 (x86_64) installs have /home/vpopmail/lib/libvpopmail.a on the
 disk.

 On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote:

  

  

 Tried that. no luck.

 same error. 

  

 On 2015-07-08 19:51, Eric Broch wrote:

 I'm running the same architecture. Can you change the LIBS
 option -L$(VDIR)/lib to -L/usr/lib64/?


 On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 still doesn't work. i installed the rpm but my a file shows
 under /usr/lib64. difference in architecture a problem?

 i am running centos 6.6 64-bit.

 - Fabe

  

 On 2015-07-08 19:20, Eric Broch wrote:

 Do you have this...

 
 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

 installed?

 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 No dice:

 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o
 misc.o config.o register.o password.o vpopmail.o
 db.o field.o badhosts.o -L/home/vpopmail/lib
 -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]#

  

 what do you mean by

 Why do you want a create vqregister with a partial
 install of vpopmail and not the full install?

  

 - Fabe

  

 On 2015-07-08 17:32, Eric Broch wrote:

 Fabe,

 I just compiled vqregister (make all), with no
 install or clean, on CentOS6/QMT with the
 following settings ( minus the '-lz' at the end
 of the LIBS line, which you had***):

 begin Makefile

 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt
 -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o
 config.o register.o password.o \
vpopmail.o db.o field.o badhosts.o

 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw

 end Makefile

 Why do you want a create vqregister with a
 partial install of vpopmail and not the full
 install?

 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt 
 -L/usr/lib64/mysql -lmysqlclient -lz
   My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt 
 -L/usr/lib64/mysql -lmysqlclient

 Eric


 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net
 wrote:

 I should add that the reason I ask is I'm
 trying to make us of vqregister and at
 compile time I get this error:

 /usr/bin/ld: cannot find -lvpopmail

 I installed my QMT using the latest github
 scripted method.

 Will vqregister simply not work for me or is
 there a way to tweak my Makefile to make it
 work?

 Makefile attached. Thanks.

 - Fabe


 On 2015-07-06 11:09,
 fsanti...@deviltracks.net wrote:

 Hello,

 Is 

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote:
 Is there a way for me to take the vpopmail srpm file and run a
 modified compilation / install sequence that will simply place the
 vpopmail include and lib files in the correct locations for me but do
 nothing else? or a manual way to do this correctly?
From the above email^^

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
Your install seems strange to me at this point as both my CentOS 5 and 6
(x86_64) installs have /home/vpopmail/lib/libvpopmail.a on the disk.

On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote:

  

  

 Tried that. no luck.

 same error. 

  

 On 2015-07-08 19:51, Eric Broch wrote:

 I'm running the same architecture. Can you change the LIBS option
 -L$(VDIR)/lib to -L/usr/lib64/?


 On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 still doesn't work. i installed the rpm but my a file shows under
 /usr/lib64. difference in architecture a problem?

 i am running centos 6.6 64-bit.

 - Fabe

  

 On 2015-07-08 19:20, Eric Broch wrote:

 Do you have this...

 
 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

 installed?

 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 No dice:

 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o
 config.o register.o password.o vpopmail.o db.o field.o
 badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt
 -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]#

  

 what do you mean by

 Why do you want a create vqregister with a partial install
 of vpopmail and not the full install?

  

 - Fabe

  

 On 2015-07-08 17:32, Eric Broch wrote:

 Fabe,

 I just compiled vqregister (make all), with no install
 or clean, on CentOS6/QMT with the following settings (
 minus the '-lz' at the end of the LIBS line, which you
 had***):

 begin Makefile

 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt
 -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o
 register.o password.o \
vpopmail.o db.o field.o badhosts.o

 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw

 end Makefile

 Why do you want a create vqregister with a partial
 install of vpopmail and not the full install?

 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt 
 -L/usr/lib64/mysql -lmysqlclient -lz
   My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt 
 -L/usr/lib64/mysql -lmysqlclient

 Eric


 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote:

 I should add that the reason I ask is I'm trying to
 make us of vqregister and at compile time I get this
 error:

 /usr/bin/ld: cannot find -lvpopmail

 I installed my QMT using the latest github scripted
 method.

 Will vqregister simply not work for me or is there a
 way to tweak my Makefile to make it work?

 Makefile attached. Thanks.

 - Fabe


 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote:

 Hello,

 Is there a way for me to take the vpopmail srpm
 file and run a
 modified compilation / install sequence that
 will simply place the
 vpopmail include and lib files in the correct
 locations for me but do
 nothing else? or a manual way to do this correctly?

 - Fabe


 
 -

 To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com



 
 -
 To unsubscribe, e-mail: 
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: 
 qmailtoaster-list-h...@qmailtoaster.com

  




Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
 

that did it. thanks for the help and lessons learned. 

- Fabe 

now to try it out. 

On 2015-07-08 20:13, Eric Broch wrote: 

 Is libvpopmail.a in /usr/lib64/libvpopmail ? 
 If so change -L$(VDIR)/lib to -L/usr/lib64/libvpopmail
 
 On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: 
 
 Tried that. no luck. 
 
 same error. 
 
 On 2015-07-08 19:51, Eric Broch wrote: 
 I'm running the same architecture. Can you change the LIBS option 
 -L$(VDIR)/lib to -L/usr/lib64/?
 
 On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 still doesn't work. i installed the rpm but my a file shows under /usr/lib64. 
 difference in architecture a problem? 
 
 i am running centos 6.6 64-bit. 
 
 - Fabe 
 
 On 2015-07-08 19:20, Eric Broch wrote: 
 Do you have this...
 
 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
  [1]
 
 installed?
 
 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 No dice: 
 
 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o 
 password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail 
 -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]# 
 
 what do you mean by 
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install? 
 
 - Fabe 
 
 On 2015-07-08 17:32, Eric Broch wrote: 
 Fabe,
 
 I just compiled vqregister (make all), with no install or clean, on 
 CentOS6/QMT with the following settings ( minus the '-lz' at the end of the 
 LIBS line, which you had***):
 
 begin Makefile
 
 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o 
 \
 vpopmail.o db.o field.o badhosts.o
 
 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw
 
 end Makefile
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install?
 
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
 My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 

Links:
--
[1]
http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
 

Eric, 

No dice: 

[root@mail vqregister-2.5]# make all
gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o
register.o password.o vpopmail.o db.o field.o badhosts.o
-L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
/usr/bin/ld: cannot find -lvpopmail
collect2: ld returned 1 exit status
make: *** [vqregister] Error 1
[root@mail vqregister-2.5]# 

what do you mean by 

Why do you want a create vqregister with a partial install of vpopmail
and not the full install? 

- Fabe 

On 2015-07-08 17:32, Eric Broch wrote: 

 Fabe,
 
 I just compiled vqregister (make all), with no install or clean, on 
 CentOS6/QMT with the following settings ( minus the '-lz' at the end of the 
 LIBS line, which you had***):
 
 begin Makefile
 
 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o 
 \
 vpopmail.o db.o field.o badhosts.o
 
 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw
 
 end Makefile
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install?
 
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
 My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
If I do a find of the vpopmail files, find / -name *vpopmail* I get...

/usr/bin/qt-mysql-secure-vpopmail
/usr/lib64/libvpopmail
/usr/lib64/libvpopmail/libvpopmail.a
/usr/include/libvpopmail
/usr/include/libvpopmail/vpopmail.h
/usr/include/libvpopmail/vpopmail_config.h
/etc/dovecot/conf.d/auth-vpopmail.conf.ext
/etc/libvpopmail
/var/lib/mysql/vpopmail
/opt/qmailtoaster-util/bin/qt-mysql-secure-vpopmail
/home/vpopmail
/home/vpopmail/include/vpopmail.h
/home/vpopmail/include/vpopmail_config.h
/home/vpopmail/etc/vpopmail.mysql.dist
/home/vpopmail/etc/vpopmail.mysql
_*/home/vpopmail/lib/libvpopmail.a*_
/home/vpopmail/doc/doc_html/vpopmail5.abw
/home/vpopmail/doc/doc_html/vpopmailapi.png
/home/vpopmail/doc/doc_html/vpopmail.html
/home/vpopmail/bin/vpopmaild

do you get the same thing?

It should link against _*/home/vpopmail/lib/libvpopmail.a*_

EricB.

On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 No dice:

 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o
 register.o password.o vpopmail.o db.o field.o badhosts.o
 -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]#

  

 what do you mean by

 Why do you want a create vqregister with a partial install of
 vpopmail and not the full install?

  

 - Fabe

  

 On 2015-07-08 17:32, Eric Broch wrote:

 Fabe,

 I just compiled vqregister (make all), with no install or clean, on
 CentOS6/QMT with the following settings ( minus the '-lz' at the end
 of the LIBS line, which you had***):

 begin Makefile

 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o
 password.o \
vpopmail.o db.o field.o badhosts.o

 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw

 end Makefile

 Why do you want a create vqregister with a partial install of
 vpopmail and not the full install?
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
   My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 Eric


 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote:
 I should add that the reason I ask is I'm trying to make us of
 vqregister and at compile time I get this error:

 /usr/bin/ld: cannot find -lvpopmail

 I installed my QMT using the latest github scripted method.

 Will vqregister simply not work for me or is there a way to tweak my
 Makefile to make it work?

 Makefile attached. Thanks.

 - Fabe


 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote:
 Hello,

 Is there a way for me to take the vpopmail srpm file and run a
 modified compilation / install sequence that will simply place the
 vpopmail include and lib files in the correct locations for me but do
 nothing else? or a manual way to do this correctly?

 - Fabe


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

  




Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
 

I agree. i followed the instructions for a COS 6.x install with the
github scripted installation. so i have no clue.. strange. 

- Fabe 

On 2015-07-08 20:17, Eric Broch wrote: 

 Your install seems strange to me at this point as both my CentOS 5 and 6 
 (x86_64) installs have /home/vpopmail/lib/libvpopmail.a on the disk.
 
 On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: 
 
 Tried that. no luck. 
 
 same error. 
 
 On 2015-07-08 19:51, Eric Broch wrote: 
 I'm running the same architecture. Can you change the LIBS option 
 -L$(VDIR)/lib to -L/usr/lib64/?
 
 On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 still doesn't work. i installed the rpm but my a file shows under /usr/lib64. 
 difference in architecture a problem? 
 
 i am running centos 6.6 64-bit. 
 
 - Fabe 
 
 On 2015-07-08 19:20, Eric Broch wrote: 
 Do you have this...
 
 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
  [1]
 
 installed?
 
 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 No dice: 
 
 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o 
 password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail 
 -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]# 
 
 what do you mean by 
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install? 
 
 - Fabe 
 
 On 2015-07-08 17:32, Eric Broch wrote: 
 Fabe,
 
 I just compiled vqregister (make all), with no install or clean, on 
 CentOS6/QMT with the following settings ( minus the '-lz' at the end of the 
 LIBS line, which you had***):
 
 begin Makefile
 
 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o 
 \
 vpopmail.o db.o field.o badhosts.o
 
 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw
 
 end Makefile
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install?
 
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
 My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 

Links:
--
[1]
http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
 

Tried that. no luck. 

same error. 

On 2015-07-08 19:51, Eric Broch wrote: 

 I'm running the same architecture. Can you change the LIBS option 
 -L$(VDIR)/lib to -L/usr/lib64/?
 
 On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 still doesn't work. i installed the rpm but my a file shows under /usr/lib64. 
 difference in architecture a problem? 
 
 i am running centos 6.6 64-bit. 
 
 - Fabe 
 
 On 2015-07-08 19:20, Eric Broch wrote: 
 Do you have this...
 
 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
  [1]
 
 installed?
 
 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 No dice: 
 
 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o 
 password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail 
 -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]# 
 
 what do you mean by 
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install? 
 
 - Fabe 
 
 On 2015-07-08 17:32, Eric Broch wrote: 
 Fabe,
 
 I just compiled vqregister (make all), with no install or clean, on 
 CentOS6/QMT with the following settings ( minus the '-lz' at the end of the 
 LIBS line, which you had***):
 
 begin Makefile
 
 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o 
 \
 vpopmail.o db.o field.o badhosts.o
 
 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw
 
 end Makefile
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install?
 
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
 My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 

Links:
--
[1]
http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
Oh, i just meant that i thought maybe since it wouldn't compile, that i 
was missing some files on my server that would be present had i 
compiled/installed vpopmail from source rather than using the github rpm 
package of it.


could that be the case?

- Fabe

PS when you say why not the full install, is there a better way to do it 
rather than using the github QMT rpm's?


On 2015-07-08 18:54, Eric Broch wrote:

On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote:

Is there a way for me to take the vpopmail srpm file and run a
modified compilation / install sequence that will simply place the
vpopmail include and lib files in the correct locations for me but do
nothing else? or a manual way to do this correctly?

From the above email^^

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: 
qmailtoaster-list-h...@qmailtoaster.com


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
 

eric, 

no i don't. i bet that's the missing link here isn't it? let me
try.. 

On 2015-07-08 19:20, Eric Broch wrote: 

 Do you have this...
 
 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
  [1]
 
 installed?
 
 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: 
 
 Eric, 
 
 No dice: 
 
 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o 
 password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail 
 -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]# 
 
 what do you mean by 
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install? 
 
 - Fabe 
 
 On 2015-07-08 17:32, Eric Broch wrote: 
 Fabe,
 
 I just compiled vqregister (make all), with no install or clean, on 
 CentOS6/QMT with the following settings ( minus the '-lz' at the end of the 
 LIBS line, which you had***):
 
 begin Makefile
 
 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o 
 \
 vpopmail.o db.o field.o badhosts.o
 
 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw
 
 end Makefile
 
 Why do you want a create vqregister with a partial install of vpopmail and 
 not the full install?
 
 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient -lz
 My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql 
 -lmysqlclient
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

 

Links:
--
[1]
http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
I'm running the same architecture. Can you change the LIBS option
-L$(VDIR)/lib to -L/usr/lib64/?


On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 still doesn't work. i installed the rpm but my a file shows under
 /usr/lib64. difference in architecture a problem?

 i am running centos 6.6 64-bit.

 - Fabe

  

 On 2015-07-08 19:20, Eric Broch wrote:

 Do you have this...

 http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

 installed?

 On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote:

  

  

 Eric,

 No dice:

 [root@mail vqregister-2.5]# make all
 gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o
 register.o password.o vpopmail.o db.o field.o badhosts.o
 -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient
 /usr/bin/ld: cannot find -lvpopmail
 collect2: ld returned 1 exit status
 make: *** [vqregister] Error 1
 [root@mail vqregister-2.5]#

  

 what do you mean by

 Why do you want a create vqregister with a partial install of
 vpopmail and not the full install?

  

 - Fabe

  

 On 2015-07-08 17:32, Eric Broch wrote:

 Fabe,

 I just compiled vqregister (make all), with no install or clean,
 on CentOS6/QMT with the following settings ( minus the '-lz' at
 the end of the LIBS line, which you had***):

 begin Makefile

 VDIR = /home/vpopmail
 CC = gcc
 BIN = vqregister
 DEFS = -I$(VDIR)/include -I/usr/include/mysql
 LINKDEFS =
 LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql
 -lmysqlclient
 OBJS = main.o cgi.o template.o global.o misc.o config.o
 register.o password.o \
vpopmail.o db.o field.o badhosts.o

 INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister
 INSTALL_BIN = vqregister.cgi
 INSTALL_UID = vpopmail
 INSTALL_GID = vchkpw

 end Makefile

 Why do you want a create vqregister with a partial install of
 vpopmail and not the full install?

 ***
 Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt 
 -L/usr/lib64/mysql -lmysqlclient -lz
   My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt 
 -L/usr/lib64/mysql -lmysqlclient

 Eric


 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote:

 I should add that the reason I ask is I'm trying to make us
 of vqregister and at compile time I get this error:

 /usr/bin/ld: cannot find -lvpopmail

 I installed my QMT using the latest github scripted method.

 Will vqregister simply not work for me or is there a way to
 tweak my Makefile to make it work?

 Makefile attached. Thanks.

 - Fabe


 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote:

 Hello,

 Is there a way for me to take the vpopmail srpm file and
 run a
 modified compilation / install sequence that will simply
 place the
 vpopmail include and lib files in the correct locations
 for me but do
 nothing else? or a manual way to do this correctly?

 - Fabe


 
 -

 To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com



 
 -
 To unsubscribe, e-mail: 
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: 
 qmailtoaster-list-h...@qmailtoaster.com

  




Re: [qmailtoaster] Vpopmail include / lib files

2015-07-07 Thread Eric Broch
Fabe,

Where did you get the vqregister tar ball?

Eric

On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote:
 I should add that the reason I ask is I'm trying to make us of
 vqregister and at compile time I get this error:

 /usr/bin/ld: cannot find -lvpopmail

 I installed my QMT using the latest github scripted method.

 Will vqregister simply not work for me or is there a way to tweak my
 Makefile to make it work?

 Makefile attached. Thanks.

 - Fabe


 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote:
 Hello,

 Is there a way for me to take the vpopmail srpm file and run a
 modified compilation / install sequence that will simply place the
 vpopmail include and lib files in the correct locations for me but do
 nothing else? or a manual way to do this correctly?

 - Fabe


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Vpopmail include / lib files

2015-07-07 Thread fsantiago
 

Eric, 

from within this qmailrocks archive: 

WGET HTTP://QMR.MADKOM.PL/DOWNLOADS/QMAILROCKS.TAR.GZ 

- FABE 

On 2015-07-07 08:30, Eric Broch wrote: 

 Fabe,
 
 Where did you get the vqregister tar ball?
 
 Eric
 
 On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the 
 reason I ask is I'm trying to make us of vqregister and at compile time I get 
 this error: 
 
 /usr/bin/ld: cannot find -lvpopmail 
 
 I installed my QMT using the latest github scripted method. 
 
 Will vqregister simply not work for me or is there a way to tweak my Makefile 
 to make it work? 
 
 Makefile attached. Thanks. 
 
 - Fabe 
 
 On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: 
 Hello, 
 
 Is there a way for me to take the vpopmail srpm file and run a 
 modified compilation / install sequence that will simply place the 
 vpopmail include and lib files in the correct locations for me but do 
 nothing else? or a manual way to do this correctly? 
 
 - Fabe 
 
 - 
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
 
 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
 

[qmailtoaster] Vpopmail include / lib files

2015-07-06 Thread fsantiago

Hello,

Is there a way for me to take the vpopmail srpm file and run a modified 
compilation / install sequence that will simply place the vpopmail 
include and lib files in the correct locations for me but do nothing 
else? or a manual way to do this correctly?


- Fabe


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Vpopmail include / lib files

2015-07-06 Thread fsantiago
I should add that the reason I ask is I'm trying to make us of 
vqregister and at compile time I get this error:


/usr/bin/ld: cannot find -lvpopmail

I installed my QMT using the latest github scripted method.

Will vqregister simply not work for me or is there a way to tweak my 
Makefile to make it work?


Makefile attached. Thanks.

- Fabe


On 2015-07-06 11:09, fsanti...@deviltracks.net wrote:

Hello,

Is there a way for me to take the vpopmail srpm file and run a
modified compilation / install sequence that will simply place the
vpopmail include and lib files in the correct locations for me but do
nothing else? or a manual way to do this correctly?

- Fabe


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: 
qmailtoaster-list-h...@qmailtoaster.com#
# v...@inter7.com
#

VDIR = /home/vpopmail
CC = gcc
BIN = vqregister
DEFS = -I$(VDIR)/include -I/usr/include/mysql
LINKDEFS =
LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz
OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \
   vpopmail.o db.o field.o badhosts.o

INSTALL_DIR = /var/www/cgi-bin/vqregister
INSTALL_BIN = vqregister.cgi
INSTALL_UID = vpopmail
INSTALL_GID = vchkpw

all: $(BIN)

$(BIN): $(OBJS)
	$(CC) $(LINKDEFS) -o $(BIN) $(OBJS) $(LIBS)

main.o: main.c global.h
	$(CC) $(DEFS) -o main.o -c main.c
cgi.o: cgi.c global.h
	$(CC) $(DEFS) -o cgi.o -c cgi.c
template.o: template.c global.h
	$(CC) $(DEFS) -o template.o -c template.c
global.o: global.c global.h
	$(CC) $(DEFS) -o global.o -c global.c
misc.o: misc.c global.h
	$(CC) $(DEFS) -o misc.o -c misc.c
config.o: config.c global.h field.h
	$(CC) $(DEFS) -o config.o -c config.c
register.o: register.c global.h
	$(CC) $(DEFS) -o register.o -c register.c
password.o: password.c global.h
	$(CC) $(DEFS) -o password.o -c password.c
vpopmail.o: vpopmail.c global.h
	$(CC) $(DEFS) -o vpopmail.o -c vpopmail.c
db.o: db.c global.h db.h
	$(CC) $(DEFS) -o db.o -c db.c
field.o: field.c global.h field.h db_misc.h
	$(CC) $(DEFS) -o field.o -c field.c
badhosts.o: badhosts.c global.h
	$(CC) $(DEFS) -o badhosts.o -c badhosts.c

install: $(BIN)
	@echo Installing...
	mkdir -p $(INSTALL_DIR)
	mkdir -p $(INSTALL_DIR)/html
	cp $(BIN) $(INSTALL_DIR)/$(INSTALL_BIN)
	cp html/* $(INSTALL_DIR)/html
	cp vqregister.email $(INSTALL_DIR)
	cp vqregister.conf $(INSTALL_DIR)
	chown -R $(INSTALL_UID) $(INSTALL_DIR)
	chgrp -R $(INSTALL_GID) $(INSTALL_DIR)
	chmod u+s $(INSTALL_DIR)/$(INSTALL_BIN)

clean:
	@echo -n Cleaning up...
	@rm -rf *.core core $(BIN) *.o db.c db.h
	@ln -s db_null.c db.c   
	@ln -s db_null.h db.h
	@echo done.
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

[qmailtoaster] vpopmail-toaster onchange

2013-10-18 Thread Sérgio Rosa
Hello all,

the --enable-onchange-script is nos available whem compiling vpopmail.

Is there a way to do it?

Thank you,
Sergio Rosa


Re: [qmailtoaster] qmailtoaster+vpopmail migrate postfix+mysql

2013-09-26 Thread Hasan Akgöz
Hi Bharath ;

database scheme is as follows.

mysql desc domain.com.tr;
+---+---+--+-+-+---+
| Field | Type  | Null | Key | Default | Extra |
+---+---+--+-+-+---+
| pw_name   | char(32)  | NO   | PRI | |   |
| pw_passwd | char(40)  | YES  | | NULL|   |
| pw_uid| int(11)   | YES  | | NULL|   |
| pw_gid| int(11)   | YES  | | NULL|   |
| pw_gecos  | char(48)  | YES  | | NULL|   |
| pw_dir| char(160) | YES  | | NULL|   |
| pw_shell  | char(20)  | YES  | | NULL|   |
+---+---+--+-+-+---+

mysql show tables;
++
| Tables_in_vpopmail |
++
| dir_control|
| domain.com.tr  |
| lastauth   |
| valias |
| vlog   |
++



2013/9/26 Bharath Chari qmailtoas...@arachnis.com

  Please give us the database table schema for your postfix installation
 as well as your qmailtoaster installation. It can be done by a simple SQL
 query.

 Bharath


 On Thursday 26 September 2013 02:21 AM, Hasan Akgöz wrote:

 Hi Bharath;

  you're right. I used format for the encrypted password is crypt with a
 salt. I get the value of a table ( pw_passwd ) in mysql with php code as
 follows. In postfix how to use it. ?

  ?php
 echo crypt( '12345' , '$1$QkFJ6cbB$') ;
 ?


 2013/9/25 Bharath Chari qmailtoas...@arachnis.com

  On Wednesday 25 September 2013 09:07 PM, Peter Peltonen wrote:


 Hi,

 On Wed, Sep 25, 2013 at 6:20 PM, Hasan Akgöz hasanak...@mail.ru wrote:

 Hi Peter;

  when I run the application vuserinfo, clear passwd line is empty.
 Qmailtoaster I did not do the installation. maybe the person who previously
 may have been modified. misunderstood not clear text passwords. clear
 text of the password.

  name:   hasan
 passwd: $1$HYuFXpYx$dYWO5IuUBzABRo.NMjR1z/
 clear passwd:



  Are you going to be using postfix with mysql for virtual domains and
 users. If that is the case, there is no issue. The format for the encrypted
 password is crypt with a salt, which is the same that is expected for the
 postfix/dovecot system.

 Can you describe your schema a little more in detail?

 Bharath


   That is indeed strange. Perhaps the other admin modified the toaster
 installation as you suggested or even removed the clear text password after
 creating the account (I am not sure if the toaster would be functional or
 not after this)?

The toaster will be fully functional if one is not using PLAIN. I've
 done that before.

   You could test this by creating a new account and then checking again
 with vuserinfo if the clear password is empty?

  Anyway, I don't think you have now anyway to access the clear text
 passwords as they have been somehow removed...

  Regards,
 Peter







[qmailtoaster] Re: qmailtoaster+vpopmail migrate postfix+mysql

2013-09-26 Thread Eric Shubert

On 09/25/2013 01:25 PM, Hasan Akgöz wrote:

the purpose of migrate postfix ,Radius-based and LDAP authentication to
use. I do not want to patch Qmail. I search on the list, but did not
notice. Do you have a link to propose?


I don't expect that QMT will ever support radius-based authentication. 
I'm hoping to get vpopmail-5.5 with an ldap (vs mysql) backend available 
at some point, but that won't be happening any time soon. Feels like 
about a year from now at this point.


Thanks.

--
-Eric 'shubes'


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qmailtoaster+vpopmail migrate postfix+mysql

2013-09-26 Thread Bharath Chari
Are you sure this is your postfix database schema.?  This looks like our good 
old qmt schema. 
Bharath 
PS : Sorry for the top posting-using a mobile device

Hasan Akgöz hasanak...@mail.ru wrote:

Hi Bharath ;

database scheme is as follows.

mysql desc domain.com.tr;
+---+---+--+-+-+---+
| Field | Type  | Null | Key | Default | Extra |
+---+---+--+-+-+---+
| pw_name   | char(32)  | NO   | PRI | |   |
| pw_passwd | char(40)  | YES  | | NULL|   |
| pw_uid| int(11)   | YES  | | NULL|   |
| pw_gid| int(11)   | YES  | | NULL|   |
| pw_gecos  | char(48)  | YES  | | NULL|   |
| pw_dir| char(160) | YES  | | NULL|   |
| pw_shell  | char(20)  | YES  | | NULL|   |
+---+---+--+-+-+---+

mysql show tables;
++
| Tables_in_vpopmail |
++
| dir_control|
| domain.com.tr  |
| lastauth   |
| valias |
| vlog   |
++



2013/9/26 Bharath Chari qmailtoas...@arachnis.com

  Please give us the database table schema for your postfix
installation
 as well as your qmailtoaster installation. It can be done by a simple
SQL
 query.

 Bharath


 On Thursday 26 September 2013 02:21 AM, Hasan Akgöz wrote:

 Hi Bharath;

  you're right. I used format for the encrypted password is crypt with
a
 salt. I get the value of a table ( pw_passwd ) in mysql with php code
as
 follows. In postfix how to use it. ?

  ?php
 echo crypt( '12345' , '$1$QkFJ6cbB$') ;
 ?


 2013/9/25 Bharath Chari qmailtoas...@arachnis.com

  On Wednesday 25 September 2013 09:07 PM, Peter Peltonen wrote:


 Hi,

 On Wed, Sep 25, 2013 at 6:20 PM, Hasan Akgöz hasanak...@mail.ru
wrote:

 Hi Peter;

  when I run the application vuserinfo, clear passwd line is empty.
 Qmailtoaster I did not do the installation. maybe the person who
previously
 may have been modified. misunderstood not clear text passwords.
clear
 text of the password.

  name:   hasan
 passwd: $1$HYuFXpYx$dYWO5IuUBzABRo.NMjR1z/
 clear passwd:



  Are you going to be using postfix with mysql for virtual domains
and
 users. If that is the case, there is no issue. The format for the
encrypted
 password is crypt with a salt, which is the same that is expected
for the
 postfix/dovecot system.

 Can you describe your schema a little more in detail?

 Bharath


   That is indeed strange. Perhaps the other admin modified the
toaster
 installation as you suggested or even removed the clear text
password after
 creating the account (I am not sure if the toaster would be
functional or
 not after this)?

The toaster will be fully functional if one is not using PLAIN.
I've
 done that before.

   You could test this by creating a new account and then checking
again
 with vuserinfo if the clear password is empty?

  Anyway, I don't think you have now anyway to access the clear text
 passwords as they have been somehow removed...

  Regards,
 Peter







Re: [qmailtoaster] qmailtoaster+vpopmail migrate postfix+mysql

2013-09-26 Thread Hasan Akgöz
Hi Bharath ;

sory QMT is a scheme currently used. Postfix database scheme is as follows.

CREATE TABLE mailbox (
  username varchar(255) NOT NULL default '',
  password varchar(255) NOT NULL default '',
  name varchar(255) NOT NULL default '',
  maildir varchar(255) NOT NULL default '',
  quota int(10) NOT NULL default '0',
  domain varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (username),
  KEY username (username)
) COMMENT='Postfix Admin - Virtual Mailboxes'



2013/9/26 Bharath Chari qmailtoas...@arachnis.com

 Are you sure this is your postfix database schema.? This looks like our
 good old qmt schema.
 Bharath
 PS : Sorry for the top posting-using a mobile device


 Hasan Akgöz hasanak...@mail.ru wrote:

 Hi Bharath ;

 database scheme is as follows.

 mysql desc domain.com.tr;
 +---+---+--+-+-+---+
 | Field | Type  | Null | Key | Default | Extra |
 +---+---+--+-+-+---+
 | pw_name   | char(32)  | NO   | PRI | |   |
 | pw_passwd | char(40)  | YES  | | NULL|   |
 | pw_uid| int(11)   | YES  | | NULL|   |
 | pw_gid| int(11)   | YES  | | NULL|   |
 | pw_gecos  | char(48)  | YES  | | NULL|   |
 | pw_dir| char(160) | YES  | | NULL|   |
 | pw_shell  | char(20)  | YES  | | NULL|   |
 +---+---+--+-+-+---+

 mysql show tables;
 ++
 | Tables_in_vpopmail |
 ++
 | dir_control|
 | domain.com.tr  |
 | lastauth   |
 | valias |
 | vlog   |
 ++



 2013/9/26 Bharath Chari qmailtoas...@arachnis.com

  Please give us the database table schema for your postfix installation
 as well as your qmailtoaster installation. It can be done by a simple SQL
 query.

 Bharath


 On Thursday 26 September 2013 02:21 AM, Hasan Akgöz wrote:

 Hi Bharath;

  you're right. I used format for the encrypted password is crypt with a
 salt. I get the value of a table ( pw_passwd ) in mysql with php code
 as follows. In postfix how to use it. ?

  ?php
 echo crypt( '12345' , '$1$QkFJ6cbB$') ;
 ?


 2013/9/25 Bharath Chari qmailtoas...@arachnis.com

  On Wednesday 25 September 2013 09:07 PM, Peter Peltonen wrote:


 Hi,

 On Wed, Sep 25, 2013 at 6:20 PM, Hasan Akgöz hasanak...@mail.ruwrote:

 Hi Peter;

  when I run the application vuserinfo, clear passwd line is empty.
 Qmailtoaster I did not do the installation. maybe the person who 
 previously
 may have been modified. misunderstood not clear text passwords. clear
 text of the password.

  name:   hasan
 passwd: $1$HYuFXpYx$dYWO5IuUBzABRo.NMjR1z/
 clear passwd:



  Are you going to be using postfix with mysql for virtual domains and
 users. If that is the case, there is no issue. The format for the encrypted
 password is crypt with a salt, which is the same that is expected for the
 postfix/dovecot system.

 Can you describe your schema a little more in detail?

 Bharath


   That is indeed strange. Perhaps the other admin modified the toaster
 installation as you suggested or even removed the clear text password after
 creating the account (I am not sure if the toaster would be functional or
 not after this)?

The toaster will be fully functional if one is not using PLAIN.
 I've done that before.

   You could test this by creating a new account and then checking
 again with vuserinfo if the clear password is empty?

  Anyway, I don't think you have now anyway to access the clear text
 passwords as they have been somehow removed...

  Regards,
 Peter








Re: [qmailtoaster] qmailtoaster+vpopmail migrate postfix+mysql

2013-09-25 Thread Peter Peltonen
Hi,

On Tue, Sep 24, 2013 at 10:19 PM, Hasan Akgöz hasanak...@mail.ru wrote:

 Hi All;

 I have qmailtoaster mail server. I want to migrate Postfix and Dovecot
 from a QmailToaster/Vpopmail user passwords is encrypt passwords, but I
 do not have clear text password. What is your suggestion to move passwords?


What do you mean that you do not have clear text passwords -- are you sure
about that? Qmailtoaster saves by default both clear text and encrypted
versions of the password.

Try checking a user's info with the /home/vpopmail/bin/vuserinfo  command
line utility, you should receive info about the clear text password among
other things.

Regards,
Peter


Re: [qmailtoaster] qmailtoaster+vpopmail migrate postfix+mysql

2013-09-25 Thread Peter Peltonen
Hi,

On Wed, Sep 25, 2013 at 6:20 PM, Hasan Akgöz hasanak...@mail.ru wrote:

 Hi Peter;

 when I run the application vuserinfo, clear passwd line is empty.
 Qmailtoaster I did not do the installation. maybe the person who previously
 may have been modified. misunderstood not clear text passwords. clear
 text of the password.

 name:   hasan
 passwd: $1$HYuFXpYx$dYWO5IuUBzABRo.NMjR1z/
 clear passwd:


That is indeed strange. Perhaps the other admin modified the toaster
installation as you suggested or even removed the clear text password after
creating the account (I am not sure if the toaster would be functional or
not after this)?

You could test this by creating a new account and then checking again with
vuserinfo if the clear password is empty?

Anyway, I don't think you have now anyway to access the clear text
passwords as they have been somehow removed...

Regards,
Peter


[qmailtoaster] Re: qmailtoaster+vpopmail migrate postfix+mysql

2013-09-25 Thread Eric Shubert

Are you sure this is a QMT host?
# rpm -qa | grep toaster | sort

It's possible that your vpopmail-toaster was built without clear text 
passwords. If that's the case, you might be able to bring the encoded 
passwords across provided that the encoding mechanism on postfix is the 
same. IIRC there was some discussion about doing this on this list 
within the last several months.


Just out of curiosity, what factors contributed from you moving from QMT 
to postfix?


Thanks.

--
-Eric 'shubes'

On 09/25/2013 08:20 AM, Hasan Akgöz wrote:

Hi Peter;

when I run the application vuserinfo, clear passwd line is empty.
Qmailtoaster I did not do the installation. maybe the person who
previously may have been modified. misunderstood not clear text
passwords. clear text of the password.

name:   hasan
passwd: $1$HYuFXpYx$dYWO5IuUBzABRo.NMjR1z/
clear passwd:



2013/9/25 Peter Peltonen peter.pelto...@gmail.com
mailto:peter.pelto...@gmail.com


Hi,

On Tue, Sep 24, 2013 at 10:19 PM, Hasan Akgöz hasanak...@mail.ru
mailto:hasanak...@mail.ru wrote:

Hi All;

I have qmailtoaster mail server. I want to migrate Postfix and
Dovecot from a QmailToaster/Vpopmail user passwords is encrypt
passwords, but I do not have clear text password. What is your
suggestion to move passwords?


What do you mean that you do not have clear text passwords -- are
you sure about that? Qmailtoaster saves by default both clear text
and encrypted versions of the password.

Try checking a user's info with the /home/vpopmail/bin/vuserinfo
  command line utility, you should receive info about the clear text
password among other things.

Regards,
Peter







-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qmailtoaster+vpopmail migrate postfix+mysql

2013-09-25 Thread Bharath Chari

On Wednesday 25 September 2013 09:07 PM, Peter Peltonen wrote:


Hi,

On Wed, Sep 25, 2013 at 6:20 PM, Hasan Akgöz hasanak...@mail.ru 
mailto:hasanak...@mail.ru wrote:


Hi Peter;

when I run the application vuserinfo, clear passwd line is empty.
Qmailtoaster I did not do the installation. maybe the person who
previously may have been modified. misunderstood not clear text
passwords. clear text of the password.

name:   hasan
passwd: $1$HYuFXpYx$dYWO5IuUBzABRo.NMjR1z/
clear passwd:




Are you going to be using postfix with mysql for virtual domains and 
users. If that is the case, there is no issue. The format for the 
encrypted password is crypt with a salt, which is the same that is 
expected for the postfix/dovecot system.


Can you describe your schema a little more in detail?

Bharath

That is indeed strange. Perhaps the other admin modified the toaster 
installation as you suggested or even removed the clear text password 
after creating the account (I am not sure if the toaster would be 
functional or not after this)?


The toaster will be fully functional if one is not using PLAIN. I've 
done that before.
You could test this by creating a new account and then checking again 
with vuserinfo if the clear password is empty?


Anyway, I don't think you have now anyway to access the clear text 
passwords as they have been somehow removed...


Regards,
Peter




Re: [qmailtoaster] qmailtoaster+vpopmail migrate postfix+mysql

2013-09-25 Thread Hasan Akgöz
Hi Peter ;

when creating a new account , clear password is empty . because no
pw_clear_passwd
column in mysql . clear text password is not important. it is important to
use existing passwords with postfix.



2013/9/25 Peter Peltonen peter.pelto...@gmail.com


 Hi,

 On Wed, Sep 25, 2013 at 6:20 PM, Hasan Akgöz hasanak...@mail.ru wrote:

 Hi Peter;

 when I run the application vuserinfo, clear passwd line is empty.
 Qmailtoaster I did not do the installation. maybe the person who previously
 may have been modified. misunderstood not clear text passwords. clear
 text of the password.

 name:   hasan
 passwd: $1$HYuFXpYx$dYWO5IuUBzABRo.NMjR1z/
 clear passwd:


 That is indeed strange. Perhaps the other admin modified the toaster
 installation as you suggested or even removed the clear text password after
 creating the account (I am not sure if the toaster would be functional or
 not after this)?

 You could test this by creating a new account and then checking again with
 vuserinfo if the clear password is empty?

 Anyway, I don't think you have now anyway to access the clear text
 passwords as they have been somehow removed...

 Regards,
 Peter



Re: [qmailtoaster] Re: qmailtoaster+vpopmail migrate postfix+mysql

2013-09-25 Thread Hasan Akgöz
Hi Eric ;

the purpose of migrate postfix ,Radius-based and LDAP authentication to
use. I do not want to patch Qmail. I search on the list, but did not
notice. Do you have a link to propose?

follow the output of rpm -qa | grep toaster | sort ;

autorespond-toaster-2.0.4-1.3.6
clamav-toaster-0.97.0-1.3.41
control-panel-toaster-0.5-1.3.7
courier-authlib-toaster-0.59.2-1.3.10
courier-imap-toaster-4.1.2-1.3.10
daemontools-toaster-0.76-1.3.6
ezmlm-cgi-toaster-0.53.324-1.3.6
ezmlm-toaster-0.53.324-1.3.6
isoqlog-toaster-2.1-1.3.7
libdomainkeys-toaster-0.68-1.3.6
libsrs2-toaster-1.0.18-1.3.6
maildrop-toaster-2.0.3-1.3.8
maildrop-toaster-devel-2.0.3-1.3.8
qmailadmin-toaster-1.2.15-1.3.9
qmailmrtg-toaster-4.2-1.3.6
qmail-pop3d-toaster-1.03-1.3.20
qmail-toaster-1.03-1.3.20
ripmime-toaster-1.4.0.6-1.3.6
send-emails-toaster-0.5-1.3.7
simscan-toaster-1.4.0-1.3.8
spamassassin-toaster-3.2.5-1.3.17
squirrelmail-toaster-1.4.20-1.3.17
ucspi-tcp-toaster-0.88-1.3.9
vpopmail-toaster-5.4.17-1.3.7
vqadmin-toaster-2.3.4-1.3.6




2013/9/25 Eric Shubert e...@shubes.net

 Are you sure this is a QMT host?
 # rpm -qa | grep toaster | sort

 It's possible that your vpopmail-toaster was built without clear text
 passwords. If that's the case, you might be able to bring the encoded
 passwords across provided that the encoding mechanism on postfix is the
 same. IIRC there was some discussion about doing this on this list within
 the last several months.

 Just out of curiosity, what factors contributed from you moving from QMT
 to postfix?

 Thanks.

 --
 -Eric 'shubes'


 On 09/25/2013 08:20 AM, Hasan Akgöz wrote:

 Hi Peter;

 when I run the application vuserinfo, clear passwd line is empty.
 Qmailtoaster I did not do the installation. maybe the person who
 previously may have been modified. misunderstood not clear text
 passwords. clear text of the password.

 name:   hasan
 passwd: $1$HYuFXpYx$dYWO5IuUBzABRo.**NMjR1z/
 clear passwd:



 2013/9/25 Peter Peltonen peter.pelto...@gmail.com
 mailto:peter.peltonen@gmail.**com peter.pelto...@gmail.com



 Hi,

 On Tue, Sep 24, 2013 at 10:19 PM, Hasan Akgöz hasanak...@mail.ru
 mailto:hasanak...@mail.ru wrote:

 Hi All;

 I have qmailtoaster mail server. I want to migrate Postfix and
 Dovecot from a QmailToaster/Vpopmail user passwords is encrypt
 passwords, but I do not have clear text password. What is your
 suggestion to move passwords?


 What do you mean that you do not have clear text passwords -- are
 you sure about that? Qmailtoaster saves by default both clear text
 and encrypted versions of the password.

 Try checking a user's info with the /home/vpopmail/bin/vuserinfo
   command line utility, you should receive info about the clear text
 password among other things.

 Regards,
 Peter






 --**--**-
 To unsubscribe, e-mail: 
 qmailtoaster-list-unsubscribe@**qmailtoaster.comqmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: 
 qmailtoaster-list-help@**qmailtoaster.comqmailtoaster-list-h...@qmailtoaster.com





Re: [qmailtoaster] qmailtoaster+vpopmail migrate postfix+mysql

2013-09-25 Thread Hasan Akgöz
Hi Bharath;

you're right. I used format for the encrypted password is crypt with a
salt. I get the value of a table ( pw_passwd ) in mysql with php code as
follows. In postfix how to use it. ?

?php
echo crypt( '12345' , '$1$QkFJ6cbB$') ;
?


2013/9/25 Bharath Chari qmailtoas...@arachnis.com

  On Wednesday 25 September 2013 09:07 PM, Peter Peltonen wrote:


 Hi,

 On Wed, Sep 25, 2013 at 6:20 PM, Hasan Akgöz hasanak...@mail.ru wrote:

 Hi Peter;

  when I run the application vuserinfo, clear passwd line is empty.
 Qmailtoaster I did not do the installation. maybe the person who previously
 may have been modified. misunderstood not clear text passwords. clear
 text of the password.

  name:   hasan
 passwd: $1$HYuFXpYx$dYWO5IuUBzABRo.NMjR1z/
 clear passwd:



 Are you going to be using postfix with mysql for virtual domains and
 users. If that is the case, there is no issue. The format for the encrypted
 password is crypt with a salt, which is the same that is expected for the
 postfix/dovecot system.

 Can you describe your schema a little more in detail?

 Bharath


   That is indeed strange. Perhaps the other admin modified the toaster
 installation as you suggested or even removed the clear text password after
 creating the account (I am not sure if the toaster would be functional or
 not after this)?

The toaster will be fully functional if one is not using PLAIN. I've
 done that before.

   You could test this by creating a new account and then checking again
 with vuserinfo if the clear password is empty?

  Anyway, I don't think you have now anyway to access the clear text
 passwords as they have been somehow removed...

  Regards,
 Peter





[qmailtoaster] qmailtoaster+vpopmail migrate postfix+mysql

2013-09-24 Thread Hasan Akgöz
Hi All;

I have qmailtoaster mail server. I want to migrate Postfix and Dovecot from
a QmailToaster/Vpopmail user passwords is encrypt passwords, but I do not
have clear text password. What is your suggestion to move passwords?

QmailToaster files are as follows.

qmailmrtg-toaster-4.2-1.3.6
qmail-toaster-1.03-1.3.20
qmail-pop3d-toaster-1.03-1.3.20
qmailadmin-toaster-1.2.15-1.3.9
vpopmail-toaster-5.4.17-1.3.7

 All help greatly appreciated.


Re: [qmailtoaster] vpopmail defaultdomain

2013-05-03 Thread cj yother

  
  
On 05/02/2013 10:22 PM, Myers, Jon W
  wrote:


  this is probably yet another thing for the vpopmail list, but I'm not on that list yet...
I've setup /home/vpopmail/etc/defaultdomain to contain my main domain name.  Users can SOMETIMES login with just their username (tested from android phones, and squirrelmail).  But the results (without changing any settings, usernames, or passwords) are inconsistent.

Has anyone else run into this problem?  I know I can get a plugin for squirrelmail (vlogin) that helps with this, but its not going to help the email app thats pre-installed on android phones.

Of course this worked fine on my old vpopmail 5.0 server, but is now sporadic on the new vpopmail 5.4.33 powered qmail toaster.

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Isn't authentication handled by courier?

-- 
  
  



[qmailtoaster] vpopmail defaultdomain

2013-05-02 Thread Myers, Jon W
this is probably yet another thing for the vpopmail list, but I'm not on that 
list yet...
I've setup /home/vpopmail/etc/defaultdomain to contain my main domain name.  
Users can SOMETIMES login with just their username (tested from android phones, 
and squirrelmail).  But the results (without changing any settings, usernames, 
or passwords) are inconsistent.

Has anyone else run into this problem?  I know I can get a plugin for 
squirrelmail (vlogin) that helps with this, but its not going to help the email 
app thats pre-installed on android phones.

Of course this worked fine on my old vpopmail 5.0 server, but is now sporadic 
on the new vpopmail 5.4.33 powered qmail toaster.

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] vpopmail database contains plaintext password

2012-09-26 Thread Aleksander Podsiadły
Dnia 2012-09-25, wto o godzinie 22:24 +0200, Peter Peterse pisze:
 What is the correct way to remove this column out this database?

Compile vpopmail-toaster with option:
--disable-clear-passwd

-- 
Pozdrawiam/Regards,
mgr inż. Aleksander Podsiadły
st. informatyk gminy
Urząd Gminy w Mniowie
ul. Centralna 9
26-080 Mniów
tel: +48 413737002
fax: +48 413737024
mail: a...@mniow.pl
jid: a...@jabber.mniow.pl
gg: 9150578


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] vpopmail database contains plaintext password

2012-09-25 Thread Peter Peterse
Hello,

the table {domainname} in the database vpopmail contains a column 
pw_clear_passwd.

What is the correct way to remove this column out this database?
I'm alway deploy qmail-toaster by the qtp-newmodel and it works
fantastic, but such security issue stays in the database or is there an
option in qtp-newmodel to remove this feature?

Thanks for your reply.

Peter Peterse

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] vpopmail-5.4.33, qmailadmin-1.2.16, vqadmin-2.3.7 upgrades

2012-08-15 Thread Aleksander Podsiadły
Dnia 2012-08-05, nie o godzinie 12:55 -0700, Eric Shubert pisze:
 If you're running the QTP version of dovecot:
 # yum update dovecot 

I was on the vacation, so I readed it today. :)

After update (I'm running Dovecot):
service qmail stop
rm -rf /var/qmail/supervise/pop3
service qmail start

IMHO most of us have dovecot compiled from source, not from binary
repository.
http://packages.atrpms.net/dist/


-- 
Pozdrawiam/Regards,
mgr inż. Aleksander Podsiadły
st. informatyk gminy
Urząd Gminy w Mniowie
ul. Centralna 9
26-080 Mniów
tel: +48 413737002
fax: +48 413737024
mail: a...@mniow.pl
jid: a...@jabber.mniow.pl
gg: 9150578


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] vpopmail-5.4.33, qmailadmin-1.2.16, vqadmin-2.3.7 upgrades

2012-08-05 Thread Eric Shubert
The subject software upgrades for QMT are now available. These long 
awaited upgrades are seriously overdue, as QMT has been using the same 
version of vpopmail since I built my first QMT over 6 years ago.


I'm happy to say that this brings QMT up to date with all of the 
upstream software (TTBOMK - someone please notify if something newer is 
out there), and completes work on v1.4.x until such time as another 
upstream update becomes available. If I'm lucky, QMT v1.5.0 (CentOS 6.x 
compatibility) will be available before then.


The recommended upgrade procedure is as follows:
# yum update qmailtoaster-plus
# qtp-newmodel

If you're running the QTP version of dovecot:
# yum update dovecot

If you're running spamdyke (you should be if you're not):
# qtp-install-spamdyke
# service qmail restart


If you choose to do things the hard way (manually), here are some notes 
off the top of my head.


In addition to the 3 vpopmail related packages, the following packages 
should be rebuilt and reinstalled (qtp-newmodel will do this automatically):

qmail-toaster
courier-authlib-toaster
courier-imap-toaster

If you're running a dovecot version that you built yourself, you should 
rebuild and reinstall this as well after installing vpopmail.


There are vpopmail database changes required by vpopmail-5.4.18+. You 
should run the qtp-convert script which will do them for you 
(qtp-newmodel does this as well).



TTBOMK, all problems with vqadmin have been fixed. If you have a problem 
with it, let us know and we'll see if it can't be fixed. Likewise with 
vpopmail and quotas. There might be some database fixing that needs to 
be done to put things in sync for you, but we can cross those bridges as 
they come.


As always, if you have any problems with this, please post here.

Thanks to everyone who's helped along the way with this, especially our 
own Bharath, and Matt at inter7 (the present vpopmail maintainer).


--
-Eric 'shubes'



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] vpopmail-5.4.33, qmailadmin-1.2.16, vqadmin-2.3.7 upgrades

2012-08-05 Thread Philip Nix Guru


On 08/05/2012 09:55 PM, Eric Shubert wrote:
The subject software upgrades for QMT are now available. These long 
awaited upgrades are seriously overdue, as QMT has been using the same 
version of vpopmail since I built my first QMT over 6 years ago.


I'm happy to say that this brings QMT up to date with all of the 
upstream software (TTBOMK - someone please notify if something newer 
is out there), and completes work on v1.4.x until such time as another 
upstream update becomes available. If I'm lucky, QMT v1.5.0 (CentOS 
6.x compatibility) will be available before then.


The recommended upgrade procedure is as follows:
# yum update qmailtoaster-plus
# qtp-newmodel

If you're running the QTP version of dovecot:
# yum update dovecot

If you're running spamdyke (you should be if you're not):
# qtp-install-spamdyke
# service qmail restart


If you choose to do things the hard way (manually), here are some 
notes off the top of my head.


In addition to the 3 vpopmail related packages, the following packages 
should be rebuilt and reinstalled (qtp-newmodel will do this 
automatically):

qmail-toaster
courier-authlib-toaster
courier-imap-toaster

If you're running a dovecot version that you built yourself, you 
should rebuild and reinstall this as well after installing vpopmail.


There are vpopmail database changes required by vpopmail-5.4.18+. You 
should run the qtp-convert script which will do them for you 
(qtp-newmodel does this as well).



TTBOMK, all problems with vqadmin have been fixed. If you have a 
problem with it, let us know and we'll see if it can't be fixed. 
Likewise with vpopmail and quotas. There might be some database fixing 
that needs to be done to put things in sync for you, but we can cross 
those bridges as they come.


As always, if you have any problems with this, please post here.

Thanks to everyone who's helped along the way with this, especially 
our own Bharath, and Matt at inter7 (the present vpopmail maintainer).



That's great
usually I do compile all manually or even mod a bit the spec files
but for once I just started the qtp-newmodel
was for updating a normal not modified qmt

Well I guess I ll have to do it manually :)
.
qtp-build-rpms v0.3.5
qtp-remove-pkgs v0.3.1
REMOVED control-panel-toaster from sandbox (not for real)
Building daemontools-toaster-0.76-1.3.6 ...
Installing daemontools-toaster-0.76-1.3.6 in the sandbox ...
qtp-build-rpms - binary rpm not found for daemontools-toaster-0.76-1.3.6
qtp-build-rpms - Script Error - aborting.

Build failed, Exiting.

Wrote: /root/src/rpm/RPMS/x86_64/daemontools-toaster-0.76-1.3.6.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.97447
+ umask 022
+ cd /root/src/rpm/BUILD
+ cd daemontools-0.76
+ '[' -n /var/tmp/daemontools-toaster-0.76 -a 
/var/tmp/daemontools-toaster-0.76 '!=' / ']'

+ rm -rf /var/tmp/daemontools-toaster-0.76
+ '[' -d /root/src/rpm/BUILD/daemontools-0.76 ']'
+ rm -rf /root/src/rpm/BUILD/daemontools-0.76
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.97447
+ umask 022
+ cd /root/src/rpm/BUILD
+ rm -rf daemontools-0.76
+ exit 0
Installing daemontools-toaster-0.76-1.3.6 in the sandbox ...


Conclusion
Then script is not handling .rpmmacros env variables
that's a fault in my opinion








Re: [qmailtoaster] vpopmail --disable-many-domains option

2011-06-07 Thread Jake Vickers

On 05/29/2011 03:32 AM, Martin Waschbüsch IT-Dienstleistungen wrote:

Hi Jake,

Am 28.05.2011 um 17:19 schrieb Jake Vickers:

So I'm still curious as to what you think the benefits are. Segregating your 
data into multiple tables was always the way I learned to obtain performance. 
The nature of the requests from QMT are probably not those that would require 
any performance tuning - the only one I've ever run into is the default number 
of connections.  So I'm willing to table that point if there are other 
mitigating factors.

So what are the advantages/benefits you are thinking will be gained from a 
single table?


I agree with Eric that it probably will not make much of a difference with 
regards to performance.
However, a lot of applications that might want to have access to the email user 
database are not all that flexible and do not support having different domains 
in different tables.
E.g. using courier-auth with mysql or SOGo with mysql-backend, etc. There are 
other examples.
For my own use, I have written an accounting backend that also cycles through 
domains and users, etc. to produce detail-information to be attached to 
invoices and that, too, is just way easier when having all in one table.

Granted, that may be simplistic design on the parts of those programs, but hey, 
it works and it is way easier to recompile vpopmail to achieve compatibility 
than patch those programs.
Also, whenever there is any database schema change in order for vpopmail to be 
upgraded, it is much easier to upgrade that one table than to find all the 
tables that hold domains and path those.

Last but not least, mysql (and other databases) have length-limitations for 
domain names. I always wondered, but never tried, what would happen if I added 
a domain with a name longer than 'max-table-name-length' to the database?
I think the current limit for mysql is 32 chars and domain names can be longer.



I have never tried a FQDN longer than 32 chars - RFC 1035 implies (if 
I'm reading it correctly) of 255 chars:


2.3.4. Size limits

Various objects and parameters in the DNS have size limits.  They are
listed below.  Some could be easily changed, others are more
fundamental.

labels  63 octets or less

names   255 octets or less

TTL positive values of a signed 32 bit number.

UDP messages512 octets or less

3. DOMAIN NAME SPACE AND RR DEFINITIONS

3.1. Name space definitions

Domain names in messages are expressed in terms of a sequence of labels.
Each label is represented as a one octet length field followed by that
number of octets.  Since every domain name ends with the null label of
the root, a domain name is terminated by a length byte of zero.  The
high order two bits of every length octet must be zero, and the
remaining six bits of the length field limit the label to 63 octets or
less.

To simplify implementations, the total length of a domain name (i.e.,
label octets and label length octets) is restricted to 255 octets or
less.

Although labels can contain any 8 bit values in octets that make up a
label, it is strongly recommended that labels follow the preferred
syntax described elsewhere in this memo, which is compatible with
existing host naming conventions.  Name servers and resolvers must
compare labels in a case-insensitive manner (i.e., A=a), assuming ASCII
with zero parity.  Non-alphabetic codes must match exactly.


Should be easy enough to change in 2.x.

Thanks for the app examples for the vpopmail DB schema. So the change seems to hinge 
around opinion and interop with other applications. I went back over the helper 
apps and
can't find anywhere in the code where a change may make something currently 
supplied stop working, so I'll roll the change into the 2.x test and we'll see 
what shakes loose.





-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail --disable-many-domains option

2011-05-29 Thread Martin Waschbüsch IT-Dienstleistungen
Hi Jake,

Am 28.05.2011 um 17:19 schrieb Jake Vickers:
 
 So I'm still curious as to what you think the benefits are. Segregating your 
 data into multiple tables was always the way I learned to obtain performance. 
 The nature of the requests from QMT are probably not those that would require 
 any performance tuning - the only one I've ever run into is the default 
 number of connections.  So I'm willing to table that point if there are other 
 mitigating factors.
 
 So what are the advantages/benefits you are thinking will be gained from a 
 single table?


I agree with Eric that it probably will not make much of a difference with 
regards to performance.
However, a lot of applications that might want to have access to the email user 
database are not all that flexible and do not support having different domains 
in different tables.
E.g. using courier-auth with mysql or SOGo with mysql-backend, etc. There are 
other examples.
For my own use, I have written an accounting backend that also cycles through 
domains and users, etc. to produce detail-information to be attached to 
invoices and that, too, is just way easier when having all in one table.

Granted, that may be simplistic design on the parts of those programs, but hey, 
it works and it is way easier to recompile vpopmail to achieve compatibility 
than patch those programs.
Also, whenever there is any database schema change in order for vpopmail to be 
upgraded, it is much easier to upgrade that one table than to find all the 
tables that hold domains and path those.

Last but not least, mysql (and other databases) have length-limitations for 
domain names. I always wondered, but never tried, what would happen if I added 
a domain with a name longer than 'max-table-name-length' to the database?
I think the current limit for mysql is 32 chars and domain names can be longer.

Best,

Martin

--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
serv...@waschbuesch.it
http://www.waschbuesch.it
-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail --disable-many-domains opti

2011-05-29 Thread Carlos Herrera Polo
vpopmail with one table for domain is not easy when I have to
integrate with jabber (openfire) auth / mysql.


2011/5/29, Martin Waschbüsch IT-Dienstleistungen serv...@waschbuesch.it:
 Hi Jake,

 Am 28.05.2011 um 17:19 schrieb Jake Vickers:

 So I'm still curious as to what you think the benefits are. Segregating
 your data into multiple tables was always the way I learned to obtain
 performance. The nature of the requests from QMT are probably not those
 that would require any performance tuning - the only one I've ever run
 into is the default number of connections.  So I'm willing to table that
 point if there are other mitigating factors.

 So what are the advantages/benefits you are thinking will be gained from a
 single table?


 I agree with Eric that it probably will not make much of a difference with
 regards to performance.
 However, a lot of applications that might want to have access to the email
 user database are not all that flexible and do not support having different
 domains in different tables.
 E.g. using courier-auth with mysql or SOGo with mysql-backend, etc. There
 are other examples.
 For my own use, I have written an accounting backend that also cycles
 through domains and users, etc. to produce detail-information to be attached
 to invoices and that, too, is just way easier when having all in one table.

 Granted, that may be simplistic design on the parts of those programs, but
 hey, it works and it is way easier to recompile vpopmail to achieve
 compatibility than patch those programs.
 Also, whenever there is any database schema change in order for vpopmail to
 be upgraded, it is much easier to upgrade that one table than to find all
 the tables that hold domains and path those.

 Last but not least, mysql (and other databases) have length-limitations for
 domain names. I always wondered, but never tried, what would happen if I
 added a domain with a name longer than 'max-table-name-length' to the
 database?
 I think the current limit for mysql is 32 chars and domain names can be
 longer.

 Best,

 Martin

 --
 Martin Waschbüsch
 IT-Dienstleistungen
 Lautensackstr. 16
 80687 München

 Telefon: +49 89 57005708
 Fax: +49 89 57868023
 Mobil: +49 170 2189794
 serv...@waschbuesch.it
 http://www.waschbuesch.it
 -
 Qmailtoaster is sponsored by Vickers Consulting Group
 (www.vickersconsulting.com)
 Vickers Consulting Group offers Qmailtoaster support and installations.
   If you need professional help with your setup, contact them today!
 -
  Please visit qmailtoaster.com for the latest news, updates, and
 packages.

   To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
  For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com




-- 
Enviado desde mi dispositivo móvil

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail --disable-many-domains option

2011-05-28 Thread Jake Vickers

On 05/27/2011 12:10 AM, Eric Shubert wrote:

On 05/26/2011 07:55 PM, Jake Vickers wrote:
 On 05/26/2011 05:41 PM, Eric Shubert wrote:

 I would like to see QMT get to a single-table configuration for
 vpopmail/mysql. Is that never going to happen, or perhaps happen
 with 5.5? It might be best to leave vpopmail at 5.4.x with QMTv2.0, 
 then upgrade to 5.5 with QMTv2.x, and go to single-table domains at 
 that time. Just a thought.



 I haven't given it much thought - anyone care to test what the
 performance impact is by going to a single table? Is there any?
 I know we hijacked this thread, so let's spin off a new one.
 
- 



Apologies for the hijack.

I just seem to recall this being discussed a bit, some time ago, and 
concluding (perhaps with no consensus) that having all domains in a 
single table made more sense.




So I'm still curious as to what you think the benefits are. Segregating 
your data into multiple tables was always the way I learned to obtain 
performance. The nature of the requests from QMT are probably not those 
that would require any performance tuning - the only one I've ever run 
into is the default number of connections.  So I'm willing to table that 
point if there are other mitigating factors.


So what are the advantages/benefits you are thinking will be gained from 
a single table?



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail --disable-many-domains option

2011-05-27 Thread Martin Waschbüsch IT-Dienstleistungen
Hi all!

Am 27.05.2011 um 06:10 schrieb Eric Shubert:

 Apologies for the hijack.
 
 I just seem to recall this being discussed a bit, some time ago, and 
 concluding (perhaps with no consensus) that having all domains in a single 
 table made more sense.
 
 This was discussed here some time ago in this thread:
 http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg22035.html
 It appears that chkuser might need multiple tables? I don't see why. I'm 
 guessing that this person simply didn't rebuild qmail-toaster after 
 rebuilding and reinstalling vpopmail-toaster, which would be required (and 
 qtp-newmodel would do automatically). Perhaps Tonino could confirm this.
 
 Then on the development list last October:
 http://comments.gmane.org/gmane.mail.qmail.toaster.devel/638
 
 Here's a reference that indicates performance can be poor with 
 --disable-many-domains (as well as speculation that it may be removed at some 
 point)
 http://bowe.id.au/michael/isp/webmail-server.htm

I have used a version of vpopmail with all domains in one table as this has a 
number of advantages for me.
This works very well and Eric is right in saying that you have to rebuild 
qmail-toaster after changing this in vpopmail.
I have not seen any adverse effects after switching to this model (I use two 
toasters like this).

Though I do not have a system with a huge number of domains, yet there was no 
performance difference between the two (for what that is worth).

Cheers,

Martin

--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
serv...@waschbuesch.it
http://www.waschbuesch.it
-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] vpopmail --disable-many-domains option

2011-05-26 Thread Eric Shubert

On 05/26/2011 07:55 PM, Jake Vickers wrote:
 On 05/26/2011 05:41 PM, Eric Shubert wrote:

 I would like to see QMT get to a single-table configuration for
 vpopmail/mysql. Is that never going to happen, or perhaps happen
 with 5.5? It might be best to leave vpopmail at 5.4.x with QMTv2.0, 
 then upgrade to 5.5 with QMTv2.x, and go to single-table domains at 
 that time. Just a thought.



 I haven't given it much thought - anyone care to test what the
 performance impact is by going to a single table? Is there any?
 I know we hijacked this thread, so let's spin off a new one.
 
- 



Apologies for the hijack.

I just seem to recall this being discussed a bit, some time ago, and 
concluding (perhaps with no consensus) that having all domains in a 
single table made more sense.


This was discussed here some time ago in this thread:
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg22035.html
It appears that chkuser might need multiple tables? I don't see why. I'm 
guessing that this person simply didn't rebuild qmail-toaster after 
rebuilding and reinstalling vpopmail-toaster, which would be required 
(and qtp-newmodel would do automatically). Perhaps Tonino could confirm 
this.


Then on the development list last October:
http://comments.gmane.org/gmane.mail.qmail.toaster.devel/638

Here's a reference that indicates performance can be poor with 
--disable-many-domains (as well as speculation that it may be removed at 
some point)

http://bowe.id.au/michael/isp/webmail-server.htm

Here's the thread(s) I was thinking of:
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg27618.html
and this:
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg27619.html

I support discontinuing the use of the --disable-many-domains build 
option at some point. It's not imperative that it be done any time soon.


I think further discussion has merit. Perhaps it would be best to 
implement this with vpopmail 5.5, and QMTv2.1+ ?


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail schema

2011-03-06 Thread Fred Richards
Thanks Pak and Eric.  My schema looks perfect, and I've figured out my issue. 
When you try and authenticate, and use just plain user instead of 
u...@domain.com vpopmail looks for a vpopmail.users table.  Because 
everything is organized by domain (which makes perfect sense for virtual users 
and virtual domains), it's pretty much mandatory to authenticate with the domain 
via pop3.  It then becomes more of a vpopmail question than qmailtoaster.


I think in our project, we'll enforce a new policy of customers' using their 
full user@domain to authenticate.




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail schema

2011-03-06 Thread Pak Ogah

On 06-Mar-11 23:34, Fred Richards wrote:
Thanks Pak and Eric.  My schema looks perfect, and I've figured out my 
issue. When you try and authenticate, and use just plain user 
instead of u...@domain.com vpopmail looks for a vpopmail.users 
table.  Because everything is organized by domain (which makes perfect 
sense for virtual users and virtual domains), it's pretty much 
mandatory to authenticate with the domain via pop3.  It then becomes 
more of a vpopmail question than qmailtoaster.


I think in our project, we'll enforce a new policy of customers' using 
their full user@domain to authenticate.



But by default all imap/pop3 authentication is using u...@domain.com format
except if you add a default domain in your vpopmail

[root@svr-m1 ~]# cat /home/vpopmail/etc/defaultdomain
pala.bo-tak.info


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail schema

2011-03-06 Thread Maxwell Smart
I tried it according to the wiki instruction and it broke my fail2ban. 

I think the formatting needs to be a bit clearer.

The vpopmail-fail file should look like this.   (For idiots like me that
leave the definition directive out, doh!)

[Definition]

failregex = vchkpw-smtp: password fail ([^)]*) [^@]*@[^:]*:HOST
ignoreregex =

The jail entry cannot be like this (otherwise it complains, not defined)
[vpopmail-fail] enabled = true filter = vpopmail-fail action =
iptables[name=SMTP, port=smtp, protocol=tcp] logpath = /var/log/maillog
maxretry = 1 bantime = 604800 findtime = 3600

needs to be like this:

[vpopmail-fail] enabled = true
 
filter = vpopmail-fail
action = iptables[name=SMTP, port=smtp, protocol=tcp]
logpath = /var/log/maillog
maxretry = 1
bantime = 604800
findtime = 3600

Once I straightened out the formatting it worked perfectly!  Many
thanks.  Great work.

CJ

On 03/06/2011 09:08 PM, Pak Ogah wrote:
 On 06-Mar-11 23:34, Fred Richards wrote:
 Thanks Pak and Eric.  My schema looks perfect, and I've figured out
 my issue. When you try and authenticate, and use just plain user
 instead of u...@domain.com vpopmail looks for a vpopmail.users
 table.  Because everything is organized by domain (which makes
 perfect sense for virtual users and virtual domains), it's pretty
 much mandatory to authenticate with the domain via pop3.  It then
 becomes more of a vpopmail question than qmailtoaster.

 I think in our project, we'll enforce a new policy of customers'
 using their full user@domain to authenticate.

 But by default all imap/pop3 authentication is using u...@domain.com
 format
 except if you add a default domain in your vpopmail

 [root@svr-m1 ~]# cat /home/vpopmail/etc/defaultdomain
 pala.bo-tak.info


 -

 Qmailtoaster is sponsored by Vickers Consulting Group
 (www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
 installations.
  If you need professional help with your setup, contact them today!
 -

 Please visit qmailtoaster.com for the latest news, updates, and
 packages.
  To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com



-- 
Cecil Yother, Jr. cj
cj's
2318 Clement Ave
Alameda, CA  94501

tel 510.865.2787
http://yother.com
Check out the new Volvo classified resource http://www.volvoclassified.com


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] vpopmail schema

2011-03-03 Thread Fred Richards

Hi qmailtoaster-ers!

 First of all, let me thank you for such a great project.  I'm finding
myself needing to single-handedly migrate an older (very custom) qmail
install complete with virtual users in a flat file, to something
newer.  I went ahead and successfully installed qmailtoaster on CentOS
5.5, and my next step is to bring in the maildirs, and make the
authentication more qmailtoaster-like than it is now.  I feel silly
because although I've added a test domain and test user, whenever I
authenticate via pop3, it's complaining about a vpopmail.users table,
which doesn't exist, I believe I may have skipped a step somewhere.

 Where can I find this schema?  I've been all over the wiki, and I
_know_ I've seen it, and I'm sure it's only 1-2 lines...


-- Fred

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail schema

2011-03-03 Thread Eric Broch
 On 3/3/2011 4:37 PM, Fred Richards wrote:
 Hi qmailtoaster-ers!

  First of all, let me thank you for such a great project.  I'm finding
 myself needing to single-handedly migrate an older (very custom) qmail
 install complete with virtual users in a flat file, to something
 newer.  I went ahead and successfully installed qmailtoaster on CentOS
 5.5, and my next step is to bring in the maildirs, and make the
 authentication more qmailtoaster-like than it is now.  I feel silly
 because although I've added a test domain and test user, whenever I
 authenticate via pop3, it's complaining about a vpopmail.users table,
 which doesn't exist, I believe I may have skipped a step somewhere.

  Where can I find this schema?  I've been all over the wiki, and I
 _know_ I've seen it, and I'm sure it's only 1-2 lines...


 -- Fred

 -

 Qmailtoaster is sponsored by Vickers Consulting Group
 (www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
 installations.
  If you need professional help with your setup, contact them today!
 -

 Please visit qmailtoaster.com for the latest news, updates, and
 packages.
  To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com



Fred,

Don't forget to edit the file first and set your mysql password...

Here's the link:
http://www.qmailtoaster.com/distro/centos/cnt50/mysql-setup.sh

Eric



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail schema

2011-03-03 Thread Fred Richards
Yup, did that, and if you look at the script, it sets a root password, creates 
the database, and assigns privileges... but doesn't make any tables or a schema 
for the vpopmail database.



On 03/03/2011 07:12 PM, Eric Broch wrote:



Don't forget to edit the file first and set your mysql password...

Here's the link:
http://www.qmailtoaster.com/distro/centos/cnt50/mysql-setup.sh


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail schema

2011-03-03 Thread Eric Broch
 On 3/3/2011 7:55 PM, Fred Richards wrote:
 Yup, did that, and if you look at the script, it sets a root password,
 creates the database, and assigns privileges... but doesn't make any
 tables or a schema for the vpopmail database.


 On 03/03/2011 07:12 PM, Eric Broch wrote:


 Don't forget to edit the file first and set your mysql password...

 Here's the link:
 http://www.qmailtoaster.com/distro/centos/cnt50/mysql-setup.sh

 -

 Qmailtoaster is sponsored by Vickers Consulting Group
 (www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
 installations.
  If you need professional help with your setup, contact them today!
 -

 Please visit qmailtoaster.com for the latest news, updates, and
 packages.
  To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com



Fred,

When you added the 'test' domain it should have added it in the vpopmail
database with the postmaster account. In your case 'testdomain_com' or
whatever you called it.
And, I don't have a vpopmail.users table either.

1) Do the following (at the command line):
 
# mysql -u root -p mysql
Enter password:

2) At the mysql command line:

mysql use vpopmail;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed


mysql show tables;
++
| Tables_in_vpopmail |
++
| dir_control|
| lastauth |
| valias |
| testdomain_com | (Whatever domain you have created should be in
here somewhere)
++
4 rows in set (0.00 sec)


The tables (schema) are created using the /home/vpopmail/bin/* commands
like vadddomain, vadduser, valias, and etc...


mysql select * from testdomain_com;
+++++-++-+-+
| pw_name| pw_passwd | pw_uid | pw_gid |
pw_gecos| pw_dir | pw_shell |
pw_clear_passwd |
+++++-++-+-+
| postmaster |***|  0 |  0   | Postmaster|
/home/vpopmail/domains/testdomain.com/postmaster | 41943040S,4000C |
***  |
| test   |***|  0 |  0  | Test
 | /home/vpopmail/domains/testdomain.com/test  |
NOQUOTA   | ***  |
+++++-++-+-+

You should have output something like the above. If all this is in place
on your machine it might be something else.

Does your vpopmail database resemble the above?

Eric



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail schema

2011-03-03 Thread Pak Ogah

Halo Fred,

when we install vpopmail-toaster from installation script, it created 
the database and tables automatically. and the vpopmail has support to 
use mysql (database) not flatfile

incase you miss the database creation, here mine:
ps: I am using mysql 5 and export it using heidisql 6

# 
# Host: 10.10.64.40
# Server version:   5.0.27-standard-log
# Server OS:pc-linux-gnu
# HeidiSQL version: 6.0.0.3702
# Date/time:2011-03-04 11:43:43
# 

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, 
FOREIGN_KEY_CHECKS=0 */;

/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

# Dumping structure for table vpopmail.dir_control
CREATE TABLE IF NOT EXISTS `dir_control` (
  `domain` char(64) NOT NULL,
  `cur_users` int(11) default NULL,
  `level_cur` int(11) default NULL,
  `level_max` int(11) default NULL,
  `level_start0` int(11) default NULL,
  `level_start1` int(11) default NULL,
  `level_start2` int(11) default NULL,
  `level_end0` int(11) default NULL,
  `level_end1` int(11) default NULL,
  `level_end2` int(11) default NULL,
  `level_mod0` int(11) default NULL,
  `level_mod1` int(11) default NULL,
  `level_mod2` int(11) default NULL,
  `level_index0` int(11) default NULL,
  `level_index1` int(11) default NULL,
  `level_index2` int(11) default NULL,
  `the_dir` char(160) default NULL,
  PRIMARY KEY  (`domain`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

# Data exporting was unselected.


# Dumping structure for table vpopmail.lastauth
CREATE TABLE IF NOT EXISTS `lastauth` (
  `user` char(32) NOT NULL,
  `domain` char(64) NOT NULL,
  `remote_ip` char(18) NOT NULL,
  `timestamp` bigint(20) NOT NULL default '0',
  PRIMARY KEY  (`user`,`domain`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

# Data exporting was unselected.


# Dumping structure for table vpopmail.pala_bo_tak_info
CREATE TABLE IF NOT EXISTS `pala_bo_tak_info` (
  `pw_name` char(32) NOT NULL,
  `pw_passwd` char(40) default NULL,
  `pw_uid` int(11) default NULL,
  `pw_gid` int(11) default NULL,
  `pw_gecos` char(48) default NULL,
  `pw_dir` char(160) default NULL,
  `pw_shell` char(20) default NULL,
  `pw_clear_passwd` char(16) default NULL,
  PRIMARY KEY  (`pw_name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

# Data exporting was unselected.


# Dumping structure for table vpopmail.valias
CREATE TABLE IF NOT EXISTS `valias` (
  `alias` char(32) NOT NULL,
  `domain` char(64) NOT NULL,
  `valias_line` text NOT NULL,
  KEY `alias` (`alias`,`domain`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

# Data exporting was unselected.
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;


On 04-Mar-11 9:55, Fred Richards wrote:
Yup, did that, and if you look at the script, it sets a root password, 
creates the database, and assigns privileges... but doesn't make any 
tables or a schema for the vpopmail database.



On 03/03/2011 07:12 PM, Eric Broch wrote:



Don't forget to edit the file first and set your mysql password...

Here's the link:
http://www.qmailtoaster.com/distro/centos/cnt50/mysql-setup.sh





-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] vpopmail system quota for domain

2010-10-19 Thread Igor Smitran
Since vpopmail domain quota is not working properly i decided to RTFM 
and found something interesting:


If you want to implement a quota for a whole domain, you have 2 options.
You can either put the domain under a unique system id and implement
system quotas, or (as of 5.3.18) you can use a non-system domain quota.  To
implement the former, just use 'vadddomain -u system user domain' and
set the system quota for that user.

I decided to give it a try and here is the result:

1. useradd test.com -d /home/vpopmail -s /sbin/nologin -M
2. vadddomain -u test.com test.com
3. user is created, given uid 1000 and gid 1000
4. domain is created with owner/group test.com/test.com
5. postmaster homedir is created with owner/group test.com/test.com
6. vdominfo displays correct info

sending mail from telnet goes well but mail never delivers, stays in queue.
after reading logs i see that directory permissions are stopping mail 
delivery:
delivery 1: deferral: 
Unable_to_switch_to_/home/vpopmail/domains/test.com:_access_denied._(#4.3.0)/


Has anyone tried to do this?  What would be the right way to do this and 
have system quotas work correctly?



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] vpopmail field problem

2010-10-15 Thread Digital Instruments

 Greetings list,

I have recompiled vpopmail without the damn pw_clear_passwd. I've used 
the standard script  cnt5064-install-script.sh and modify it like so:


if [ $PROCEED = y ]; then
  rpmbuild --rebuild --with $DISTRO --with disable-clear-passwd $VPOP
  rpm -Uvh /usr/src/$BDIR/RPMS/$ARCH/vpopmail-toaster*.rpm
fi



the result seems not good:

Preparing...### 
[100%]

package vpopmail-toaster-5.4.17-1.3.7.x86_64 is already installed
file /home/vpopmail/bin/clearopensmtp from install of 
vpopmail-toaster-5.4.17-1.3.7.x86_64 conflicts with file from package 
vpopmail-toaster-5.4.17-1.3.7.x86_64

(many other lines like that)
   1:vpopmail-toaster   ### 
[ 50%]


I've also try another method:

rpm -Uhv vpopmail-toaster*.src.rpm
edited the vpopmail-toaster.spec (usually in /usr/src/redhat/SPECS/), 
change line 729 from --enable-clear-passwd to --disable-clear-passwd 
with a text editor.

rpmbuild -bs vpopmail-toaster.spec

that time it went to 100%
1:vpopmail-toaster   ### [ 100%]

but unfortunately it doesn't work. If i try to drop the pw_clear_passwd 
field from the vpopmail database i can't login with any account.
If i try to create a new account ... error (if the field is drop) or it 
write the password in clear if the field isn't drop.


Anyone can help me, please?
Thanks!! A.


Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3197 -  Data di rilascio: 
10/14/10 20:34:00
-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


[qmailtoaster] vpopmail to old

2010-07-27 Thread Aleksander Podsiadły
Actual 5.4.17 version of vpopmail in QMT is released 12-Jul-06, current
version is 5.5.0. I tried to compile Dovecot 2.0rc3 and found problem.
QMT vpopmail is to old. :(
IMO this package should bu upgraded.

-- 
Pozdrawiam / Regards,
Aleksander Podsiadły
mail: a...@westside.kielce.pl
jid: a...@jabber.westside.kielce.pl
ICQ: 201121279
gg: 9150578


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail to old

2010-07-27 Thread Scott Hughes
I believe the maintainers are working on this for version 2.0 of QMT.

On the QMT wiki there are instructions on using a slightly older version of 
Dovecot. I and several others have had good success with it.

Hope this helps!

Scott




On Jul 27, 2010, at 4:01 AM, Aleksander Podsiadły a...@westside.kielce.pl 
wrote:

 Actual 5.4.17 version of vpopmail in QMT is released 12-Jul-06, current
 version is 5.5.0. I tried to compile Dovecot 2.0rc3 and found problem.
 QMT vpopmail is to old. :(
 IMO this package should bu upgraded.
 
 -- 
 Pozdrawiam / Regards,
 Aleksander Podsiadły
 mail: a...@westside.kielce.pl
 jid: a...@jabber.westside.kielce.pl
 ICQ: 201121279
 gg: 9150578
 
 
 -
 Qmailtoaster is sponsored by Vickers Consulting Group 
 (www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
 -
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
 
 

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail to old

2010-07-27 Thread Jake Vickers

On 07/27/2010 08:36 AM, Scott Hughes wrote:

I believe the maintainers are working on this for version 2.0 of QMT.

On the QMT wiki there are instructions on using a slightly older version of 
Dovecot. I and several others have had good success with it.

Hope this helps!

Scott




On Jul 27, 2010, at 4:01 AM, Aleksander Podsiadłya...@westside.kielce.pl  
wrote:

   

Actual 5.4.17 version of vpopmail in QMT is released 12-Jul-06, current
version is 5.5.0. I tried to compile Dovecot 2.0rc3 and found problem.
QMT vpopmail is to old. :(
IMO this package should bu upgraded.
 


Correct. I am working on v2 at the moment and am not going to update 
vpopmail on the 1.3 branch at this time.
Besides, you're asking me to update a package for everyone because you 
wish to install a currently unsupported modification.


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] vpopmail mysql configuration [was: Where did the mail go?]

2010-05-08 Thread Eric Shubert

Ulrik S. Kofod wrote:

When I first installed qmail on a redhat, 10+ years ago, i set 
--enable-many-domains
because because I think duplicate tables used for the exact same thing is poor
database design.


Certainly. It's been a while since I looked at the vpopmail database, 
but when I did I remember thinking what a mess. It shows signs of 
evolution more so than design. :(



I can't see the upside to having duplicate tables used for the exact same 
thing. If
you have many users one domain, all you rows will be in a single table anyway 
and if
you (like me) have many domains with a few users on each, you will end up with
nearly more tables than rows.


In DBA parlance, the --enable-many-domains configuration is not normalized.


Basically the only difference in the two solutions is where you put the domain 
name
in the SQL, after from or in the where clause. As the domain name just is a 
peace
of data, to me, it belongs in the where clause.


The difference to me is that, with --enable-many-domains, you can't very 
well say show me all the users for every domain w/out knowing a valid 
domain first. I suspect that this is considered some form of (convoluted 
imho) security. That, and you can grant separate permissions to separate 
domains with --enable-many-domains. Think ISP. I don't believe that this 
is a valid concern though. I hope that some ISP types correct me here if 
I'm wrong.



When I moved to qmailtoaster just I changed the vpopmail-toaster.spec and 
rebuild
it. That was a lot easier than writing a SQL script dividing the data out into a
many small tables. When I move to a new server I'll consider swallowing my
principles and go for the popular solution, so I can enjoy the benefits of qtp  :) 
though it would be nice if there was a way to choose  :) 


I agree that a choice would be nice. Rather than continue the practice 
of hard coding this option, why not have the spec file use a flag, 
similar to the spambox flag in qmailadmin, that controls which database 
option is used in the configure command? I expect that Jake would 
include this in the stock distro, providing that the default behavior 
remained the same. This way you could have your cake and eat it too. :) 
It's easy to specify build flags for qtp-newmodel to use with any given 
package.


My only other concern would be with the qtp-backup and qtp-restore 
scripts. I think they should continue to be compatible with the 
--disable-many-domains option. Can/will you have a look at them and see 
if they any modification to work with the --disable-many-domains option?


This could be a problem though when QMT v2 becomes yum based. On a 
related note, I hope to make the LDAP configuration of vpopmail an 
option in the future (once the LDAP portion of vpopmail v5.5 is 
available). I suspect that vpopmail-toaster might need to be split into 
separate packages for different configurations if runtime configuration 
options are not a possiblility. We can cross that bridge when we come to it.


In the meantime, you should be able to use qtp-newmodel to upgrade all 
packages except vpopmail-toaster. I don't expect that your vpopmail 
version (5.4.10) is much different than the current toaster version 
(5.4.17), but you should check to be sure.



regards


Thanks for your help with this, Ulrik.


--
-Eric 'shubes'


Eric Shubert sagde:

 How'd you end up with --enable-many-domains?
 What do you need it for?

 What do you hate about --disable-many-domains? It still allows multiple 
domains,

it just implements them in separate tables instead of lumping them all together.
Having them in the same table is considered a bad practice by many, for reasons 
I
won't go into here.


 If you don't really need --enable-many-domains and can live with mutiple 
domains

in separate tables, it shouldn't be too hard to convert. Someone here could
probably help you out, or you might try asking on the vpopmail users list.


 When in Rome, ...  ;) 


 --
 -Eric 'shubes'




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] vpopmail db

2010-01-09 Thread sima lorena

Hello

In the vpopmail db i have on dir_control table an entry that calls 
*dom_89* that i didnt do it

Can i delete this entry?

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail db

2010-01-09 Thread Jake Vickers

sima lorena wrote:

Hello

In the vpopmail db i have on dir_control table an entry that calls 
*dom_89* that i didnt do it

Can i delete this entry?



I cannot get into my database readily, but I say do not delete it. 89 is 
the uid/gid used by vpopmail so at first glance this looks to be a 
setting contained in the database. Hopefully someone will check their DB 
and verify.


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail db

2010-01-09 Thread aledr
Do not delete It. vpopmail uses it internally.

On Sat, Jan 9, 2010 at 11:46 AM, sima lorena popsug...@gmail.com wrote:
 Hello

 In the vpopmail db i have on dir_control table an entry that calls
 *dom_89* that i didnt do it
 Can i delete this entry?

 -
 Qmailtoaster is sponsored by Vickers Consulting Group
 (www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
 -
    Please visit qmailtoaster.com for the latest news, updates, and packages.
         To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
--
[ ]'s
Aledr - Alexandre
OpenSource Solutions for SmallBusiness Problems

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] VPOPMail Question

2009-08-28 Thread Eric Shubert

Michael Colvin wrote:

A week or so ago I had some questions about QMT and brought up some
questions about VPOPMail, related to connecting to a non-local database for
the purposes of chkuser/vpopmail.

I later thought, can I connect to two different databases?  If I put two
lines in vpopmail.mysql, will it check one, then the next?

I did a little research, and it looks like you can put two lines in, but one
is used for read only, and the other is used for read/write.  Is this
correct?  Can anyone shed any light on this?


I don't know. I would ask this on the vpopmail list (if nobody here knows).


My goal is to have two databases.  One that's used simply to verify that a
specific account at a specific domain is legit.  The other would be for mail
that's delivered locally.  There may not be a reason to do this, in the long
run, but I'd like to know if it's possible.


I'm sorta curious now too.


And, lastly, what are peoples thoughts on using vpopmail configured where
each domain has it's own table w/in MySQL (I believe this is default for the
ISO), versus having one table for all domains?  (This is how I have
qmailrocks running now.)  Are there any performance benefits to doing it one
way or the other?


I don't know this either. I doubt that performance would vary much one 
way or another. There are performance tuning factors that would have a 
much bigger impact. Personally, I prefer each domain with its own table, 
as it's more normalized (natural).


That being said, if you're concerned about performance, you might want 
to consider an LDAP backend when it becomes available in vpopmail-5.5. I 
expect this to happen near the end of the year. (LDAP is available in 
5.4.28, but you may need a patch for it, and it will change in 5.5 soon 
anyhow).


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread Jake Vickers

Eric Shubert wrote:
Matt Brookings at inter7.com is feverishly working on rolling out 
vpopmail 5.5. This is a fairly major rewrite. Backends will be 
separate modules, and as such will not need to be compiled into the 
main program. They'll be dynamically configurable, instead of having 
to specify them at ./config/compile time.


Considering what he's written to me, I've decided to wait on doing 
ldap support for QMT until ldap is available with 5.5. That will be a 
couple months before it ready to test.


However, testing of 5.5 with mysql is ready for testing now. This is 
strictly a development version at this point, only for testing. If 
anyone would like to do some testing on it, Matt would surely 
appreciate it. If you're interested, c'mon over to the vpopmail list 
(vch...@inter7.com) and join the fun. I'll help out where I can, but 
I'll be testing ldap when Matt has it availble.


Quotas will be fixed in 5.5 (they're fixed in 5.4.28 as well).

qmailadmin 1.4 works with 5.5, and is available for testing as well.

And get this. Matt says that vQadmin isn't dead at all, and will be 
upgraded for 5.5. I'm thinking we should get the upgraded vQadmin 
working on the toaster in conjunction with the 5.5 release. (Sorry Jake).


Anybody want to do some testing?
Thoughts?


Glad to see a new release, and relieved.
The new vqadmin will be packages up once it becomes stable and made 
available, but I'll still move it to the optional software section 
once the other menu system is created and in place. That's the way 
everyone voted.
Once the new Inter7 packages become stable, let me know and I'll start 
packaging them up for QMT and doing some testing. I'll start a thread on 
the devel list when I start this process to keep everyone abreast with 
what is happening.


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread karpaha vinayaham
Hi Eric

This new release is really a good news, if its solves the quota limit of 2GB
per users.  if the new version solve this issues, i will be testing this
with my test machine.

Can you guide me, how do i make the vpopmail-toaster rpm for my centos 5.3
with this new source file.

Till now i followed the following procedure to upgrade any src package,

example-

rpmbuild --rebuild --with cnt50 $VPOP
rpm -Uvh /usr/src/$BDIR/RPMS/$ARCH/vpopmail-toaster*.rpm


I have not updated any toaster package directly from source file, please
guide me.

Before upgrading vpomail, if i need to take any precaution you can share it,
because this will help me while upgrading in my production server. Now im
going to test in my test machine only.



With Regards
Vinay



On Wed, Aug 19, 2009 at 4:18 AM, Eric Shubert e...@shubes.net wrote:

 Matt Brookings at inter7.com is feverishly working on rolling out vpopmail
 5.5. This is a fairly major rewrite. Backends will be separate modules, and
 as such will not need to be compiled into the main program. They'll be
 dynamically configurable, instead of having to specify them at
 ./config/compile time.

 Considering what he's written to me, I've decided to wait on doing ldap
 support for QMT until ldap is available with 5.5. That will be a couple
 months before it ready to test.

 However, testing of 5.5 with mysql is ready for testing now. This is
 strictly a development version at this point, only for testing. If anyone
 would like to do some testing on it, Matt would surely appreciate it. If
 you're interested, c'mon over to the vpopmail list (vch...@inter7.com) and
 join the fun. I'll help out where I can, but I'll be testing ldap when Matt
 has it availble.

 Quotas will be fixed in 5.5 (they're fixed in 5.4.28 as well).

 qmailadmin 1.4 works with 5.5, and is available for testing as well.

 And get this. Matt says that vQadmin isn't dead at all, and will be
 upgraded for 5.5. I'm thinking we should get the upgraded vQadmin working on
 the toaster in conjunction with the 5.5 release. (Sorry Jake).

 Anybody want to do some testing?
 Thoughts?
 --
 -Eric 'shubes'



 -
 Qmailtoaster is sponsored by Vickers Consulting Group (
 www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!

 -
Please visit qmailtoaster.com for the latest news, updates, and
 packages.
 To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com





-- 
With Regards
Vinay


Re: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread Jake Vickers

karpaha vinayaham wrote:

Hi Eric

This new release is really a good news, if its solves the quota limit 
of 2GB per users.  if the new version solve this issues, i will be 
testing this with my test machine.


Can you guide me, how do i make the vpopmail-toaster rpm for my centos 
5.3 with this new source file.


Till now i followed the following procedure to upgrade any src package,


Why don't you wait until it's stable and a package is released 
officially here? From what Eric says, it will be 2-3 months before the 
coding is even done, and then you have to content with bugs and bug reports.
Once the software is completed and stable, I will release an official 
RPM for replacement.


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread Eric Shubert

Jake Vickers wrote:

karpaha vinayaham wrote:

Hi Eric

This new release is really a good news, if its solves the quota limit 
of 2GB per users.  if the new version solve this issues, i will be 
testing this with my test machine.


Can you guide me, how do i make the vpopmail-toaster rpm for my centos 
5.3 with this new source file.


Till now i followed the following procedure to upgrade any src package,


Why don't you wait until it's stable and a package is released 
officially here? From what Eric says, it will be 2-3 months before the 
coding is even done, and then you have to content with bugs and bug 
reports.
Once the software is completed and stable, I will release an official 
RPM for replacement.



Jake,
I think he's asking how he can help with the testing process. Yes it 
will be a few months before a stable (production) version is ready. In 
the meantime though, Matt can use all of the testers he can.


If you'd like to test, I believe that the sources are in an svn repo. 
Justice, can you lend a hand here? Perhaps we can come up with spec file 
that testers can use to roll their own rpms. Any takers for this?


I must repeat, that this is for TEST MACHINES ONLY. This is a warning 
for those of you who think they're going to run it on a live machine. 
Don't even go there. This is like alpha code, not even beta yet.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread karpaha vinayaham
Dear Jake

In our organisation, we have planned to set user wise quota, while
implementing this we faced a problem of quota limits, that's why i am
curious for the new release that would solve my problem.

Anyway i can wait for the stable one.


On Wed, Aug 19, 2009 at 6:51 PM, Jake Vickers j...@qmailtoaster.com wrote:

 karpaha vinayaham wrote:

 Hi Eric

 This new release is really a good news, if its solves the quota limit of
 2GB per users.  if the new version solve this issues, i will be testing this
 with my test machine.

 Can you guide me, how do i make the vpopmail-toaster rpm for my centos 5.3
 with this new source file.

 Till now i followed the following procedure to upgrade any src package,


 Why don't you wait until it's stable and a package is released officially
 here? From what Eric says, it will be 2-3 months before the coding is even
 done, and then you have to content with bugs and bug reports.
 Once the software is completed and stable, I will release an official RPM
 for replacement.



 -
 Qmailtoaster is sponsored by Vickers Consulting Group (
 www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!

 -
Please visit qmailtoaster.com for the latest news, updates, and
 packages.
 To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com





-- 
With Regards
Vinay


Re: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread Eric Shubert
I'm fairly sure that 5.5 will fix your problem. I believe that it has 
domain limit capability as well. It will certainly be 2-3 months or so 
before it's ready for production though.


karpaha vinayaham wrote:

Dear Jake

In our organisation, we have planned to set user wise quota, while 
implementing this we faced a problem of quota limits, that's why i am 
curious for the new release that would solve my problem.


Anyway i can wait for the stable one.


On Wed, Aug 19, 2009 at 6:51 PM, Jake Vickers j...@qmailtoaster.com 
mailto:j...@qmailtoaster.com wrote:


karpaha vinayaham wrote:

Hi Eric

This new release is really a good news, if its solves the quota
limit of 2GB per users.  if the new version solve this issues, i
will be testing this with my test machine.

Can you guide me, how do i make the vpopmail-toaster rpm for my
centos 5.3 with this new source file.

Till now i followed the following procedure to upgrade any src
package,


Why don't you wait until it's stable and a package is released
officially here? From what Eric says, it will be 2-3 months before
the coding is even done, and then you have to content with bugs and
bug reports.
Once the software is completed and stable, I will release an
official RPM for replacement.



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com http://www.vickersconsulting.com)
  Vickers Consulting Group offers Qmailtoaster support and
installations.
If you need professional help with your setup, contact them today!

-
   Please visit qmailtoaster.com http://qmailtoaster.com for the
latest news, updates, and packages.
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com
   For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
mailto:qmailtoaster-list-h...@qmailtoaster.com





--
With Regards
Vinay



--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread karpaha vinayaham
Thanks  Eric, let's wait for a stable release.


On Wed, Aug 19, 2009 at 7:09 PM, Eric Shubert e...@shubes.net wrote:

 I'm fairly sure that 5.5 will fix your problem. I believe that it has
 domain limit capability as well. It will certainly be 2-3 months or so
 before it's ready for production though.




-- 
With Regards
Vinay


Re: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread amit IKF
Dear All,
I want a copy of all incoming and outgoing emails for a domain. With few
replies long time back, I had created a taps file in /var/qmail/control.
The value in tap file is *...@mydomain.com:a...@mydomain.com

Restarted qmail service. But its not working. Can someone tell me where am i
wrong.

Thanks and regards,

Amit


RE: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread Justice London
I'd kinda be hesitant to have an easy method for people to upgrade to this
release until it's in production. I foresee some just grabbing it and
building/installing. One thing I should mention is that I believe that the
quota issues are fixed in the current release on 64-bit OS versions. I
encountered some problems with quotas that were well above 2 gigs on the
production mail-server that were then mirrored on a 32-bit server.

I think the underlying issue with quotas is simply going to be a long
variable issue since it seemed to work fine under the 64-bit system.

Justice London
E-mail:  jlon...@lawinfo.com

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: Wednesday, August 19, 2009 6:29 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] vpopmail upgrade

Jake Vickers wrote:
 karpaha vinayaham wrote:
 Hi Eric

 This new release is really a good news, if its solves the quota limit 
 of 2GB per users.  if the new version solve this issues, i will be 
 testing this with my test machine.

 Can you guide me, how do i make the vpopmail-toaster rpm for my centos 
 5.3 with this new source file.

 Till now i followed the following procedure to upgrade any src package,
 
 Why don't you wait until it's stable and a package is released 
 officially here? From what Eric says, it will be 2-3 months before the 
 coding is even done, and then you have to content with bugs and bug 
 reports.
 Once the software is completed and stable, I will release an official 
 RPM for replacement.
 
Jake,
I think he's asking how he can help with the testing process. Yes it 
will be a few months before a stable (production) version is ready. In 
the meantime though, Matt can use all of the testers he can.

If you'd like to test, I believe that the sources are in an svn repo. 
Justice, can you lend a hand here? Perhaps we can come up with spec file 
that testers can use to roll their own rpms. Any takers for this?

I must repeat, that this is for TEST MACHINES ONLY. This is a warning 
for those of you who think they're going to run it on a live machine. 
Don't even go there. This is like alpha code, not even beta yet.

-- 
-Eric 'shubes'



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com



No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.60/2311 - Release Date: 08/19/09
06:03:00


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail upgrade

2009-08-19 Thread Eric Shubert

Justice London wrote:

I'd kinda be hesitant to have an easy method for people to upgrade to this
release until it's in production. I foresee some just grabbing it and
building/installing.


Good point. Perhaps we can put in a few preventive measures. Like maybe 
require the test machine to not have spamassassin installed, then put a 
rule in the spec that says it conflicts with spamassassin. Would that be 
safe enough?


I really hate turning away people who want to test but aren't quite up 
to building their own rpms yet.



One thing I should mention is that I believe that the
quota issues are fixed in the current release on 64-bit OS versions. I
encountered some problems with quotas that were well above 2 gigs on the
production mail-server that were then mirrored on a 32-bit server.
I think the underlying issue with quotas is simply going to be a long
variable issue since it seemed to work fine under the 64-bit system.


That's undoubtedly a part of it. With 5.5 there is a daemon that 
monitors disk space, likely to support the domain limit feature. FWIW.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] vpopmail upgrade

2009-08-18 Thread Eric Shubert
Matt Brookings at inter7.com is feverishly working on rolling out 
vpopmail 5.5. This is a fairly major rewrite. Backends will be separate 
modules, and as such will not need to be compiled into the main program. 
They'll be dynamically configurable, instead of having to specify them 
at ./config/compile time.


Considering what he's written to me, I've decided to wait on doing ldap 
support for QMT until ldap is available with 5.5. That will be a couple 
months before it ready to test.


However, testing of 5.5 with mysql is ready for testing now. This is 
strictly a development version at this point, only for testing. If 
anyone would like to do some testing on it, Matt would surely appreciate 
it. If you're interested, c'mon over to the vpopmail list 
(vch...@inter7.com) and join the fun. I'll help out where I can, but 
I'll be testing ldap when Matt has it availble.


Quotas will be fixed in 5.5 (they're fixed in 5.4.28 as well).

qmailadmin 1.4 works with 5.5, and is available for testing as well.

And get this. Matt says that vQadmin isn't dead at all, and will be 
upgraded for 5.5. I'm thinking we should get the upgraded vQadmin 
working on the toaster in conjunction with the 5.5 release. (Sorry Jake).


Anybody want to do some testing?
Thoughts?
--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail upgrade

2009-08-18 Thread Eric Shubert
I meant to post this to the development list, but I suppose it doesn't 
hurt here either. ;)


Eric Shubert wrote:
Matt Brookings at inter7.com is feverishly working on rolling out 
vpopmail 5.5. This is a fairly major rewrite. Backends will be separate 
modules, and as such will not need to be compiled into the main program. 
They'll be dynamically configurable, instead of having to specify them 
at ./config/compile time.


Considering what he's written to me, I've decided to wait on doing ldap 
support for QMT until ldap is available with 5.5. That will be a couple 
months before it ready to test.


However, testing of 5.5 with mysql is ready for testing now. This is 
strictly a development version at this point, only for testing. If 
anyone would like to do some testing on it, Matt would surely appreciate 
it. If you're interested, c'mon over to the vpopmail list 
(vch...@inter7.com) and join the fun. I'll help out where I can, but 
I'll be testing ldap when Matt has it availble.


Quotas will be fixed in 5.5 (they're fixed in 5.4.28 as well).

qmailadmin 1.4 works with 5.5, and is available for testing as well.

And get this. Matt says that vQadmin isn't dead at all, and will be 
upgraded for 5.5. I'm thinking we should get the upgraded vQadmin 
working on the toaster in conjunction with the 5.5 release. (Sorry Jake).


Anybody want to do some testing?
Thoughts?



--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




RE: [qmailtoaster] vpopmail upgrade

2009-08-18 Thread Justice London
I'll install it on a virtual-machine and play with it a bit.

Justice London
E-mail:  jlon...@lawinfo.com

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: Tuesday, August 18, 2009 3:57 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] vpopmail upgrade

I meant to post this to the development list, but I suppose it doesn't 
hurt here either. ;)

Eric Shubert wrote:
 Matt Brookings at inter7.com is feverishly working on rolling out 
 vpopmail 5.5. This is a fairly major rewrite. Backends will be separate 
 modules, and as such will not need to be compiled into the main program. 
 They'll be dynamically configurable, instead of having to specify them 
 at ./config/compile time.
 
 Considering what he's written to me, I've decided to wait on doing ldap 
 support for QMT until ldap is available with 5.5. That will be a couple 
 months before it ready to test.
 
 However, testing of 5.5 with mysql is ready for testing now. This is 
 strictly a development version at this point, only for testing. If 
 anyone would like to do some testing on it, Matt would surely appreciate 
 it. If you're interested, c'mon over to the vpopmail list 
 (vch...@inter7.com) and join the fun. I'll help out where I can, but 
 I'll be testing ldap when Matt has it availble.
 
 Quotas will be fixed in 5.5 (they're fixed in 5.4.28 as well).
 
 qmailadmin 1.4 works with 5.5, and is available for testing as well.
 
 And get this. Matt says that vQadmin isn't dead at all, and will be 
 upgraded for 5.5. I'm thinking we should get the upgraded vQadmin 
 working on the toaster in conjunction with the 5.5 release. (Sorry Jake).
 
 Anybody want to do some testing?
 Thoughts?


-- 
-Eric 'shubes'



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com



No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.60/2311 - Release Date: 08/18/09
06:03:00


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Vpopmail

2009-04-25 Thread Anil Aliyan
Dear Jakes,

I want to enable default domain feature in vpopmail-toaster. I dont see any 
options in the installer script to add my option --enable-detfault-domain while 
rebuilding the src rpms.


Regards,

Anil Aliyan

Re: [qmailtoaster] Vpopmail

2009-04-25 Thread Jake Vickers

Eric Shubert wrote:

Anil Aliyan wrote:

Dear Jakes,
 
I want to enable default domain feature in vpopmail-toaster. I dont 
see any options in the installer script to add my option 
--enable-detfault-domain while rebuilding the src rpms.
 
 
Regards,
 
Anil Aliyan


I don't have a definitive answer, but this might help. (Jake knows 
better than me about this, I'm sure).


If you use qtp-newmodel to install/upgrade, you can pass parameters to 
the rpmbuild command. See 
http://qtp.qmailtoaster.com/trac/wiki/qtp-newmodel#Tailoring


I'm not sure if that'll do it for you or not though. You might need to 
tailor the .spec file.




Correct. You would need to edit the .spec file and add that parameter.


-
Managed Qmailtoaster servers are now available
  Visit http://qmailtoaster.com/QMTManaged.html to order yours today!

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

Please visit qmailtoaster.com for the latest news, updates, and packages.


 To unsubscribe, e-mail: testing-unsubscr...@qmailtoaster.com
For additional commands, e-mail: testing-h...@qmailtoaster.com




Re: [qmailtoaster] vpopmail

2008-12-24 Thread Eric Shubert

Eric C. Broch wrote:

Hi list,

One of the users on my qmailtoaster is receiving messages with 
attachments from every sender but one. It seems the attachment is being 
stripped off at the server when it is downloaded using pop and imap. My 
client is using outlook express and I had her set it up to leave a copy 
of the message on the server. The message on the server has the 
attachment but when downloaded the attachment doesn’t come with it. This 
is only happening with one sender. All other attachments from all other 
senders are received. Any ideas would be helpful. Let me know if 
clarification is necessary.


Eric

Eric C. Broch

White Horse Technical Consulting



Sounds like something unique to her client. Client anti-virus setting 
perhaps? Some other setting that prohibits attachments?


--
-Eric 'shubes'


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



RE: [qmailtoaster] vpopmail

2008-12-24 Thread Eric C. Broch
Eric S.,

Thanks for your reply. I was in error. The attachment is not being stripped
off, something in the MIME(?) is being changed as follows:


FROM THIS (NORMAL, The same attachment sent from my business account): 

--=_NextPart_000_002D_01C9659E.9B87DBA0
Content-Type: application/msword;
 name=.doc
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename= .doc

[ATTACMENT FOLLOWS...]




 
 TO THIS (ABNORMAL, The attachment sent from the problem account):

-_=_NextPart_001_01C9657F.6F4939DE
Content-Type: application/ms-tnef;
 name=winmail.dat
Content-Transfer-Encoding: base64

[ATTACHMENT FOLLOWS...]


After download the attachment is still there and the size of the email is
normal; however, the content is not showing up as an attachment. Somewhere
in the process, not necessarily on the qmailtoaster, it seems, this header
is being changed. I don't know where though, or why. Any insight would be
greatly appreciated.


Eric C. Broch
White Horse Technical Consulting













-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: Wednesday, December 24, 2008 8:17 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] vpopmail

Eric C. Broch wrote:
 Hi list,
 
 One of the users on my qmailtoaster is receiving messages with 
 attachments from every sender but one. It seems the attachment is being 
 stripped off at the server when it is downloaded using pop and imap. My 
 client is using outlook express and I had her set it up to leave a copy 
 of the message on the server. The message on the server has the 
 attachment but when downloaded the attachment doesn't come with it. This 
 is only happening with one sender. All other attachments from all other 
 senders are received. Any ideas would be helpful. Let me know if 
 clarification is necessary.
 
 Eric
 
 Eric C. Broch
 
 White Horse Technical Consulting
 

Sounds like something unique to her client. Client anti-virus setting 
perhaps? Some other setting that prohibits attachments?

-- 
-Eric 'shubes'


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] vpopmail

2008-12-24 Thread Constantin IOAJA

Eric C. Broch wrote:

Eric S.,

Thanks for your reply. I was in error. The attachment is not being stripped
off, something in the MIME(?) is being changed as follows:


FROM THIS (NORMAL, The same attachment sent from my business account): 


--=_NextPart_000_002D_01C9659E.9B87DBA0
Content-Type: application/msword;
 name=.doc
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename= .doc

[ATTACMENT FOLLOWS...]




 
 TO THIS (ABNORMAL, The attachment sent from the problem account):


-_=_NextPart_001_01C9657F.6F4939DE
Content-Type: application/ms-tnef;
 name=winmail.dat
Content-Transfer-Encoding: base64

[ATTACHMENT FOLLOWS...]


After download the attachment is still there and the size of the email is
normal; however, the content is not showing up as an attachment. Somewhere
in the process, not necessarily on the qmailtoaster, it seems, this header
is being changed. I don't know where though, or why. Any insight would be
greatly appreciated.


Eric C. Broch
White Horse Technical Consulting


  

http://www.kopf.com.br/winmail/winmail.php

Winmail.dat files are in fact TNEF attachments (transport neutral 
encapsulation format) sent by the Microst Outlook, Outlook Express or 
Microsoft Exchange applications.
How to Prevent the Winmail.dat File from Being Sent. 
Winmail.dat Reader  is good for decode.


http://facstaff.gpc.edu/~jbenson/resource/winmail.htm

When an Outlook user composes and sends a message using either Rich 
Text Format or HTML Format, Outlook automagically generates a file, 
winmail.dat,
and attaches it to the end of the message. winmail.dat contains 
formatting information, in a human-unreadable form, that Outlook will 
use on the receiving end to
display this email message correctly. Unfortunately, Outlook is the ONLY 
email client program that can use this information! Netscape Messenger, 
Eudora*, and other email client programs don't understand this information.




 Constantin

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



RE: [qmailtoaster] vpopmail

2008-12-24 Thread Eric C. Broch
Constantin,

Thanks a lot!!!

I just had my client start using Outlook and the attachment was seen
instantly.

Eric

Eric C. Broch
White Horse Technical Consulting



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] vpopmail

2008-12-23 Thread Eric C. Broch
Hi list,

 

One of the users on my qmailtoaster is receiving messages with attachments
from every sender but one. It seems the attachment is being stripped off at
the server when it is downloaded using pop and imap. My client is using
outlook express and I had her set it up to leave a copy of the message on
the server. The message on the server has the attachment but when downloaded
the attachment doesn't come with it. This is only happening with one sender.
All other attachments from all other senders are received. Any ideas would
be helpful. Let me know if clarification is necessary.

 

Eric

 

Eric C. Broch

White Horse Technical Consulting



[qmailtoaster] vpopmail persistant mysql connections

2008-09-17 Thread Quinn Comendant
Does vpopmail use persistent mysql connections? To reduce mysql memory usage, 
I'd like there to be fewer sleeping vpopmail db connections:

| Id   | User | Host  | db | Command | Time | State | Info  
   |
| 394  | vpopmail | localhost | vpopmail   | Sleep   | 10   |   |   
   |
| 1014 | vpopmail | localhost | vpopmail   | Sleep   | 120  |   |   
   |
| 1421 | vpopmail | localhost | vpopmail   | Sleep   | 132  |   |   
   |
| 122  | vpopmail | localhost | vpopmail   | Sleep   | 180  |   |   
   |
| 2003 | vpopmail | localhost | vpopmail   | Sleep   | 24   |   |   
   |
| 1013 | vpopmail | localhost | vpopmail   | Sleep   | 240  |   |   
   |
| 137  | vpopmail | localhost | vpopmail   | Sleep   | 242  |   |   
   |
| 895  | vpopmail | localhost | vpopmail   | Sleep   | 264  |   |   
   |
| 865  | vpopmail | localhost | vpopmail   | Sleep   | 266  |   |   
   |
| 737  | vpopmail | localhost | vpopmail   | Sleep   | 269  |   |   
   |
| 709  | vpopmail | localhost | vpopmail   | Sleep   | 299  |   |   
   |
| 700  | vpopmail | localhost | vpopmail   | Sleep   | 300  |   |   
   |
| 581  | vpopmail | localhost | vpopmail   | Sleep   | 310  |   |   
   |
| 24   | vpopmail | localhost | vpopmail   | Sleep   | 442  |   |   
   |
| 386  | vpopmail | localhost | vpopmail   | Sleep   | 60   |   |   
   |
| 12   | vpopmail | localhost | vpopmail   | Sleep   | 69   |   |   
   |
| 1401 | zero | localhost | zero   | Sleep   | 149  |   |   
   |

Any ideas?

Quinn

-- 
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 554 9555

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] vpopmail persistant mysql connections

2008-09-17 Thread Jake Vickers

Quinn Comendant wrote:

Does vpopmail use persistent mysql connections? To reduce mysql memory usage, 
I'd like there to be fewer sleeping vpopmail db connections:

| Id   | User | Host  | db | Command | Time | State | Info  
   |
| 394  | vpopmail | localhost | vpopmail   | Sleep   | 10   |   |   
   |
| 1014 | vpopmail | localhost | vpopmail   | Sleep   | 120  |   |   
   |
| 1421 | vpopmail | localhost | vpopmail   | Sleep   | 132  |   |   
   |
| 122  | vpopmail | localhost | vpopmail   | Sleep   | 180  |   |   
   |
| 2003 | vpopmail | localhost | vpopmail   | Sleep   | 24   |   |   
   |
| 1013 | vpopmail | localhost | vpopmail   | Sleep   | 240  |   |   
   |
| 137  | vpopmail | localhost | vpopmail   | Sleep   | 242  |   |   
   |
| 895  | vpopmail | localhost | vpopmail   | Sleep   | 264  |   |   
   |
| 865  | vpopmail | localhost | vpopmail   | Sleep   | 266  |   |   
   |
| 737  | vpopmail | localhost | vpopmail   | Sleep   | 269  |   |   
   |
| 709  | vpopmail | localhost | vpopmail   | Sleep   | 299  |   |   
   |
| 700  | vpopmail | localhost | vpopmail   | Sleep   | 300  |   |   
   |
| 581  | vpopmail | localhost | vpopmail   | Sleep   | 310  |   |   
   |
| 24   | vpopmail | localhost | vpopmail   | Sleep   | 442  |   |   
   |
| 386  | vpopmail | localhost | vpopmail   | Sleep   | 60   |   |   
   |
| 12   | vpopmail | localhost | vpopmail   | Sleep   | 69   |   |   
   |
| 1401 | zero | localhost | zero   | Sleep   | 149  |   |   
   |
  


When 5.0 first came out, there was a terrible issue with vpopmail losing 
the connection after a (what seemed random) amount of time. There was a 
patch added to vpopmail to fix this - I believe it would query the DB 
every once in a while (ping if you will) to keep the connection alive.



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] vpopmail over-quota phantoms

2008-03-05 Thread Eric Shubert
Quinn Comendant wrote:
 This week we've received a flood of clients complaining about vpopmail's 
 Your mailbox on the server is now more than 90% full messages, when they 
 were nowhere near over quota. There have been about 3-people-a-day for the 
 past week noting this, and each time I check the `vuserinfo` command and also 
 `du -sk /path/to/Maildir` both report usage well below quota (although the 
 two numbers *are* often different, WTF?).
 
 In each case, I check the domain-quota too, compared with `du -sk 
 /path/to/domain` and the user's domain is always well under quota too (space 
 and files).
 
 This may be explained that the users received a few BIG emails they 
 subsequently downloaded and removed from the server before I could analyze 
 their usage. But with such a wave of complaints and none before now I'm 
 paranoid something is wrong with the Courier-Vpopmail quota reporting.
 
 Has anybody noticed this before? Are vpopmail quotas buggy? Am I paranoid?
 
 Quinn
 

I think quotas are possibly buggy. You're not paranoid. I'd start
investigating by looking into how it's keeping track of used space.

-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] vpopmail over-quota phantoms

2008-03-04 Thread Quinn Comendant
This week we've received a flood of clients complaining about vpopmail's Your 
mailbox on the server is now more than 90% full messages, when they were 
nowhere near over quota. There have been about 3-people-a-day for the past week 
noting this, and each time I check the `vuserinfo` command and also `du -sk 
/path/to/Maildir` both report usage well below quota (although the two numbers 
*are* often different, WTF?).

In each case, I check the domain-quota too, compared with `du -sk 
/path/to/domain` and the user's domain is always well under quota too (space 
and files).

This may be explained that the users received a few BIG emails they 
subsequently downloaded and removed from the server before I could analyze 
their usage. But with such a wave of complaints and none before now I'm 
paranoid something is wrong with the Courier-Vpopmail quota reporting.

Has anybody noticed this before? Are vpopmail quotas buggy? Am I paranoid?

Quinn

-- 
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 554 9555

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] vpopmail

2007-07-20 Thread Janno Sannik
That number is memory limit for pop3 daemon. It should be big enough for 
daemon to run, but this limit is made to limit daemon memoy usage if 
something goes wrong or someone is abusing the system ( program error, 
DDOS).



Richard Lopez wrote:


This worked perfectly, but what does /var/qmail/supervise/pop3/run   
used for or what does this mean  If i raise the value ,, 
would it be better? ?


 

 




2007/7/19, Johannes Weberhofer, Weberhofer GmbH [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:


Hello Richard!

Check
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg13659.html

Best regards,
Johannes

Richard Lopez schrieb:
 I have centos5

 when a user tries to enter www.example.com/webmail
http://www.example.com/webmail
 http://www.example.com/webmail  there is not a problem
entering  but
 when  his Outlook account is configured he does not
recognize  the User
 or the Password.

 the error that appears Is the following:

 The server response was:/home/vpomail/bin/vckpw:error while
searching
 shared libraries:libgssapi_krb5.son.2:failed to map segment from
shared
 object. cannot allocate memory

 thanking you in advance for your help


--


|-
|  weberhofer GmbH   | Johannes Weberhofer
|  information technologies
|  Austria, 1080 Wien, Blindengasse 52/3
|---

-
QmailToaster hosted by: VR Hosted  http://www.vr.org
-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]






  1   2   >