Re: [qmailtoaster] qmail info

2012-07-05 Thread Nabin Limbu
Easy way :

# qmlog -f smapd

# qmlog -f clamd

With Regards
Nabin Limbu



-Original Message-
From: Muhammad Wajid 
To: qmailtoaster-list@qmailtoaster.com
Date: Thu, 5 Jul 2012 16:31:40 +0500
Subject: [qmailtoaster] qmail info

> Hi,
>   I recentely install qmail on centos 5.8 but i want to know that how
> to
> check spam and antivirus working or not?
> 
> Regards
> 



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



Re: [qmailtoaster] Log email Account creation date

2012-02-09 Thread Nabin Limbu
Hi Bharath,

This is a wonderful tweak. I was also one for waiting the solution in the
list. Thank you for the detailed steps.

With Regards
Nabin Limbu


-Original Message-
From: Bharath Chari 
To: qmailtoaster-list@qmailtoaster.com
Date: Fri, 10 Feb 2012 10:41:22 +0530
Subject: [qmailtoaster] Log email Account creation date

> Here goes. It's a manual process for each domain, but it seems to work
> :)
> 
> Note : A separate log table and trigger has to be created for each 
> domain. This example is for a domain called example.com
> 
> Please execute the following commands on the vpopmail database from the
> MySQL command prompt. Do not use phpmyadmin.
> 
> 1) mysql -uroot -p vpopmail
> Enter your mysql root password here.
> 
> 2) Create a log table for the domain example.com (I am going to use the
> table name log_example_com). Replace with your actual domain name
> 
> 
> CREATE TABLE `log_example_com` (
>`user_id` varchar(255) character set latin1 NOT NULL,
>`creation_date` datetime NOT NULL
> ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
> Query OK, 0 rows affected (0.04 sec)
> 
> 
> 3) Create a trigger - the trigger name I have used is 
> example_com_trigger and the corresponding table for the domain 
> example.com is example_com
> 
> mysql> delimiter $$
> mysql> CREATE TRIGGER example_com_trigger
>  -> AFTER insert on example_com
>  -> FOR EACH ROW
>  -> BEGIN
>  -> insert into log_example_com values(new.pw_name,NOW());
>  -> END$$
> 
> mysql> delimiter ;
> (Resetting the delimiter is critical)
> 
> 4) Exit the mysql shell. On creating a new ID in the domain
> example.com, 
> you should get the ID and creation date/time in the table
> log_example_com.
> 
> Pak : Since you are the resident wikifying expert, can you please add
> it 
> to the wiki :)
> 
> Bharath
> 
> 
> 
> ---
> --
> 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




[qmailtoaster] move domain to another qmailtoaster running server

2011-09-19 Thread Nabin Limbu
Hi,

I have multiple domains with multiple servers running qmailtoaster.

I would like to move one domain from server A to server B (both running
qmailtoaster).

In order to move domain I am aware, I need to:

