[vchkpw] [SPAM] Re: [vchkpw] Prevent certain users from send emails outside the local domain.

2012-06-08 Thread Todor Petkov

On 06/08/2012 01:04 PM, Pritam D. Gautam wrote:

Hi,

I am required to prevent certain users on my Qmail Server from sending
emails to outside domain.
In my understanding, only IP Addresses can be prevented from relaying!
But that's something which does not work in my environment considering
we have DHCP setup.

Any help will be appreciated.

Regards,






Hello,


not 100% sure, but I think you can do it via vmoduser and adding -r flag 
to the user. This, however, will require smtp auth usage.

For more information, look at http://www.qmailwiki.org/Vpopmail#vmoduser



Regards,




!DSPAM:4fd1e57b34201112293439!



Re: [vchkpw] vchkpw auth remote database

2012-10-23 Thread Todor Petkov

On 10/23/2012 05:44 AM, kengheng wrote:

Yape, it got mysql client installed. As I could actually using it to
connect to remote mysql db.


Can you please show the content of the service run file?


!DSPAM:508660a734173610115457!



Re: [vchkpw] vchkpw auth remote database

2012-10-25 Thread Todor Petkov

On 10/25/2012 10:17 AM, kengheng wrote:

Hi, I've grant the privilege to user@vpopmailhost, however the vpopmail
behaviour as below:

vuserinfo can query the user result

however,when run vchkpw for smtp-auth, it return the err msg as below:
vchkpw-submission: vpopmail user not found t...@abc.com:

On 10/23/12 11:07 PM, Thibault Richard wrote:

vuserinfo only make a SELECT, that why I asked for other rights



Can you dump the traffic between the mail server and mysql? I guess it 
will be easier than to start mysql with logging and see queries from 
other clients.



Otherwise the problem is quite strange..

!DSPAM:5088e89334171833546067!



Re: [vchkpw] Qmailadmin -- on a Remote Machine

2013-02-19 Thread Todor Petkov

On 18/02/2013 11:37 PM, Remo Mattei wrote:

Hello everyone,
I have a qmail server running and for some reasons qmailadmin does
not install, I have rebuild a new qmail server and the qmailadmin
works fine same version of OS pretty much same configuration but does
not want to listen about having qmailadmin running. So is there a way
to use the new qmail server and run the qmailadmin from there to
access the production qmail server?

Thanks,
Remo




I don't think it's possible. qmailadmin reads the local qmail files to 
find the virtual domains. Not to mention, that you need to access the 
filesystem to create/delete users directories.



Regards,

!DSPAM:512319ca34141265911925!



Re: [vchkpw] Qmailadmin -- on a Remote Machine

2013-02-19 Thread Todor Petkov

On 19/02/2013 07:01 PM, Camille Ollié wrote:

Le 19/02/2013 15:50, Remo Mattei a écrit :
Thanks this is what I thought. Do u guys have an alternative to 
qmailadmin?




There is no way to use qmail with mysql database, and a web
intertface to manage account which i using the database, as postfix
and postfixadmin works ?



You can use MySQL to manage some account info, like changing password 
for example. But for creating/deleting users, you need access to the 
filesystem. vdelivermail does not create the virtual user Maildir, this 
is done by 'vadduser' or the qmailadmin cgi binary.


I have used postfix only in iredmail suite, but there the web interface 
only inserts the domain/user record in the database. The other processes 
(postfix delivery and imap/pop3 logins via dovecot) create the homedir. 
If you delete user/domain, it does delete from the DB, but does not 
touch the filesystem.




!DSPAM:5123a03b34142647110086!



Re: [vchkpw] vpopmail with centos 6 mysql-5.5.30

2013-03-20 Thread Todor Petkov

On 20/03/2013 10:30 AM, Nicholas C. wrote:

Dear all,

I am trying to install a toaster and got into an issue with vpopmail  
after

issuing make command

gcc -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -Xlinker -R
-Xlinker /var/lib/mysql -L/var/lib/mysql  -lmysqlclient -lz -lm 
-lcrypt

/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1

I am trying to install vpopmail 5.4.33 to mysql-5.5.30 on a CentOS 6 
64bits

system

Thanks
Nicholas




Can you send us rpm -qa |grep -i mysql
I guess mysql 5.5.30 is installed from an additional repo, since 
RHEL/Centos6 come with 5.1.67?

In this case check for mysql-shared-compat rpm and install it.

Regards,

!DSPAM:514965af34141932915135!



RE: [vchkpw] vpopmail with centos 6 mysql-5.5.30

2013-03-20 Thread Todor Petkov

On 20/03/2013 11:57 AM, Nicholas C. wrote:



Can you send us rpm -qa |grep -i mysql
I guess mysql 5.5.30 is installed from an additional repo, since
RHEL/Centos6 come with 5.1.67?
In this case check for mysql-shared-compat rpm and install it.


Thanks Todor. Below is the result

[root@localhost vpopmail-5.4.33]# rpm -qa |grep -i mysql
mysql-5.5.30-1.el6.remi.x86_64
mysql-devel-5.5.30-1.el6.remi.x86_64
php-mysql-5.4.13-1.el6.remi.x86_64
compat-mysql51-5.1.54-1.el6.remi.x86_64
mysql-libs-5.5.30-1.el6.remi.x86_64
perl-DBD-MySQL-4.013-3.el6.x86_64
mysql-server-5.5.30-1.el6.remi.x86_64

There is no mysql-shared-compat package.

Regards
Nicholas



Try to install compat-mysql51-devel. Also, try to pass the flags from 
Alessio Cecchi email to the configure script. I remember that I had to 
tell "--enable-libdir=/usr/lib64/mysql/" to the script, otherwise it 
failed.



Regards,



!DSPAM:51496f5334141133994475!



[vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

2013-05-16 Thread Todor Petkov

On 16/05/2013 03:14 PM, swaroop kumar wrote:

Hi All,

I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link
http://qmailrocks.thibs.com/ [1]

I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.

"Unable to chdir to vpopmail/domains/domain directory"

Can any one suggest me to overcome this, quick response is highly
appreciated.

Thanks in Advance.

 
Regards,
Swaroop Kundeti
 


Links:
--
[1] http://qmailrocks.thibs.com/



Hi,

check the directory permissions. ~vpopmail and below must be owned by 
the vpopmail user.



Regards,



!DSPAM:5194a61634121924852515!



[vchkpw] Re: [This is probably spam] Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

2013-05-16 Thread Todor Petkov

On 16/05/2013 03:23 PM, swaroop kumar wrote:

Hi,

Permissions seems to be ok.

drwxrwx--- 8 vpopmail vchkpw 4096 May 16 13:56 vpopmail

Regards,
Swaroop.




Check ~vpopmail/domains and all the directories leading to the 
domain.com one.



!DSPAM:5194ac5434121347158045!