- add domain in new server with vadddomain command
- copy /home/vpopmail/domains/domain-name
- copy table "domain-x" from vpopmail database
- copy preferences from /var/lib/squirrelmail/prefs/*domain*

Is there anything more I'm missing or is there any thing I need to be
aware of?


With Regards
Nabin Limbu



-
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] Kaspersky with qmail-toaster

2011-04-24 Thread Nabin Limbu
Hi,

Has anyone installed Kaspersky in replace of clamav with qmail-toaster? 

With Regards
Nabin Limbu



-
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] QmailToaster ip address changes...

2011-04-03 Thread Nabin Limbu
Yes, of course you can.

By default, should be no problem in changing ip address, unless you have
explicitly configured your services to listen on specific ip address.


With Regards
Nabin Limbu


-Original Message-
From: "Bilgehan Poyraz (Telcoset)" 
To: "qmailtoaster-list@qmailtoaster.com" 
Date: Sun, 3 Apr 2011 21:11:44 +
Subject: [qmailtoaster] QmailToaster ip address changes...

> Dear all,
> 
> Can I change ip address after the qmailtoaster installation?
> did you change it before?
> 
> Bilgehan
> ---
> --
> 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] what is everyone using for queue management

2011-03-26 Thread Nabin Limbu
Hi,

I would use qmqtool.

Stats of all queue
# qmqtool -s

Remote queue
# qmqtool -R

Delete queued mail with msg id
# qmqtool -d 

Delete queued mail with string match
# qmqtool -d -f 


With Regards
Nabin Limbu

-Original Message-
From: David Milholen 
To: qmailtoaster-list@qmailtoaster.com
Date: Sat, 26 Mar 2011 11:27:34 -0500
Subject: [qmailtoaster] what is everyone using for queue management

> To All,
>   what is everyone using for queue management?
> I recently had a multiple attack of compromised and just spam fill my 
> queue up and I needed to delete them.
> I used qmHandle but I was very clunky with the syntax.
> thanks
> 
> -- 
> 
> David Milholen
> Project Engineer
> P:501-318-1300
> 



-
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] Backup emails during smtp or delivery!

2010-12-06 Thread Nabin Limbu
Does "tapping" help you?

Check out this discussion

http://comments.gmane.org/gmane.mail.qmail.toaster/31332

With Regards
Nabin Limbu


-Original Message-
From: Tony White 
To: qmailtoaster-list@qmailtoaster.com
Date: Mon, 06 Dec 2010 19:43:51 +1100
Subject: [qmailtoaster] Backup emails during smtp or delivery!

> Hi folks,
>Can someone suggest how I can make a duplicate of emails into
> another account for backup purposes please.
>One of my clients stating they have not received accounts
> and are refusing to pay.
>As you can imagine no-one can afford to have this happen often
> so I thought I might "nip it in the bud" so to speak!
>Obviously if there is another method of doing this I would
> appreciate
> comments.
> 
> 
> -- 
> best wishes
>Tony White
> 
> 
> ---
> --
> 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] message bouncing with quota error without quota full

2010-09-30 Thread Nabin Limbu
Hi,

It seems its a bug in vpopmail for quota more than 2GB. While googling, I 
found that quota should not be set more than 2GB. Is this issue addressed 
in latest QMT?


Vulnerable Systems:
 * Vpopmail version 5.50
 * QmailAdmin version 1.2.12

There are several functions/files to fix in vpopmail and qmailadmin:
 * vpopmail-5.5.0: quota.c, function quota_percent
 * vpopmail-5.5.0: vuserinfo.c, function display_user
 * qmailadmin-1.2.12: function quota_to_megabytes
 * qmailadmin-1.2.12: function maildirquota.c, wrapreaduserquota, 
readdomainquota, readuserquota

Proof of Concept:
Just try to set more than 2GB quota to a user ("./vsetuserquota 
u...@domain $((3*1024*1024*1024))") and see with ("./vuserinfo 
u...@domain") that the user's quota usage is always 100%, or with 
qmailadmin the quota never grows, gets stalled at 2048 MB. Put more than 2 
GB of data in a mailbox and see that the quota overflows, i.e. -1114.49 / 
unlimited.

Patch Availability:
There are no official patches yet, all the sysadmins that use 
vpopmail/qmailadmin should be aware of this because vendor has given no 
date to release a new version or patch.

To fix that, no "int" neither "long" neither "off_t" should be used, using 
a "long long int" the problem is just fixed until the near future. Also, 
casting is not a solution when the variable was already overflowed as in 
newest version (vpopmail 5.5.0: maildirquota.c line 294).

Disclosure Timeline:
 * 20/Apr/2009: Vendor is first notified.
 * 20/Apr/2009: Vendor responds that issues was fixed in 5.5 branch.
 * 23/Apr/2009: Vendor is notified again that the problem was not fixed.
 * 23/Apr/2009: Vendor responds that there is no qmailadmin version 
compatible with 5.5 branch yet.
 * 29/Apr/2009: Vendor is asked when they are planning to release patch or 
new version and no response was received.
 * 8/May/2009: Public Disclosure of the vulnerability.
With Regards
Nabin Limbu
Chief Technical Officer
Himal Technologies Pvt. Ltd.


-Original Message-
From: "Nabin Limbu" 
To: qmailtoaster-list@qmailtoaster.com
Date: Thu, 30 Sep 2010 18:39:52 +0545
Subject: [qmailtoaster] message bouncing with quota error without quota 
full

> Hi all,
> I am using qmail-toaster-1.03-1.3.20 in centos 5.4 since few years back
> without any issue. 
> 
> Suddenly, I'm getting mail bouncing message stating "user is over
> quota" 
> only for some users in a domain. Amazingly, their quota is not 5%
> utilized 
> also. (around 7MB in 4 GB)
> 
> # more maildirsize 
> 4244635648S
> 7689245 83
> 
> When I tried to increase quota to 4 GB via qmailadmin web interface, I
> see 
> it updated to 4GB both inside Maildir/maildirsize of user and also
> inside 
> vpopmail mysql database, but, I still see old quota when seen from 
> qmailadmin.
> 
> Could you pls help me to troubleshoot the issue.
> 
> 
> Bounced message:
> 
> Hi. This is the qmail-send program at mail1.domain.com.
> I'm afraid I wasn't able to deliver your message to the following 
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> :
> user is over quota
> 
> 
> 
> ---
> --
> 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




[qmailtoaster] message bouncing with quota error without quota full

2010-09-30 Thread Nabin Limbu
Hi all,
I am using qmail-toaster-1.03-1.3.20 in centos 5.4 since few years back 
without any issue. 

Suddenly, I'm getting mail bouncing message stating "user is over quota" 
only for some users in a domain. Amazingly, their quota is not 5% utilized 
also. (around 7MB in 4 GB)

# more maildirsize 
4244635648S
7689245 83

When I tried to increase quota to 4 GB via qmailadmin web interface, I see 
it updated to 4GB both inside Maildir/maildirsize of user and also inside 
vpopmail mysql database, but, I still see old quota when seen from 
qmailadmin.

Could you pls help me to troubleshoot the issue.


Bounced message:

Hi. This is the qmail-send program at mail1.domain.com.
I'm afraid I wasn't able to deliver your message to the following 
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

:
user is over quota



-
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] Re: receive copy email while receive and send

2010-09-19 Thread Nabin Limbu
Yes, creating subdomain and forwarding to new address seems to be easier way. 
 
With Regards
Nabin Limbu



-Original Message-
From: Amit Dalia 
To: "qmailtoaster-list@qmailtoaster.com" 
Date: Sun, 19 Sep 2010 20:37:02 +0530
Subject: [qmailtoaster] Re: receive copy email while receive and send

> What Eric said can be done if you need to TAP all email ids in a
> domain. But if you don't want to TAP any email then all email id
> entries need to create manually in TAP file.
> 
> Amit
> 
> At Sunday, 19-09-2010 on 20:10 Eric Shubert wrote:
> 
> Nabin Limbu wrote:
> > Hi,
> > 
> > Via tap file, I would like to forward all emails of all users
> (except to
> > forwarding user) of a domain to one user of SAME domain.
> 
> Why do you want to use the same domain?
> 
> Creating a domain exclusively for taps is pretty trivial. I believe
> it 
> could be a sub-domain of your existing one, such as taps.domain.com.
> So 
> your taps config might look like:
> @domain.com:masteru...@taps.domain.com
> 
> Note, @domain.com is very much different from *.domain.com.
> 
> -- 
> -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 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] Re: receive copy email while receive and send

2010-09-19 Thread Nabin Limbu
Hi,

Via tap file, I would like to forward all emails of all users (except to
forwarding user) of a domain to one user of SAME domain.

*.domain.com : masteru...@domain.com => Would create email routing loop

So, do I need to write each email address in separate line (lots of users
to add).

As, I am not familiar with qregexp, is it possible to write any regular
expression rule to have short rules instead of writing all users of the
domain in each line.

With Regards
Nabin Limbu


-Original Message-
From: Eric Shubert 
To: qmailtoaster-list@qmailtoaster.com
Date: Thu, 16 Sep 2010 11:07:52 -0700
Subject: [qmailtoaster] Re: receive copy email while receive and send

> Nabin Limbu wrote:
> > 
> > I am using qmail-toaster-1.03-1.3.20. Is the tap module included with
> this 
> > qmailtoaster or do I need to patch and recompile it again?
> 
> It's included, although there's no (empty) file for the configuration.
> http://wiki.qmailtoaster.com/index.php/Taps
> 
> -- 
> -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 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] receive copy email while receive and send

2010-09-16 Thread Nabin Limbu
Hi Amit,

Thank u for the info. The feature was exactly what I was looking for.

I am using qmail-toaster-1.03-1.3.20. Is the tap module included with this 
qmailtoaster or do I need to patch and recompile it again?

With Regards
Nabin Limbu


-Original Message-
From: Amit Dalia 
To: "qmailtoaster-list@qmailtoaster.com" 
Date: Thu, 16 Sep 2010 17:20:54 +0530
Subject: Re: [qmailtoaster] receive copy email while receive and send

> Hi Nabin,
> 
> This can be done with the help of TAP file. It is there in control
> folder. Just TAPPING in Qmail.
> 
> Regards,
> 
> Amit
> 
> At Thursday, 16-09-2010 on 17:20 Nabin Limbu wrote:
> 
> Hi,
> 
> I am using qmailtoaster. One of my customer domain name has about 30
> email
> addresses for his office. His requirement in his domain is :
> 
> 1) Whenever any staff receives email, he should also get 1 copy of
> email
> to his inbox
> 2) Whenever any staff sends email, he should also get 1 copy of email
> to
> his inbox.
> 
> Can anyone provide tips to full fill the above conditions in
> qmailtoaster?
> 
> With Regards
> Nabin Limbu
> 
> ---
> --
> 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




[qmailtoaster] receive copy email while receive and send

2010-09-16 Thread Nabin Limbu
Hi,

I am using qmailtoaster. One of my customer domain name has about 30
email
addresses for his office. His requirement in his domain is  :

1) Whenever any staff receives email, he should also get 1 copy of email
to his inbox
2) Whenever any staff sends email, he should also get 1 copy of email to
his inbox.

Can anyone provide tips to full fill the above conditions in
qmailtoaster?


With Regards
Nabin Limbu



-
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