[qmailtoaster] Re: SSO Facility with Samba4 Query

2013-12-02 Thread Pak Ogah

On 12/2/2013 2:17 PM, Vijay Thakur wrote:

Hi,

I have read your thread in Qmail Mailing List.  You have successfully 
implemented Single Sing on facility in your network. Will you share 
your setup in detail and setup document or web reference to create 
this setup for my Corporate requirement.


I want to use a open source solution like Samba4 (already done) for 
SSO. In my scenario, the desktop users will login to there windows/ 
Linux systems. With the system login, they can able to access there 
emails in thunderbird/ outlook, attendance system, our corporate web 
access only etc.. no extra authentication. Please guide.


Thanks in advance.
Vijay Thakur


Hi Vijay,
thank you for your interest, I will share my config/script configuring 
Samba4's ADS/DC with QMailToaster's email account on QMT's Wiki but 
please wait while I do so.
in the mean time you can create/setup a test/separated Samba4 with your 
favorites distro (CentOS/SuSE/Ubuntu/etc), google for this, there are a 
lot docs explaning this


my script is only synchronize vpopmail's table with samba4's ADS.
ps: on your vpopmail database make sure that you have MySQL ver 5 and up 
installed, on table vpopmail.ur_domain_com has clear-text-password on 
pw_clear_passwd


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



Re: [qmailtoaster] Re: Auto password change notification

2013-12-01 Thread Pak Ogah

On 11/29/2013 11:32 PM, Eric Shubert wrote:




Untitled


That's neat.

I wouldn't consider it a practical change for the base QMT though, as 
it's not generic enough. For example, how would it be implemented with 
an LDAP backend? I hope to have an LDAP option for vpopmail when we 
upgrade to vpopmail v5.5.




I don't know about vpopmail with LDAP backend but currently Samba4 has 
Active Directory Support with it's own LDAP engine (no longer requeires 
OpenLDAP).

http://wiki.samba.org/index.php/Samba
And the best thing with Samba's Active Directory that it can be managed 
with Windows Remote Administration Tools (the same tool that you get on 
Win2000/2003/2008 server to manage Users, Groups, Computers)


so what I do now is, using MySQL Triggers to insert a record table 
user_access.dc_notify every time qmailadmin / vpopmail changes table 
vpopmail.holding_com
then a cron script read table user_access.dc_notify and do actions 
Samba4's DC/ADS either creating new user, remove user or change the password


I have test it internally, and I can have user's PC (WinXP on vm) logon 
to Samba4's DC/ADS,

Ms outlook can have address book of all email accounts @holding.com,
And with Active directory that contain user/pass I can have appliances 
(such as Proxy, VPN ) and applications (web, desktop, mobile) to check 
credentials against it.


I know is not that simple, but currently this is the only way I know, to 
provide LDAP/Active Directory support to my network with 
username/password that same with email account.
I don't know when QMT v2.0 will be launch with Dovecot, vpopmail5.5 with 
LDAP, mailman and so on. but I do hope the new version is still 
compatible with old version or at least have migration path


or even great that I can choose what module or configuration applied to 
my old QMT box.
because these configuration requires vpopmail with mysql support, and 
each domain on each table, and clear-text-password


ps:
1. I also have mysql table that contains email's user and md5'ed 
clear-text-password for old application that do not have ability / 
plugin /module to check into DC/ADS
2. And they said, Samba4 is not compatible/suggested/recommended with 
OpenLDAP http://wiki.samba.org/index.php/Samba4/LDAP_Backend
3. does other QMT's corporate / business users still need Active 
directory? if so I may share my script/configuration


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



Re: [qmailtoaster] Re: Auto password change notification

2013-11-29 Thread Pak Ogah

On 9/25/2013 9:44 PM, Eric Shubert wrote:

On 09/25/2013 03:13 AM, Linux wrote:

Hello All,

I need to get Auto password change notification, how can I do it.

Please suggest someone.

Regards,

Vivek Patil

system admin



I don't believe that QMT has this capability. It would need to be 
built into qmailadmin and vqadmin (gui), and vmoduser (cli).


It'd be nice to have though.


Password change on QMT is done by vpopmail
and each time vpopmail change user detail, it's also change user's 
record on MySQL server (vpopmail database)
and since we already running MySQL =5.0 that support trigger, you can 
create a trigger for it.


example:

|CREATE  DEFINER=`pakogah`@`localhost`  TRIGGER  `holding_com_update_trigger`  
AFTER  UPDATE  ON  `holding_com`  FOR  EACH  ROW  BEGIN
insert  into  
`user_access`.`pwd_chg_notify`values(old.pw_name,old.pw_clear_passwd, 
new.pw_clear_passwd);
END

assumption:
- you need to create db.table with name|||user_access.pwd_chg_notify|  with 3 
columns (username, old_pass, new_pass) with type varchar length 50
- your QMT box still has clear password option on / enable, see wiki / milist 
archive about this

ps: someone thought this tips to me on this milist
|

Untitled


Re: [qmailtoaster] Re: Load-balancing in SMTP route

2013-11-29 Thread Pak Ogah



On 10/29/2013 2:24 AM, Eric Shubert wrote:

I think Amit's talking about outbound emails here. MX records only
apply to inbound emails (from external domains).

There's no mechanism built-in that I know of which can do this.

It shouldn't be too difficult to write a script that does it though.
The script would run periodically via cron. It would simply try to
telnet to the smarthost, and if the connection fails, have it modify
your smtproutes file appropriately, and restart qmail.



have you tried HAProxy script ?
HAProxy is load-balance transparant proxy and it's said it can be with
any protocol

example:

this it the config of smtproutes w/ HAProxy
gotoserverA.com:via.haproxybox.net

and on haproxybox, you list multiple smtp ip address

you can see it on
http://blog.secaserver.com/2012/02/high-availability-mysql-cluster-galera-haproxy/
see on haproxy section, on this blog haproxy is load-balancing mysql
connection

ps: I haven't tested it, it just my idea






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



Re: [qmailtoaster] Re: Groupware

2013-10-31 Thread Pak Ogah

On 8/23/2013 9:12 PM, Eric Shubert wrote:

On 08/23/2013 04:25 AM, Nicholas Chua wrote:

Hi,

Anyone running qmail toaster with any free groupware? What is your 
recommendation?


Thanks
Nic


Regards
Nic


-


H. There are 3 or so which have been mentioned in the past. 
eGroupware was one, but wasn't my favorite. I forget which one I was 
favoring, as I haven't really used any of them. Others you can find in 
the list archives.


IIRC, any of them can work ok with QMT, as they have a mail component 
which uses a standard IMAP and SMTP client. Simply need to point the 
config to your QMT, like any other mail client.


Others may chime in regarding what they're using.


I was interested with SOGo
but I dont have time to play with QMT recently

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



Re: [qmailtoaster] Mail Relay

2012-12-19 Thread Pak Ogah

On 12/19/12 14:38, Fernando Endangan wrote:

Hi Everyone,


 Did anyone try doing a mail relay? Like a separate SMTP server and
 how to secure it from spam. Thanks and would appreciate this guys.

 Yours, Butch


 -
I have separated smtp server from pop3/mx server
the installation is the same with standard qmailtoaster but you are not 
add domain to it
still your smtp server need to be connected to your pop3 server, so it 
have the config for reading email account/pass


on smtp server you will need to configure:
- /home/vpopmail/etc/vpopmail.mysql point to same mysql server/db as 
your pop3 configuration (copy paste will do)

- /var/qmail/users/assign also the same (copy paste will do)

other than those files, I forgot what files need to configure for smtp 
server connect to pop3 server


ps: you should also tune files below to allow communication between 
those two server and have identical config

- /var/qmail/control/*
- /etc/mail/spamassassin/*
- /etc/tcprules.d/tcp.smtp






Re: [qmailtoaster] Re: Generating a report for a domain

2012-12-13 Thread Pak Ogah

On 11/20/12 11:19, Casey James Price wrote:

Anyone!?! Help, please...
**

Hi Casey,
I don't know if you still need this. but I stumble upon my colleague's 
blog and found a script to find which account (in a domain) is 
forwarding his email, leave a copy on his account and setup vacation notice


script:
|#!/bin/bash|
|DOM=||/home/vpopmail/domains/domain||.com|
|LOG=||/tmp/user||.txt|
|LOG2=||/tmp/user2||.txt|
|LOG3=||/tmp/hasil-forwad||.txt|

|rm| |-rf $LOG3|
|find| |$DOM -iname Maildir  $LOG|
|awk| |-F/ ||'{print $6}'| |$LOG  $LOG2|
|for| |i ||in| |`||cat| |$LOG2`; ||do|
|||if| |[ -f /$RPX/$i/.qmail ];|
|then|
|||echo| |$i forwad to| | $LOG3|
|||echo| |`||cat| |$DOM/$i/.qmail`  $LOG3|
|||echo| || | $LOG3|
|||fi|
|done|
|rm| |-rf $LOG2 $LOG|

result sample:
|gartha forwad to|
|||akurnia...@holding.com|
|djunaedi forwad to|
|/home/vpopmail/domains/holding||.com||/djunaedi/Maildir/| || 
||/usr/bin/autorespond| |86400 3 
||/home/vpopmail/domains/holding||.com||/djunaedi||/vacation/message| 
|/home/vpopmail/domains/holding||.com||/djunaedi/vacation|

|novitarini forwad to|
|/home/vpopmail/domains/holding||.com||/novitarini/Maildir/|
|mhafiizh forwad to|
|hafiizh@gmail.com 
||/home/vpopmail/domains/holding||.com||/mhafiizh/Maildir/|




Re: [qmailtoaster] re: attacks

2012-11-08 Thread Pak Ogah

There you go,
http://wiki.qmailtoaster.com/index.php/Fail2Ban

On 11/08/12 2:39, Helmut Fritz wrote:

Is there a how to in the wiki for fail2ban and smtp?  I currently use it for
ssh, but do not have it set up yet for smtp.

-Original Message-
From: Postmaster [mailto:postmas...@seawise-chartering.co.uk]
Sent: Wednesday, November 07, 2012 11:30 AM
To: qmailtoaster-list@qmailtoaster.com
Cc: Cecil Yother, Jr.
Subject: Re: [qmailtoaster] re: attacks

On 07/11/2012 20:27, Cecil Yother, Jr. wrote:

On 11/07/2012 11:25 AM, Postmaster wrote:

On 07/11/2012 19:54, Cecil Yother, Jr. wrote:

I am seeing a pronounced increase in attacks on one of my servers.
Is anyone else experiencing this too?






fail2ban and hakuna-matata

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


I use fail2ban and it works wonderfully.  I was just curious if it was
just me or everybody experiencing an uptick in these type of intrusions.





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



Re: [qmailtoaster] horde

2012-10-25 Thread Pak Ogah

On 10/25/12 8:56, sysad...@tricubemedia.com wrote:

Hi all

Fresh install of QMT using Jakes ISO.
All updates from yum and qtp-menu. So now at Centos 5.8

Trying to add Horde for webmail using the wiki guide
http://wiki.qmailtoaster.com/index.php/Adding_Horde_Webmail_to_Toaster

keeps failiing on php-gettext
Error: php53-common conflicts with php-common

my php -v
PHP 5.1.6 (cli) (built: Jun 27 2012 12:21:16)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

Can I update php pt 5.3 without messing up QMT?
or any other guide for Horde.

yes you can, php in qmailtoaster only used for webmail (in this case 
squirrelmail which you are going to replace with horde) and 
admin-toaster which no longer maintained / used


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



Re: [qmailtoaster] Re: How to migrate from Mdaemon to QMT

2012-10-21 Thread Pak Ogah

On 10/20/12 21:19, Amit wrote:

I would have follow below steps:

1) First create all the username and password on new server.

use this script to bulk adding your users
http://wiki.qmailtoaster.com/index.php/Bulk_User_Adding_For_Qmail_Toaster


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



Re: [qmailtoaster] rejecting exe files which are zipped up

2012-07-27 Thread Pak Ogah

On 07/26/12 14:07, Rajesh M wrote:


hi

using simcontrol works when the attachments are not zipped up. however
many malwares / spams are zipped, attached

because the email extension is .zip simcontrol does not reject the same.

can somebody help please

rajesh

Have you tried to install/add SaneSecurity's ClamAV databases?

for manual installation you can follow this tutorial
http://wiki.qmailtoaster.com/index.php/QMT-ISO_Manual_Guide#Adding_SaneSecurity.27s_ClamAV_signature

for automatic installation you can use utility from qtp
http://qtp.qmailtoaster.com/trac/wiki/Features#qtp-install-sanesecurity





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



Re: [qmailtoaster] Re: Reg:Stop clamAv and Simsscan in Internal Mails Transactions

2012-06-27 Thread Pak Ogah

On 06/27/12 11:03, Eric Shubert wrote:



 How to disable clam av and simscan for local to local  mail
transcations.


Regards,
Rajamani 


if you have 2 separate servers (MX w/ POP3 server and SMTP server) like 
I have

then you can ask your users to use SMTP server for outgoing
after that you can configure simscan on SMTP server not to scan incoming 
message from your local networks / authenticated users


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



Re: [qmailtoaster] difference between the various versions of qmail

2012-04-30 Thread Pak Ogah

On 04/29/12 16:38, Giuseppe Perna wrote:

Good morning,
please there is' someone who can give me an explanation on the various
versions of qmailtoaster?

Morning,
let's see if I can describe it simple enough to you

there:
1) Qmailtoaster stable pack
still stable pack contains all various packages needed to install 
qmailtoaster on your favorites OS (centos/suse/mandriva/...)

so you can use your favorites OS while using qmailtoaster

2) Qmailtoaster-plus
this is just an addon to qmailtoaster (optional), it include various 
utility to ease your qmailtoaster management

3) qmail iso
this is full blown OS (centos) configured with qmailtoaster, ready to 
run with few tweaks


What a beginner should I install?

it's depend on you.
- if you have already have favorites OS that you like to manage and want 
to know about qmailtoaster you should install the qmailtoaster pack

- but if you don't know about linux OS, then use qmail iso

thanks

your welcome





-
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] Time zone

2012-04-19 Thread Pak Ogah

On 04/19/12 12:52, rajeshrudramani wrote:



Hi,


   Can any one tell me how to change time zone from IST to CST 
in linux.



Regards,
Rajesh

google :D

here's what I found before and it success
http://www.cyberciti.biz/faq/howto-linux-unix-change-setup-timezone-tz-variable/

-
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: Bounce error after sending mail to certain client

2012-04-18 Thread Pak Ogah

On 04/17/12 22:29, Eric Shubert wrote:

On 04/17/2012 07:51 AM, Dan McAllister wrote:

PS: Check out the tools here:
http://www.sendmail.org/dkim/tools

for assistance in testing your setup


It it also very useful to use the check-auth tool at port25.com (send a
message to check-au...@verifier.port25.com and examine the automated 
reply)


These tools are very useful. Are they on the wiki somewhere?

it's there for check-a...@verifier.port25.com but not 
check-au...@verifier.port25.com

http://wiki.qmailtoaster.com/index.php/How_to_Setup_DKIM_with_Qmail_Toaster

I'll edit the page

-
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] Qmail version

2012-04-10 Thread Pak Ogah

On 04/10/12 13:16, rajeshrudramani wrote:



Hi,


   How to check qmail version.


Regards,
Rajesh

if you centos use this

rpm -qa | grep toaster

then you can compare with latest version on 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] Log email Account creation date

2012-03-19 Thread Pak Ogah

On 03/02/12 21:33, Bharath Chari wrote:

On Friday 02 March 2012 04:14 PM, Pak Ogah wrote:

On 02/10/12 19:34, Bharath Chari wrote:

On Friday 10 February 2012 11:35 AM, patr...@aofh.us wrote:


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.

Just tried it, works perfectly!


Good to know!

Now for a more complete version which logs creation and deletion 
date. It's not as simple as writing a trigger for delete, because a 
single user id can be created/deleted any number of times and we 
wouldn't know which record to update. Since this is kind of an 
auditing table, we would like to track each instance of 
creation/deletion.


So, there are a few modifications to be made to the domain table in 
the vpopmail database.


Note: I have just tried it on a production server and it worked 
without any problem for me, but please make a backup of the table 
first or try it on a dummy domain.


Assumption:  Domain to be monitored is example.com and the domain 
table is example_com.



Halo Bharath,
My colleague, confirm your steps is working as our expectation.
now I am going to add this to wiki but my question is:
- does these steps already in new vpopmail that currently in 
development?
vpopmail-toaster-5.4.33-1.4.0.src.rpm - added flag 
--enable-many-domains and removed clear text password. This is the 
first package that needs to be installed.




Hi Pak,

The triggers I gave you are for use with the CURRENT version of 
vpopmail with --disable-many-domains option. I will rework one for the 
new version of vpopmail toaster which we will be releasing with 1.4.0. 
It will be easier to do it that version, since all domains will be in 
one table.


I have not incorporated the trigger within the vpopmail source, 
because I would like to make it optional, and it's not part of the 
core functionality. Maybe I can create a shell script for those who 
want to audit the creation/deletion times/dates.



I'll post the solution as soon as I write it.

If you are planning to update the wiki with the current steps, please 
_ensure that you mention that it will work only for vpopmail-5.4.17 
version of the toaster.


Bharath


Bharath


Hello Bharath,
I have created wiki for Account Creation and Deletion Date based on your 
steps.

Please check it here:
http://wiki.qmailtoaster.com/index.php/Account_Creation_and_Deletion_Date

and edit it if you like.

-
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] Mail issue

2012-03-08 Thread Pak Ogah

On 03/08/12 20:44, Peter Peltonen wrote:

Hi,

On Thu, Mar 8, 2012 at 3:36 PM, rajeshrudramani
rajeshrudram...@gmail.com  wrote:

Can any one guide me to fix the issue.


Without knowing what is said in this error report included in your email:

http://service.mail.qq.com/cgi-bin/help?subtype=1id=20022no=1000727

it is quite hard to fix your problem, as we do not know what it is.

Please consider following my earlier suggestion:


I would try contacting from another email account (Gmail, Hotmail or
some other well known free provider) the person you know there and ask
for him/her to find out what the issue was/is?

Best,
Peter



you can read it using google translate, :D
http://translate.google.com/translate?hl=ensl=zh-CNtl=enu=http%3A%2F%2Fservice.mail.qq.com%2Fcgi-bin%2Fhelp%3Fsubtype%3D1%26%26id%3D20022%26%26no%3D1000727

-


   550 the Connection denied

*Reasons for the error:* the *server IP's* letter frequency is 
substantially more than the QQ mailbox limit.
QQ mailbox on the server of the external letter from the same IP have a 
certain frequency limit:
1, more than the per minute letter limit, this IP address is sent a 
letter a few minutes.
Letter of 2 per hour limit in this IP address is sent a letter several 
hours.
3, more than the daily letter limit, this IP address in this days of 
prohibition and then sent a letter.
4, frequencies above limit values belonging to the QQ mailbox 
confidential data will not be public.
*Suggestions for improvement:* If you are the administrator of the 
server IP, please stop the server IP's letter later to reduce the 
frequency re-try the letter.
If you are an individual mailbox user, please report to your e-mail 
provider.



it seems numbers of email sent to qq.com from you server has exceed it's 
limit (per minute / per hour / per day / etc)

this error seems familiar, just like yahoo.com
and it seems qq.com is a portal, just like yahoo.com :P


Re: [qmailtoaster] Qmail+Sogo

2012-03-02 Thread Pak Ogah

On 03/02/12 2:50, Peter Peltonen wrote:

Hi,

On Thu, Mar 1, 2012 at 8:59 PM, Délsio Cabádel...@gmail.com  wrote:

Hi,

Thanks for the reply.
Did you just installed the RPM package?

I installed from RPMs on CentOS6 yes, but that's just when the fun
begins :) Configuring SOGo and getting different devices / programs
syncing can be a tedious task.

If you are in hurry, search the toaster list archives for SOGo related
emails by Bharath, he wrote nice installation notes that I myself used
(and plan to document int he Wiki). The most important thing is
creating the view In MySQL that enables authenticating against
vpopmail db.

BR,

Peter



fyi, email from Bharath regarding Qmail+SOGo is here
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg31098.html

-
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] Log email Account creation date

2012-03-02 Thread Pak Ogah

On 02/10/12 19:34, Bharath Chari wrote:

On Friday 10 February 2012 11:35 AM, patr...@aofh.us wrote:


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.

Just tried it, works perfectly!


Good to know!

Now for a more complete version which logs creation and deletion date. 
It's not as simple as writing a trigger for delete, because a single 
user id can be created/deleted any number of times and we wouldn't 
know which record to update. Since this is kind of an auditing table, 
we would like to track each instance of creation/deletion.


So, there are a few modifications to be made to the domain table in 
the vpopmail database.


Note: I have just tried it on a production server and it worked 
without any problem for me, but please make a backup of the table 
first or try it on a dummy domain.


Assumption:  Domain to be monitored is example.com and the domain 
table is example_com.



Halo Bharath,
My colleague, confirm your steps is working as our expectation.
now I am going to add this to wiki but my question is:
- does these steps already in new vpopmail that currently in development?
vpopmail-toaster-5.4.33-1.4.0.src.rpm - added flag --enable-many-domains 
and removed clear text password. This is the first package that needs to 
be installed.


so when users install new vpopmail they don't need to do these steps ?
or they still need do it ?

thanks before



-
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] Authentication methods

2012-02-16 Thread Pak Ogah

On 02/16/12 0:26, Eric Shubert wrote:
As part of the upgrade to vpopmail, we're considering removing clear 
text passwords from the database. This will improve security, but at 
the same time remove some (somewhat insecure) capabilitiy.


The biggest impact I think this will have is that admins will no 
longer be able to look up someone's password. In the event that a user 
loses their password, the administrator would reset the password to 
something temporary, and the user would subsequently change it to 
whatever they like. This is the practice followed in many (if not 
most) other environments.



I use clear text password for:
- if my manager asked by his superior/co-manager to peek his 
sub-ordinate email-account

- jabberd authentication by creating a view on vpopmail's 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] Re: Future Distros - RHEL/CentOS ONLY

2012-02-14 Thread Pak Ogah

On 02/15/12 0:27, James Beam wrote:

/me plays wackamole 'Back into that hole Back!!'

2 Distros should be plenty for folks to deal with - helps yall refine the 
product and keep support efforts predictable.





I agree with binary distribution so that can simplify updating system
and I am also agree it based on RHEL/CentOS

but I think 2 Distros is not plenty

please take a look at iredmail.org
it support 4 mainstream distro
- rhel/centos/scientific
- debian/ubuntu
- opensuse
- freebsd

they can manage this because all the components they use are officially 
provided by the distros' repositories.
(that's why I am also agree Eric decision to use dovecot, mailman as 
it's provided by distro

and also will using SA/clamav from distro)
what iredmail do, is provide a script that work on those distros, 
installing all components,  then configured them and finally give the 
end users A REALLY NICE admin interface. no hassle maintaining the core 
softwares, repositories and infrastructures.


but since we are qmailtoaster group
we use qmail,vpopmail,qmailadmin,daemontools,ucspi,etc which is not 
officially supported by most distros
that's why we need to maintain our core softwares, repositories and 
infrastructures.


but I don't regret why my senior/consultant left me with qmailtoaster box
because I learn a lot from it and the community is friendly and helpful :D

-
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] Log email Account creation date

2012-02-11 Thread Pak Ogah

On 02/10/12 19:34, Bharath Chari wrote:

On Friday 10 February 2012 11:35 AM, patr...@aofh.us wrote:


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.

Just tried it, works perfectly!


Good to know!

Now for a more complete version which logs creation and deletion date. 
It's not as simple as writing a trigger for delete, because a single 
user id can be created/deleted any number of times and we wouldn't 
know which record to update. Since this is kind of an auditing table, 
we would like to track each instance of creation/deletion.


So, there are a few modifications to be made to the domain table in 
the vpopmail database.


Note: I have just tried it on a production server and it worked 
without any problem for me, but please make a backup of the table 
first or try it on a dummy domain.


Assumption:  Domain to be monitored is example.com and the domain 
table is example_com.


1) Log in to mysql shell as root
mysql -uroot -p vpopmail

2) Alter the example_com table (replace example_com with your domain 
table)


ALTER TABLE `example_com` DROP PRIMARY KEY;
ALTER TABLE `example_com` ADD UNIQUE (`pw_name`);
ALTER TABLE `example_com` ADD `uid` INT NOT NULL AUTO_INCREMENT 
PRIMARY KEY FIRST ;



3) Create log table - replace example_com with your domain table name

CREATE TABLE `userlog_example_com` (
  `uid` int(11) NOT NULL,
  `pw_name` varchar(255) NOT NULL,
  `creation_date` datetime NOT NULL default '-00-00 00:00:00',
  `deletion_date` datetime NOT NULL default '-00-00 00:00:00',
  PRIMARY KEY  (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

4) Import existing records into the userlog_example_com table. While 
this won't help with creation date, it will allow you to track when an 
ID was deleted:


mysqlinsert into userlog_example_com (uid,pw_name) select uid,pw_name 
from example_com;


5) Create the INSERT Trigger (again replace example_com as appropriate)

mysql delimiter $$
mysql create trigger example_com_insert_trigger
- AFTER insert on example_com
- FOR EACH ROW
- BEGIN
- insert into userlog_example_com 
values(new.uid,new.pw_name,NOW(),'-00-00 00:00:00');

- END$$
Query OK, 0 rows affected (0.02 sec)

mysql delimiter ;

6) Create the DELETE Trigger (again replace example_com as appropriate)

mysql delimiter $$
mysql CREATE TRIGGER example_com_delete_trigger
- AFTER delete on example_com
- FOR EACH ROW
- BEGIN
- update userlog_example_com set deletion_date=NOW() where 
uid=old.uid;

- END$$
Query OK, 0 rows affected (0.02 sec)

mysql delimiter ;

mysqlquit


7) Test and test again:
Create a test user eg : x using qmailadmin
Delete the user x
Create the test user x again
Delete the user x

Your table userlog_example_com should contain two records both with 
x as the pw_name but with different uid numbers and 
creation/deletion dates.


Hope this helps!

Bharath


Thank you very much Bharath, I really forgot about MySQL trigger feature
I'll try this on development server first then I'll update the Wiki for 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] Re: Log email Account creation date

2012-02-11 Thread Pak Ogah

On 02/10/12 23:23, Bharath Chari wrote:

On Friday 10 February 2012 09:09 PM, Eric Shubert wrote:




Your table userlog_example_com should contain two records both with
x as the pw_name but with different uid numbers and
creation/deletion dates.

Hope this helps!

Bharath




Nice work, Bharath. I'm happy to see someone so proficient with mysql 
in our community. Would you care to suggest these improvements on the 
vpopmail list perhaps? (vch...@inter7.com)

Thanks.

Thanks. Not really proficient - more of a cut/paste/hack artist :). 
However, I do think that there are some fundamental changes that are 
required in the table structures. While I will make these suggestions 
on the inter7 list, I think some of these changes can be incorporated 
into QmailToaster, maybe via a qtp script.??? Let me see if I can 
script some of these changes/tweaks.


Bharath


Yup, it would be nice to have this feature built-in on vpopmail

-
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: email account create date

2012-02-08 Thread Pak Ogah

On 02/09/12 10:00, patr...@aofh.us wrote:

On 02/08/2012 12:08 AM, Pak Ogah wrote:

is there a command hook on vpopmail/qmailadmin so that we can add a
command when user created/deleted?

It is called OnChange http://qmail.jms1.net/scripts/qmail-updater.shtml
but if I'm not mistaken it is in vpopmail as of 5.4.18, but with a few
bugs.


I don't know of one. Will you ask this on the vpopmail list?
(vch...@inter7.com)
Perhaps someone there would have a suggestion, as they're the vpopmail
experts. ;)

I bet they will tell you to update to the new version

Regards.



thanks for the hint all.
but it seems to complicated for me
I'll pass it for now

-
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: email account create date

2012-02-07 Thread Pak Ogah

On 02/06/12 13:10, Eric Shubert wrote:

On 02/05/2012 10:32 PM, Pak Ogah wrote:

Hi list,
Is there a way to find out when an email account created ?
I have look at account maildir folder but none of files can be used as
reference

- 



I don't know if the vpopmail database schema contains that or not. 
Probably should if it doesn't. You'd need to check.

No, it doesn't


The next best thing I can think of would be the date on the user's 
directory. The contents of that don't typically change much, unless 
the .qmail file is created or removed. It's no certain indication of 
when the account was create, but you know it's been around at least 
that long.

I have check it too but still it didn't provide the correct date
ps: is there a command hook on vpopmail/qmailadmin so that we can add a 
command when user created/deleted?



-
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] email account create date

2012-02-05 Thread Pak Ogah

Hi list,
Is there a way to find out when an email account created ?
I have look at account maildir folder but none of files can be used as 
reference


-
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: VM OVF

2012-01-31 Thread Pak Ogah

On 01/28/12 3:57, Eric Shubert wrote:

On 01/27/2012 03:38 AM, Pak Ogah wrote:

On 01/21/12 17:58, Pak Ogah wrote:

On 01/19/12 1:40, Sys wrote:

Could some one add this to the wiki please , or instruct me howto:
Thanks


Please wait
I'll enter it on Wiki next week

fyi, wiki is down..


Thanks for the notice. Martin has it fixed now.


Does wiki, moved out from Jake's Server to Martin?
If it is so, can you check Wiki's antispam is activated and updated with 
latest plugin(s)

because I found so much New Spam Pages
50 new spam pages within a week.

thanks before

-
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] VM OVF

2012-01-30 Thread Pak Ogah

On 01/19/12 1:40, Sys wrote:

Could some one add this to the wiki please , or instruct me howto:
Thanks


done,
updated on this link, for related info
http://wiki.qmailtoaster.com/index.php/VMware#VMware_Hosting_Products


Re: [qmailtoaster] VM OVF

2012-01-27 Thread Pak Ogah

On 01/21/12 17:58, Pak Ogah wrote:

On 01/19/12 1:40, Sys wrote:

Could some one add this to the wiki please , or instruct me howto:
Thanks


Please wait
I'll enter it on Wiki next week

fyi, wiki is down..


Re: [qmailtoaster] VM OVF

2012-01-21 Thread Pak Ogah

On 01/19/12 1:40, Sys wrote:

Could some one add this to the wiki please , or instruct me howto:
Thanks


Please wait
I'll enter it on Wiki next week


Re: [qmailtoaster] Qmailtoaster Fail2ban Wiki

2012-01-04 Thread Pak Ogah

On 01/05/12 3:42, Alberto López Navarro wrote:

Just on suggestion: mod_evasive also works very well.

Regs,


El 4 de enero de 2012 19:30, Mike Tirpak mike.tir...@mobilcom.net 
mailto:mike.tir...@mobilcom.net escribió:


I know the qmailtoaster wiki is down for the time being.  Does
anyone have the qmailtoaster fail2ban wiki page?

Thanks


@Alberto,
I don't know mod_evasive can be use for port 25/110
all I know mod_evasive is only for apache
http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/

@Mike,
the wiki is based on mail-archive, you can search it at
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/




Re: [qmailtoaster] Email Server Test « All About SPAM

2012-01-01 Thread Pak Ogah

On 01/01/12 2:46, Eric Shubert wrote:

Here's a nice outbound email tester I came across:
http://www.allaboutspam.com/email-server-test/

I don't know if it's listed anywhere in the wiki or not. Would someone 
care to check, and add it in an appropriate place if it's not?


Thanks.


Wiki is down sir, once it's up I'll check and submit the link.
Info from Jake,
Happy Holidays to you all
===


 The wiki is down until further notice.


Spammers seem to like to blast my server around the holidays, causing it 
to run out of memory and bring the system to it's knees. Since I have
other things running on this server, I am shutting the wiki down. This 
will allow me to spend time with my family on a holiday instead of  
working to

keep a wiki up and running as well as the other services.
If you have any questions, feel free to email me. I will answer them as 
I get to it - but be advised that I'm not spending a whole lot of time 
on the

project (nor checking my mail that often) during the holidays.
Thanks for your understanding.


Re: [qmailtoaster] Reg:Configure Same domain in different server

2011-12-27 Thread Pak Ogah

Hai Rajamani,

I have the same scenario with you
I have public mail server that use by all employees and every branches.
but there is one branch due to lack of network bandwidth so I have to 
create a 'cache' mailserver on that branch


I am just using 1 domain mycompany.com.
all users have email account and email address: us...@mycompany.com
but users on that branch has email account use...@sitea.mycompany.com 
and yet their public email address still use...@sitea.mycompany.com


here's what I do
===
first I make two view on my public dns server
query from local network 192.168.0.0/16 will be served private view
it has these records
@ IN MX 5 mail.mycompany.com
mail IN A 202.155.64.XX;public mail server
siteA IN MX 5 siteA.mycompany.com
siteA IN A 192.168.9.5 ;local mail server on other siteA

and query from others will be served public view
@ IN MX 5 mail.mycompany.com
mail IN A 202.155.64.XX ;public mail server

I configure public mail server with mycompany.com as default domain 
following qmt installation documentation on wiki
and on mailserver on the branch I use the the same installation method 
but I am choose default domain for it is siteA.mycompany.com


on public mailserver:
- users on that branch I setup a email forward use...@mycompany.com = 
use...@sitea.mycompany.com


on siteA mailserver:
- I setup a script to synchronize vpopmail table for domain 
siteA.mycompany.com from public mailserver and modified user mailbox path

(so users on that branch has the same password)

users using public mailserver use pop3/smtp server with mail.mycompany.com
but users on siteA use siteA.mycompany.com for pop3 server using account 
use...@sitea.mycompany.com to authenticate

and mail.mycompany.com for smtp using use...@mycompany.com to authenticate
==

that's all I remembered, the branch server no longer there, because 
bandwidth now cheap and hassle to maintain multiple servers

I hope you got the big picture

On 12/28/11 1:33, Raja Mani wrote:

Hai


I have 2 serves on same domain .Some users only accessmail 
from global server.And others user access mails from local server.When 
the local server was down.The global sever hold all the mail.After the 
local mail server has up.The global server push mail to local server.





And other point i have 2 mx record.One is global server and other one 
is a local server.




And one more thing the local user send the mail to global user id's 
And also same the global user also send send the mail to local server 
mail id's




I dont need the fetchmail Because the local user mail box not created 
on global server.







-Rajamani

On Mon, Dec 26, 2011 at 9:01 AM, James Beam james.b...@pinnacle1.com 
mailto:james.b...@pinnacle1.com wrote:


oh, why would you want to store mail in both places...sorry I have
no clue how to do that easily - only dot forwards come to mind per
account and that is not efficient.


*From:* Raja Mani [rajamani@gmail.com
mailto:rajamani@gmail.com]
*Sent:* Sunday, December 25, 2011 7:48 PM
*To:* qmailtoaster-list@qmailtoaster.com
mailto:qmailtoaster-list@qmailtoaster.com; b...@whitesindia.com
mailto:b...@whitesindia.com
*Subject:* Re: [qmailtoaster] Reg:Configure Same domain in
different server

Dear All,


 I am using smtp routes .But how can i store the mails
in two servers.Because i am configure domain abc.com
http://abc.com for two server.Actually i am configured in two
server one is a local server and another one is global server.The
two server have only one domain abc.com http://abc.com.



-Rajaman

On Sun, Dec 25, 2011 at 9:14 PM, Biju Jose b...@whitesindia.com
mailto:b...@whitesindia.com wrote:

Hi Raja Mani,

You could use fetchmail to pull mails from your global mail
server periodically to your local mail server.

*Biju Jose*



Pplease consider the environment before printing this e-mail.

*From:*Raja Mani [mailto:rajamani@gmail.com
mailto:rajamani@gmail.com]
*Sent:* Sunday, December 25, 2011 8:43 PM
*To:* qmailtoaster-list@qmailtoaster.com
mailto:qmailtoaster-list@qmailtoaster.com
*Subject:* [qmailtoaster] Reg:Configure Same domain in
different server

Hai,


I am having a global mail for example abc.com.My
http://abc.com.my/ requiremnet is to to forward the mails
from global mail server(abc.com http://abc.com/) to local
mail server.(mail.abc.com http://mail.abc.com/).For your
information we are haveing mx record for mail.abc.com.My
http://mail.abc.com.my/ global is located in us and my local
mail server is located at india.So 

Re: [qmailtoaster] sa-learn user

2011-12-20 Thread Pak Ogah

On 12/21/11 12:23, Helmut Fritz wrote:

Another question (or three!) - to use Bayes learning does sa-learn (either
by command line or the script example in the wiki - the simple one) need to
be run as a particular user?  I am guessing from some older mails on the
list archive that it should be run as vpopmail (via sudo)?  By default where
is the Bayes database?  I am also guessing that it is in the vpopmail
.spamassassin folder as long as the sa-learn commands are run as vpopmail?
Is there a method to merge two users databases for a system wide database
under vpopmail?  Thx, sorry for the newb questions.




you are correct sa-learn need to run as vpopmail user. see sample script at:
http://wiki.qmailtoaster.com/index.php/Spamassassin#Multi-domain_sa-learn_ham.2Fspam_script

and do not forward spam/ham message but use bounce/redirect
http://wiki.qmailtoaster.com/index.php/How_to_redirect/bounce_mail_for_sa-learn

or implement spam button on webmail
http://www.squirrelmail.org/plugin_view.php?id=242


-
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] Cleaning house

2011-12-13 Thread Pak Ogah

Dave,
please go ahead add your adjustments to wiki
and inform us again after you finish it.

On 12/14/11 0:34, Dave wrote:

Found this on the wiki:

http://wiki.qmailtoaster.com/index.php/Maintain_Trash_and_Spam_folder
maybe I should add my adjustments to the wiki?


Modified the qtp-clean-trash to add a clean up of old emails.
As recently our backups have been taking over 14 hours, and are around 
30 Gb.


So I modified the script to delete any email in the users  CUR  
folder, older than 31 days .


If doing this, make sure you send a server wide email, to alert all 
users what you are doing.

I gave then 2 weeks notice, and ran it last night.

Worked like a charm.
+++ 



#!/bin/bash

# 09/11/09 - Eric e...@shubes.net
# changed -ctime to -mtime
# refactored to simplify a bit
#
# 07/06/07 - Jake j...@v2gnu.com
# This is a modified version of Erik Espinoza's 
espin...@forcenetworks.com

# #
# 23/10/2007 - Davide bu...@synhack.it
# Added the possibility to use an external file to configure the 
deltrash value

# just put in DELTIME_FILE the path of the file which contain the value

# 12/12/11
# Modified again by Dave MacDonald d...@techyguru.com
# It has been modified to be used as an email cleaner.
# It will delete files in the users CUR  folder that are older than 31
# days, and can be modified by adjusting the DELTIME variable.

# default DELTIME value
DELTIME=31

# config file for deltrash
DELTIME_FILE=/var/qmail/control/deltrash

# see if there is a configuration file for DELTIME
if [ -e $DELTIME_FILE ] ; then
  DELTIME_TMP=`cat $DELTIME_FILE`
  if [ $(echo $DELTIME_TMP | grep ^[[:digit:]]*$) ] ; then
DELTIME=$DELTIME_TMP
  fi
fi

# find and process each Domain user accounts
# then find and process each file in the CUR directory

for directory in $(find /home/vpopmail/domains -type d -name cur); do
  for file in $(find $directory -type f -mtime +$DELTIME); do
rm -f ${file} /dev/null 21
  done
done

+++ 







-
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] Account Break-in Attempts

2011-12-09 Thread Pak Ogah

On 12/08/11 23:20, Dave wrote:

Hi Pak Ogah

Added those to the wiki.

FYI: in there you have
  Tune fail2ban to write IPs to /etc/fail2ban/ip.deny 

How did you do that?
Thanks


it wasn't me who create the wiki
Sminini / Sergio M who create the initial  page
http://wiki.qmailtoaster.com/index.php?title=Fail2Banaction=history

I still don't know when/how to run the Note
http://wiki.qmailtoaster.com/index.php/Fail2Ban#Note
Sergio, perhaps can answer that

I am just tidying it up and make sure all qmt-related knowlegdes is there,
I am a lazy admin.
I prefer search a documentation rather than troubleshooting a problem 
that someone already solved


anyway, I am tidying your filter and jail into appropriate section



On 12/7/2011 8:51 PM, Pak Ogah wrote:

On 12/08/11 0:21, Dave wrote:

in my /etc/fail2ban/jail.local

[vpopmail]
enabled = true
port = pop3
filter = vpopmail
action = iptables[name=pop3, port=pop3, protocol=tcp] 
sendmailwhois[name=pop3,dest=y...@email.domain, sender=em...@adr]

logpath = /var/log/maillog
maxretry = 3
bantime = -1


Also, the vpomail.conf:
# Fail2Ban configuration file
# Author: Christoph Haas
# Modified by: Ole Johansen - CDS
# $Revision: 510 $

[Definition]
# Option: failregex
# Notes.: regex to match the password failures messages in the 
logfile. The

# host must be matched by a group named host. The tag HOST can
# be used for standard IP/hostname matching and is only an alias for
# (?:::f{4,6}:)?(?Phost\S+)
# Values: TEXT

failregex = vchkpw-pop3: vpopmail user not found .*@:HOST

# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT

ignoreregex =

Hop it help.


Dave,
Could you mind add this fail2ban rule on 
http://wiki.qmailtoaster.com/index.php/Fail2Ban

if your rule is not listed there.  so it can secure other qmt box as well

I am still confuse regarding fail2ban rule and config.






Re: [qmailtoaster] Account Break-in Attempts

2011-12-09 Thread Pak Ogah

On 12/09/11 14:44, Domenico Fortunato wrote:
You can configure fail2ban for Squirrelmail login attempts if you 
install the squirrel_logger plugin into Squirrelmail.


Tune up the configuration files:

in my /etc/fail2ban/jail.conf

[squirrelmail-iptables]
enabled  = true
filter   = squirrelmail
action   = iptables[name=SquirrelMail, port=http, protocol=tcp]
   sendmail-whois[name=SquirrelMail,dest=root, 
sender=fail2...@example.it]

logpath  = /var/log/squirrelmail.log
maxretry = 5


Also, the squirrelmail.conf:

# Fail2Ban configuration file
#
#

[Definition]

# Option:  failregex
# Notes.:  regex to match the password failures messages in the 
logfile. The
#  host must be matched by a group named host. The tag 
HOST can
#  be used for standard IP/hostname matching and is only an 
alias for

#  (?:::f{4,6}:)?(?Phost[\w\-.^_]+)
# Values:  TEXT
#
failregex = \[LOGIN_ERROR\].*from HOST: Utente sconosciuto o 
password errata


# Option:  ignoreregex
# Notes.:  regex to ignore. If this regex matches, the line is ignored.
# Values:  TEXT
#
ignoreregex =


*Warning:* the failregex value must match the line written in 
squirrelmail.log (it's in italian language for me :-) )
For more info search for squirrelmail fail2ban in your preferred 
search engine.


I hope it help.
Domenico Fortunato.


added to http://wiki.qmailtoaster.com/index.php/Fail2Ban
while tidying it up,
please check it again to make sure your rule is correctly written


Re: [qmailtoaster] Account Break-in Attempts

2011-12-07 Thread Pak Ogah

On 12/08/11 0:21, Dave wrote:

in my /etc/fail2ban/jail.local

[vpopmail]
enabled = true
port = pop3
filter = vpopmail
action = iptables[name=pop3, port=pop3, protocol=tcp] 
sendmailwhois[name=pop3,dest=y...@email.domain, sender=em...@adr]

logpath = /var/log/maillog
maxretry = 3
bantime = -1


Also, the vpomail.conf:
# Fail2Ban configuration file
# Author: Christoph Haas
# Modified by: Ole Johansen - CDS
# $Revision: 510 $

[Definition]
# Option: failregex
# Notes.: regex to match the password failures messages in the 
logfile. The

# host must be matched by a group named host. The tag HOST can
# be used for standard IP/hostname matching and is only an alias for
# (?:::f{4,6}:)?(?Phost\S+)
# Values: TEXT

failregex = vchkpw-pop3: vpopmail user not found .*@:HOST

# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT

ignoreregex =

Hop it help.


Dave,
Could you mind add this fail2ban rule on 
http://wiki.qmailtoaster.com/index.php/Fail2Ban

if your rule is not listed there.  so it can secure other qmt box as well

I am still confuse regarding fail2ban rule and config.


Re: [qmailtoaster] Re: QMT ISP Array

2011-10-28 Thread Pak Ogah

On 10/27/11 23:52, Eric Shubert wrote:

On 10/26/2011 09:07 PM, Pak Ogah wrote:

On 10/27/11 10:24, Casey wrote:


On 10/26/11 7:55 PM, Eric Shubert wrote:

On 10/26/2011 06:44 PM, Casey wrote:





Also, what are you using as a
RAID controller? Hardware, Linux, fakeraid?


Linux software raid. No special hardware controller, just straight
through devices.

These 2560's have PERC3/Di controllers - 128MB RAM, and a battery
backup...is a Linux software RAID a better option? Performance?
Reliability?

My 2,000 Rupiahs, :D
Hardware Raid controller with amount of memory and Backup batery is much
more better than Software.
I only use software raid, if I don't have the controller and want data
redundancy.



I disagree.

Let me begin by saying that if you run raid-5, you'll likely need a 
hardware raid solution (not fake raid) in order to handle the cpu 
requirements. Raid-5 also can give improved read performance with 
many,many drives. That's not a typical scenario though.


With raid-1 or raid-10, there's not enough of a processing requirement 
to warrant extra hardware. The main CPU can handle it just fine, and 
the hardware raid won't buy you much (freeing up cpu cycles).


With a QMT host, disk performance is probably not going to be your 
limiting factor, so I wouldn't be very concerned about performance of 
one configuration vs another, so long as you don't need to use raid-5 
for whatever reason. If you decide that you must use raid-5, use a 
hardware controller for it. I must say though, that I (strongly) 
recommend avoiding raid-5 whenever possible.


The big problem I have with hardware raid controllers is that they use 
proprietary methods to store the data on disk. When a raid controller 
goes bad (and they do), you *must* have an equivalent controller in 
order to access the raid array. That's a position I like to avoid 
being in. If it's a card that's no longer available, you better have a 
couple (that you know work) sitting on the shelf just in case.


On the other hand, with software raid, I can access and recover data 
from the drives quite easily with any ol' commodity hardware.


BL, hardware raid controllers are only beneficial with raid-5, which I 
don't use or recommend. Give me software raid any (and every) day.



thank you for the insight Eric,
the reason why I am suggesting Hardware raid are (based on my experience):
- I got branded server (HP) from company, and by default the vendor 
always ship it with raid controller (P212/P400)
- since the servers got 3 years warranty, and my company and vendor 
already have long business relation, so I do not have to worry, if 
existing controller broken, I am sure the vendor will help me (so I 
don't have to spare a controller on my shelf)

- raid controller is make me easy changing harddrive (hot-swap)
- after 10 years, only 1 of 20 servers that have broken the controller, 
and that is and old server (bought at 2002), we replace it already.

- hardware raid controller is supported by vmware vsphere/hypervisor
- once I had problem converting a linux with software raid 1 into vm 
using vmware vconverter, so I have to reinstall the OS/apps again :(



-
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: QMT ISP Array

2011-10-28 Thread Pak Ogah

On 10/28/11 8:30, Carlos Herrera Polo wrote:

Raid 10 is an Raid 1+0 ??



yap :D

-
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: Spamdyke stats

2011-10-26 Thread Pak Ogah

On 10/25/11 3:59, Peter Peltonen wrote:

Hi,

On Mon, Oct 24, 2011 at 8:38 PM, Brent Gardnerbrent.gard...@gmail.com  wrote:

Here it is again:  spamdyke-stats  http://pastebin.com/xUR2LkTQ

Here's a script I use that generates a daily report using the above script:
  Spamdyke-Stats-Report.pl  http://pastebin.com/aaPTcR8x

I have a line in my crontab file that calls Spamdyke-Stats-Report.pl daily,
looks like this:

Thanks for your contribution! I think it would be a good idea to add
this to the Wiki as well?


added to wiki
http://wiki.qmailtoaster.com/index.php/Spamdyke#Statistics
please check for grammar/spelling and technical writing

-
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: Spamdyke stats

2011-10-26 Thread Pak Ogah

On 10/27/11 0:55, Brent Gardner wrote:

Pak Ogah wrote:

On 10/25/11 3:59, Peter Peltonen wrote:

Hi,

On Mon, Oct 24, 2011 at 8:38 PM, Brent 
Gardnerbrent.gard...@gmail.com  wrote:

Here it is again:  spamdyke-stats  http://pastebin.com/xUR2LkTQ

Here's a script I use that generates a daily report using the above 
script:

  Spamdyke-Stats-Report.pl  http://pastebin.com/aaPTcR8x

I have a line in my crontab file that calls 
Spamdyke-Stats-Report.pl daily,

looks like this:

Thanks for your contribution! I think it would be a good idea to add
this to the Wiki as well?


added to wiki
http://wiki.qmailtoaster.com/index.php/Spamdyke#Statistics
please check for grammar/spelling and technical writing


I made some small changes but otherwise looks great!

Brent Gardner


Thank you Brent,

-
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: QMT ISP Array

2011-10-26 Thread Pak Ogah

On 10/27/11 10:24, Casey wrote:


On 10/26/11 7:55 PM, Eric Shubert wrote:

On 10/26/2011 06:44 PM, Casey wrote:





Also, what are you using as a
RAID controller? Hardware, Linux, fakeraid?


Linux software raid. No special hardware controller, just straight 
through devices.
These 2560's have PERC3/Di controllers - 128MB RAM, and a battery 
backup...is a Linux software RAID a better option? Performance? 
Reliability?

My 2,000 Rupiahs, :D
Hardware Raid controller with amount of memory and Backup batery is much 
more better than Software.
I only use software raid, if I don't have the controller and want data 
redundancy.




Re: [qmailtoaster] Re: Spamdyke stats

2011-10-25 Thread Pak Ogah

On 10/25/11 3:59, Peter Peltonen wrote:

Hi,

On Mon, Oct 24, 2011 at 8:38 PM, Brent Gardnerbrent.gard...@gmail.com  wrote:

Here it is again:  spamdyke-stats  http://pastebin.com/xUR2LkTQ

Here's a script I use that generates a daily report using the above script:
  Spamdyke-Stats-Report.pl  http://pastebin.com/aaPTcR8x

I have a line in my crontab file that calls Spamdyke-Stats-Report.pl daily,
looks like this:

Thanks for your contribution! I think it would be a good idea to add
this to the Wiki as well?

please wait while I am testing the script.



Although I am having a bit of problem with it as it does not find any
spamdyke hits:

 Summary 
Allowed:00.00%
Timeout:00.00%
Errors :00.00%
Denied :00.00%
Total  :00.00%

Even when I do have some messages denied by Spamdyke and reported int
he smtp log:

[root@mail ~]# grep DENIED /var/log/qmail/smtp/current |wc -l
53

How should I debug it?

this is also happen on one of my server, and the problem is
- although spamdyke installed
- BUT spamdyke parameter is not on smtp supervise run's file

on other server it's run perfectly.

have you try to run it:
cat /var/log/qmail/smtp/current | ./PATH/TO/spamdyke-stats





-
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: email server with very large space

2011-10-20 Thread Pak Ogah

On 10/20/11 21:43, Eric Shubert wrote:

On 10/19/2011 10:29 PM, Rajesh M wrote:

hi

i have client requiring around 3 terrabytes of space for his email

the max size of my drive available at the data center is 2 terrabytes

i can have 2 such drives connected to the server

now the question is that how do i split the mailbox locations -- is this
advisable ?

ie

/home/vpopmail/domains/domainname.com/user1  links to drive1

/home/vpopmail/domains/domainname.com/user2  links to drive2


is symlink advisable ?

or should i use mount bind in the rc.local file to have specific path ?

thanks
rajesh

- 



Wow, that's a bit dicey. You could use raid-0 or LVM, but the more 
drives you add, the sooner you'll have a failure.


I don't do anything w/out mirrored drives any more. Personally, I 
would set up a raid-10 array with 4 drives, mirrored and striped.



+1 on this.
I hate hard disk failure, although you have backup and you can 
re-install, reconfigure, restore all data back

but that just waste of time. preventive is better than corrective

-
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] nginx with qmt?

2011-10-17 Thread Pak Ogah

On 10/18/11 1:12, Eric Shubert wrote:

Is anyone here using nginx?
Any thoughts about using it with QMT in place of apache?
I don't know if it's even possible or not, but would like to consider it.
I have test Nginx with fastcgi + php and mysql and I found no problem at 
all.

only confuse at first configuration as the config file differ from apache.
But I am using it not for QMT.
I think it's possible since Apache/php on QMT only use for webmail, 
qmailadmin and admintoaster
I am using step described here: 
http://www.cyberciti.biz/faq/rhel-fedora-install-configure-nginx-php5/


but there are other resource too, like
http://library.linode.com/web-servers/nginx/php-fastcgi/centos-5
http://howtoforge.com

and perhaps you want to use, nginx, php and php-fpm combo because it's 
said faster than nginx, php, php-fastcgi


-
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: Mail server monitoring

2011-10-02 Thread Pak Ogah

On 10/03/11 10:01, Casey wrote:
What would be the best way to accomplish that? I'll have to look into 
those scripts. Where can I find the spamdyke list?



the info is in here:
http://www.spamdyke.org/support.html
http://www.spamdyke.org/mailinglists.html


Re: [qmailtoaster] Re: Mail server monitoring

2011-10-02 Thread Pak Ogah

On 10/03/11 8:04, Eric Shubert wrote:

On 10/02/2011 05:03 PM, Casey wrote:

I'm wondering if having the gateways  the sa boxes separate is
really just overkill - and if they should just be merged into one box.
So ultimately there would be 2 gateways that ran spamdyke and
spamassassin. What do you think?


I think you wonder wisely. If scanning (SA and clamav) were to cause 
the host to be overloaded (doubtful with spamdyke, but possible I 
suppose with hundreds of domains and thousands of users), a better 
(IMHO) way to distribute the load would be to set up a SA daemon on a 
separate host, instead of passing the messages through a whole smtp 
process again.



So, what else is out there to monitor spamdyke stats? One of our
customers wanted to get usage stats for their domain, which is for the
most part provided by qmailmrtg, but I'm wondering how would to expand
its capabilities and provide some of the customers with usage 
statistics.


Search the spamdyke list. There have been a few scripts floating 
around. I don't seem to recall any of them being broken out by domain 
though. This would only be useful for ISP types of users, and not 
really important for users hosting their own domain.


It be nice to see a couple ISPs that use QMT get together to sponsor 
development of such stats. Any takers?


I think ISPs also need a better admin panel like iredmail so they can 
PROUDLY giving domain admin to their users (also the stats can be included)

http://www.iredmail.org/admin_panel.html
http://screenshots.iredmail.googlecode.com/hg/iredadmin/domain_profile_catchall.png
http://screenshots.iredmail.googlecode.com/hg/iredadmin/domain_profile_advanced.png



-
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] Migrating from Qmail Rocks install on Solaris to Qmail Toaster on CentOS

2011-09-30 Thread Pak Ogah

On 09/29/11 15:29, Casey wrote:


Here is the next thing I'm not sure about...what is the best way for 
me to re-create all of the user aliases? Looks like they are all 
stored in the database on the old server, but is there an easy way 
that I can import them?




you can easily export import vpopmail mysql database using my previous 
howto,

or just using heidisql by connecting to both server


Re: [qmailtoaster] Re: Spam Help

2011-09-28 Thread Pak Ogah

On 09/28/11 20:48, Eric Shubert wrote:

On 09/27/2011 08:50 PM, Pak Ogah wrote:

On 09/27/11 22:54, Mike Tirpak wrote:

...

Mike,
First of all make sure you installed Spamdyke which can easily catch 
spam

http://qtp.qmailtoaster.com/trac/wiki/Features#qtp-install-spamdyke
http://wiki.qmailtoaster.com/index.php/Spamdyke

then you can create a email account s...@domain.com and
nots...@domain.com for SA to learn
http://wiki.qmailtoaster.com/index.php/Spamassassin#Bayesian_Statistical_Scoring 



make sure your user bounce/redirect the spam not forwarding it
http://wiki.qmailtoaster.com/index.php/How_to_redirect/bounce_mail_for_sa-learn 




or you can enable Spam folder (IMAP which can be see by webmail and IMAP
client)
http://wiki.qmailtoaster.com/index.php/FAQs#I_upgraded_my_QmailToaster_to_the_latest_and_I_no_longer_have_the_.22Spam_Detection.22_box_in_Qmailadmin. 



so that your user can put spam message to it, and tell SA to learn it
and remove it
http://qtp.qmailtoaster.com/trac/wiki/Features#qtp-clean-spam

HTH

- 





Very nice reply, Pak. Should be on the wiki somewhere. ;)


it's on Wiki Eric,
that's why I just copy/paste the link :D


-
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] Spam Help

2011-09-27 Thread Pak Ogah

On 09/27/11 22:54, Mike Tirpak wrote:

Everyone,

I'm running the most current version of qmailtoaster and everyone is 
happy with it at my company.  The only thing is I have to run a loose 
Spam filter due to customer restrictions.  I don't get much Spam, but 
I find it a pain to add senders to the filter every time a co-worker 
get one.


Is there a way to automate this process?  As in setup a mailbox that 
users can send there Spam so it can be added to the filter without my 
intervention.  If anyone can help me out with this, I would greatly 
appreciate it.


Thanks,

Mike

Mike,
First of all make sure you installed Spamdyke which can easily catch spam
http://qtp.qmailtoaster.com/trac/wiki/Features#qtp-install-spamdyke
http://wiki.qmailtoaster.com/index.php/Spamdyke

then you can create a email account s...@domain.com and 
nots...@domain.com for SA to learn

http://wiki.qmailtoaster.com/index.php/Spamassassin#Bayesian_Statistical_Scoring
make sure your user bounce/redirect the spam not forwarding it
http://wiki.qmailtoaster.com/index.php/How_to_redirect/bounce_mail_for_sa-learn

or you can enable Spam folder (IMAP which can be see by webmail and IMAP 
client)

http://wiki.qmailtoaster.com/index.php/FAQs#I_upgraded_my_QmailToaster_to_the_latest_and_I_no_longer_have_the_.22Spam_Detection.22_box_in_Qmailadmin.
so that your user can put spam message to it, and tell SA to learn it 
and remove it

http://qtp.qmailtoaster.com/trac/wiki/Features#qtp-clean-spam

HTH

-
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] Migrating from Qmail Rocks install on Solaris to Qmail Toaster on CentOS

2011-09-26 Thread Pak Ogah

On 09/27/11 6:19, Casey wrote:

Thanks Jake. I'm hoping to make this process as automated as possible...

What I'm wondering, is does the database need to be converted somehow 
to work properly on the new server since the old server is running 
mysql 4 and the new one is mysql 5?
I can't answer others, but for Mysql database which vpopmail used you 
can easily converted database ver 4 into ver 5. here's how I do it:

- make sure you have backup for vpopmail database
- stop mysql service on both servers
- copy vpopmail database from /var/lib/mysql/vpopmail from old server 
into new server

- start mysql service on new server
- then run mysql_upgrade with your privileges
see mysql_upgrade --help and 
http://dev.mysql.com/doc/refman/5.0/en/mysql-upgrade.html for detail option
afaik vpopmail database is using myisam, if your vpopmail database on 
your old server (solaris) not using myisam, you can export the database 
into *.sql file using mysqldump then import it to new server. see 
http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html







Re: [qmailtoaster] Spam Control

2011-09-21 Thread Pak Ogah

On 09/21/11 20:06, Mike Tirpak wrote:

Everyone,

I'm looking for a way to stop spamassassin from marking spam that goes 
to the catchall account.  My company uses that account for paging and 
it adds unnecessary characters to the transmitting time.  Short of 
adding each account to simcontrol, what can I do to prevent this from 
happening?



you add this line to /var/qmail/control/simcontrol
catchall.acco...@mydomain.com:clam=yes,spam=no,attach=.exe:.pif:.scr

after that execute
service qmail cdb

by doing this your catchall.acco...@mydomain.com account won't be 
scanned for spam

detail see:
http://wiki.qmailtoaster.com/index.php/Simscan

-
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: Clean maildir

2011-09-20 Thread Pak Ogah

or you use this simple bash script which I used on my production servers
http://wiki.qmailtoaster.com/index.php/Maintain_Trash_and_Spam_folder

it maintain folder Trash, Spam, Sent and Drafts which most people 
ignored when using Webmail and they expect it's not count into their 
Mailbox's Quota


On 09/20/11 6:00, Carlos Herrera Polo wrote:

Thanks Eric !

2011/9/19 Eric Shubert e...@shubes.net mailto:e...@shubes.net

On 09/19/2011 12:35 PM, Carlos Herrera Polo wrote:

Hello...
I have to delete old mails from qmail taps account.
Anybody have using this script with vpopmail maildirs ? Or
another script ?



http://www.ducea.com/2006/11/25/cleanup-maildir-folders-archive-delete-old-mails/


I haven't used this. Nor have I used qtp-clean-trash (see
http://qtp.qmailtoaster.com/trac/wiki/Features#Utility). The later
might be easily adapted to your needs.

-- 
-Eric 'shubes'






Re: [qmailtoaster] Re: qmailtoaster wiki main page defaced

2011-09-18 Thread Pak Ogah

On 09/08/11 20:49, Jake Vickers wrote:

On 09/08/2011 02:42 AM, Pak Ogah wrote:

Halo Sergio,
there are two kind of spam attacking the wiki

1. editing existing pages
2. creating new spam pages

..

How about we turn on new account's email validation feature?
Please see:
http://www.gossamer-threads.com/lists/wiki/mediawiki/83969
http://www.mediawiki.org/wiki/Manual:Combating_spam#Restrict_editing

And restrict no anonymous editing/creating
http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_anonymous_editing 




# Anonymous users can't edit pages
$wgGroupPermissions['*']['edit'] = false;
# Anonymous users can't create pages
$wgGroupPermissions['*']['createpage'] = false;



These options are all implemented.



Thanks Jake, I have monitoring new pages on wiki.
And I am only found 3 spam pages within a week. (period Sept 12 - 19)

-
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: CHKUSER invalid rcpt MX domain

2011-09-11 Thread Pak Ogah
there are many software work together and closely on qmailtoaster to 
ensure mail delivered.
not just chkuser and qmail use DNS to resolve but SpamAssassin and 
spamdyke (if you installed) also use DNS to resolve and check to make 
sure IP is not blacklisted.
so that's why I am suggesting make a DNS zone on internal dns server is 
the easiest solution.


On 09/09/11 19:37, Carlos Herrera Polo wrote:

Thanks Pak...
I can't understand where disable in tcp.smtp file the chkuser
module. In the links not explain this.

Install internal DNS is the solution ? I belive that chkuser maybe
read smtproutes file... But qmailtoaster not work


2011/9/8, Pak Ogahpako...@pala.bo-tak.info:

Hi Carlos,
information about tcp.smtp can be read @
http://wiki.qmailtoaster.com/index.php/Tcp.smtp
and I assume because the server is internal perhaps you can use this
tcp.smtp

192.168.3.233: allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1


or you can read the archive here which may related:
- SPF + local whitelist?
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg03841.html
- 511 sorry, can't find a valid MX for sender domain (#5.1.1 - chkuser)
554 5.0.0 Service unavailable
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg28420.html

but in my case for all internal servers that will be sending email, I
will adding an A record for the domain zone on internal DNS server.
yes I have 2 DNS server, 1 with public IP (authorative dns for my domain
using public ip) and 1 with internal IP (authorative using internal ip
and caching dns)
the mailserver is using internal IP and NAT by firewall
but you can setup 1 dns server that have 2 view (google it)

so in your case, I'll create a new domain zone on internal DNS server /
internal view
http://wiki.qmailtoaster.com/index.php/QMT-ISO_Manual_Guide#Configure_Bind

On 09/08/11 9:23, Carlos Herrera Polo wrote:

In tcp.smtp file... Can I disable checkuser for one ip ?


2011/9/7, Carlos Herrera Polocarlos.herrerap...@gmail.com:

I can do that ? in tcp.smtp file ?

2011/9/7 Tonix (Antonio Nati)to...@interazioni.it


   Il 07/09/2011 23:19, Tonix (Antonio Nati) ha scritto:

Il 07/09/2011 23:07, Carlos Herrera Polo ha scritto:

I have a problem with chkuser when send email, please help

   tcp.smtp file :

   192.168.3.233:
allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1


   The log :

   09-07 15:50:58 CHKUSER rejected rcpt: fromsugar...@micorreo.com:t
e...@rem.com:   remotes02-sis:unknown:192.168.3.233   rcpt
c...@micorreo.com   : invalid rcpt MX domain

   micorreo.com is not a real domain...but in my smtproutes file I have:

   micorreo.com:10.10.10.100:25

   Can qmailtoaster  disable CHKUSER rcpt when the domain is in
smtproute
??



I suppose this domain to be internal, and used only from internal users.
So you should disable chkuser for internal users.


So you should disable chkuser's checking for rcpt mx when accepting from
internal users.
In such case (internal smtp server) I suggest to disable chkuser at all.

Regards,

Tonino



Regards,

Tonino



--

  Inter@zioniInterazioni di Antonio Nati
 http://www.interazioni.it  to...@interazioni.it




--

  Inter@zioniInterazioni di Antonio Nati
 http://www.interazioni.it  to...@interazioni.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 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: CHKUSER invalid rcpt MX domain

2011-09-08 Thread Pak Ogah

Hi Carlos,
information about tcp.smtp can be read @ 
http://wiki.qmailtoaster.com/index.php/Tcp.smtp
and I assume because the server is internal perhaps you can use this 
tcp.smtp


192.168.3.233: allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1


or you can read the archive here which may related:
- SPF + local whitelist?
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg03841.html
- 511 sorry, can't find a valid MX for sender domain (#5.1.1 - chkuser) 
554 5.0.0 Service unavailable

http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg28420.html

but in my case for all internal servers that will be sending email, I 
will adding an A record for the domain zone on internal DNS server.
yes I have 2 DNS server, 1 with public IP (authorative dns for my domain 
using public ip) and 1 with internal IP (authorative using internal ip 
and caching dns)

the mailserver is using internal IP and NAT by firewall
but you can setup 1 dns server that have 2 view (google it)

so in your case, I'll create a new domain zone on internal DNS server / 
internal view

http://wiki.qmailtoaster.com/index.php/QMT-ISO_Manual_Guide#Configure_Bind

On 09/08/11 9:23, Carlos Herrera Polo wrote:

In tcp.smtp file... Can I disable checkuser for one ip ?


2011/9/7, Carlos Herrera Polocarlos.herrerap...@gmail.com:

I can do that ? in tcp.smtp file ?

2011/9/7 Tonix (Antonio Nati)to...@interazioni.it


  Il 07/09/2011 23:19, Tonix (Antonio Nati) ha scritto:

Il 07/09/2011 23:07, Carlos Herrera Polo ha scritto:

I have a problem with chkuser when send email, please help

  tcp.smtp file :

  192.168.3.233:
allow,RELAYCLIENT=,RBLSMTPD=,NOP0FCHECK=1,SENDER_NOCHECK=1


  The log :

  09-07 15:50:58 CHKUSER rejected rcpt: fromsugar...@micorreo.com:t
e...@rem.com:  remotes02-sis:unknown:192.168.3.233  rcpt
c...@micorreo.com  : invalid rcpt MX domain

  micorreo.com is not a real domain...but in my smtproutes file I have:

  micorreo.com:10.10.10.100:25

  Can qmailtoaster  disable CHKUSER rcpt when the domain is in smtproute
??



I suppose this domain to be internal, and used only from internal users.
So you should disable chkuser for internal users.


So you should disable chkuser's checking for rcpt mx when accepting from
internal users.
In such case (internal smtp server) I suggest to disable chkuser at all.

Regards,

Tonino



Regards,

Tonino



--

 Inter@zioniInterazioni di Antonio Nati
http://www.interazioni.it  to...@interazioni.it




--

 Inter@zioniInterazioni di Antonio Nati
http://www.interazioni.it  to...@interazioni.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] Re: qmailtoaster wiki main page defaced

2011-09-08 Thread Pak Ogah

Halo Sergio,
there are two kind of spam attacking the wiki

1. editing existing pages
2. creating new spam pages

for the first type I don't know how to monitor it unless I open the 
pages one-by-one to check it.
the second type, I can see the new pages by clicking Special page called 
New Pages.
but either of it, all user that used to create or edit the pages is 
non-existing, they don't have profile.


If you expertise on MediaWiki and have time to check QMT Wiki page, I 
think Jake can grant you a privileges.
I have ask these requirement to be implemented on Wiki but I don't know 
will it suffice or not to minimize wikispam



How about we turn on new account's email validation feature?
Please see:
http://www.gossamer-threads.com/lists/wiki/mediawiki/83969
http://www.mediawiki.org/wiki/Manual:Combating_spam#Restrict_editing

And restrict no anonymous editing/creating
http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_anonymous_editing

# Anonymous users can't edit pages
$wgGroupPermissions['*']['edit']  =  false;
# Anonymous users can't create pages
$wgGroupPermissions['*']['createpage']  =  false;

And can I suggest that the wiki need to be installed by others Antispam 
extentions, like:

http://www.mediawiki.org/wiki/Extension:SimpleAntiSpam
http://www.mediawiki.org/wiki/Extension:AntiBot
http://www.mediawiki.org/wiki/Extension:Check_Spambots

and if you mind, please create a crontab to cleanup spam as described here:
http://www.mediawiki.org/wiki/Anti-spam_features#Spam_cleanup_script

On 09/07/11 22:14, Sergio Rosa wrote:

are this attacks made by human or BOT?

Have any of this recommendations implemented? 
http://www.mediawiki.org/wiki/Manual:Combating_spam


I've been somewhat apart from the list/project.

Thanks

---
Obrigado,
Sérgio Rosa

T. +351 91348 9195
@. sergior...@awd.pt

AWD - Arq. Web e Design, Unip. Lda
R. Moinho Velho, 19, 2ºDto
2655-242 Ericeira
http://www.awd.pt

On Wed, 07 Sep 2011 11:03:00 -0400, Jake Vickers wrote:

On 09/03/2011 02:37 PM, Robert Lee wrote:

A number of people have defaced the qmailtoaster wiki page.





Everyone on the list - can we get some help with this? Pak Ogah and
myself have been working on this for some time - there seem to be a
lot of holes in Mediawiki that we've been working on plugging.
Mediawiki themselves rely on their mass number of members to clean out
any spam added to the their wiki. We need help on ours.
Spam should be blatantly obvious. The QMT project has nothing to do
with car insurance for example, so any links to car insurance may be
removed :)
Thanks.



-
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: qmailtoaster wiki main page defaced

2011-09-08 Thread Pak Ogah

Yap, and that what this extention do
http://www.mediawiki.org/wiki/Extension:SimpleAntiSpam

installation can be done in 2 steps

1. Download the files
   http://www.mediawiki.org/wiki/Special:ExtensionDistributor/SimpleAntiSpam
   into |$IP
   http://www.mediawiki.org/wiki/Manual:$IP/extensions/SimpleAntiSpam|
2. Add the following to LocalSettings.php
   http://www.mediawiki.org/wiki/Manual:LocalSettings.php:
   require_once($IP/extensions/SimpleAntiSpam/SimpleAntiSpam.php);



On 09/08/11 21:51, Sergio Rosa wrote:

I'm no expert on mediawiki, sorry.

This is kinda stupid and basic measure and would involve on some 
programming/code changing.


Assuming that the BOTs are blind and that they post information on 
whatever field available on any page, why not place a field, not 
visible on the layout, to the humans, or if visible with instruction 
not to place any info in it. The BOTs will place some info on it, 
right? They are blind. The when posting, just verify if that field 
is empty or not, if not then you got a no human posting and the 
page/post shouldn't be accepted.


I'm no expert on fighting BOT's, neither I know if this can be made on 
mediawiki.


If this is nonsense, just discard.

---
Obrigado,
Sérgio Rosa

T. +351 91348 9195
@. sergior...@awd.pt

AWD - Arq. Web e Design, Unip. Lda
R. Moinho Velho, 19, 2ºDto
2655-242 Ericeira
http://www.awd.pt

On Thu, 08 Sep 2011 09:49:14 -0400, Jake Vickers wrote:

On 09/08/2011 02:42 AM, Pak Ogah wrote:

Halo Sergio,
there are two kind of spam attacking the wiki

1. editing existing pages
2. creating new spam pages

for the first type I don't know how to monitor it unless I open the
pages one-by-one to check it.
the second type, I can see the new pages by clicking Special page 
called

New Pages.
but either of it, all user that used to create or edit the pages is
non-existing, they don't have profile.

If you expertise on MediaWiki and have time to check QMT Wiki page, I
think Jake can grant you a privileges.
I have ask these requirement to be implemented on Wiki but I don't know
will it suffice or not to minimize wikispam


How about we turn on new account's email validation feature?
Please see:
http://www.gossamer-threads.com/lists/wiki/mediawiki/83969
http://www.mediawiki.org/wiki/Manual:Combating_spam#Restrict_editing

And restrict no anonymous editing/creating

http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_anonymous_editing 




# Anonymous users can't edit pages
$wgGroupPermissions['*']['edit'] = false;
# Anonymous users can't create pages
$wgGroupPermissions['*']['createpage'] = false;



These options are all implemented.



- 


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: app to tag emails that fail RBL

2011-09-04 Thread Pak Ogah

On 09/03/11 16:13, P.V.Anthony wrote:

...

Often I hope gmail will get more strict and stop accepting emails for 
not properly setup servers. This will would really make my life easier.


P.V.Anthony

I agree with this. gmail can rcvd email from sender domain that use 
IP.Add.re.ss as MX record rather than MX hostname.
While other email-related applications, like Exim and ASSP can't as they 
obeying the RFC


- From: http://en.wikipedia.org/wiki/MX_record
The characteristic payload information of an MX record is the fully
qualified domain name of a mail host and a preference value. The host
name must map directly to one or more address record (A, or ) in the
 DNS, and must not point to any CNAME records.[1]

-
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] Denial of Service on POP3

2011-08-04 Thread Pak Ogah

On 08/05/11 1:08, Délsio Cabá wrote:

Just a small contribution
Wiki has something wrong
instead of:
failregex = vchkpw-smtp: vpopmail user not found .*:HOST

it should be

failregex = vchkpw-pop3: vpopmail user not found .*:HOST


thanks.. that a big contribution,
otherwise the rule is not running properly

-
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: mailing list

2011-08-01 Thread Pak Ogah

On 07/31/11 22:09, Maxwell Smart wrote:

...
I had an opportunity to try out PoMMo in earnest last night and it 
works quite well.  Integration with qmail was painless since it uses 
php mailer.  It can also use Sendmail or relay.  It uses MySQL 
database for subscriber management and easily imports/exports .csv 
lists.  Subscriber update page managed, fields added and removed 
quickly and easily.  Templates (html or text) same story.


It would be nice if anybody that currently uses Mailman or EZMLM could 
install PoMMo and give some feedback on weakness' or strength of their 
preferred installation.


It seems to suit my needs perfectly, but I don't know any better...


once I setup PoMMo, I am a litte bit confuse setting up smtp server
and managing which user goes into what subscription, because PoMMo using 
tag for user to determine which subscription he's into.


I'll try PoMMo again later.

-
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] OT: wiki

2011-07-31 Thread Pak Ogah

On 07/29/11 18:29, Scott Hughes wrote:

My need for a simple wiki is so that I can't stop wasting my time either 
verbally or in writing telling the same users things like how and why to move 
good email out of the spam folder or how and why to put spam email into the 
spam folder. In addition to a few other IT related items that I keep having to 
tell people because the either don't care or they just aren't getting. I'm even 
willing to include screen shots to make it even MORE easy to follow.

Again, this is for internal use only (not accessible on the Internet).

Thanks,
Scott

you can use Wordpress it's very simple tool for blogging / making a site 
/ note.
I use it as a log/note between me and my sysadmin colleague every time 
one of us (or both)  make changes on system.


and I use P2 Theme for easy updating via front-end
and Mini-meta plugin for easy login from front-end
the sample of my log/note using wordpress, P2 and mini-meta can be seen 
on www.am3n.co.cc


if you need help about it you can email me offlist as this is not 
qmt-related


-
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] Wiki hacked

2011-07-20 Thread Pak Ogah

Thank you Scotts and Curt,
I've clean up the index page, I wasn't aware of it.
for spammy pages, I am only check New pages and delete it if only *not* 
related to qmailtoaster


On 07/19/11 23:38, Scott Hughes wrote:

I'll take a loan modification! lol

I'll sign on and delete them shortly.

Thanks for letting us know.

Scott




On Jul 19, 2011, at 11:13 AM, Curt Turner c...@agroup.com 
mailto:c...@agroup.com wrote:


I'm guessing nobody is aware that wiki.qmailtoaster.com 
http://wiki.qmailtoaster.com has apparently been hacked. Sections I 
noticed (there are probably more):


http://wiki.qmailtoaster.com/index.php/Main_Page

Under Background  Introductions: ...Everyone is encouraged loan 
modification to find ways to improve Qmailtoaster... - loan 
modification links to mycaal.com http://mycaal.com


Under Background  Affirmations: ...Since then I have l learned a 
lot about Virginia Reckless Driving the program and how to improve my 
installations - Virginia Reckless Driving links to 
www.andrewflusche.com http://www.andrewflusche.com


Under FAQs  Additional Resources: ...please do some searching 
before asking a question on the list Mayweather vs Ortiz. (links to 
mayweatherversusortiz.com http://mayweatherversusortiz.com)


The list goes on and on. Under “Installation”:


Configuration http://wiki.qmailtoaster.com/index.php/Configuration

* Pacquiao vs Marquez http://pacquiaovsmarquez3live.com/
* Pacquiao vs Marquez Ticket
  
http://pacquiaovsmarquez3live.com/2011/07/pacquiao-vs-marquez-tickets-for-sale/

* Things to do in Sydney http://www.whattodoinsydney.net/





Re: [qmailtoaster] Re: QTP host has moved

2011-05-27 Thread Pak Ogah

On 05/26/11 21:20, Eric Shubert wrote:

...

I can only speak regarding QTP.
I haven't honestly looked at either sourceforge or googlecode in 
detail. I like the integration and control that Trac provides. Is 
there something that sourceforge or googlecode provides that's needed?


in sf.net there is a feature like download mirror, so we can download 
from the nearest sf server from our location.
it's not important, but if our fellow ISP member would donate their 
server, we can have our own download mirror server


-
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] QTP host has moved

2011-05-26 Thread Pak Ogah

On 05/26/11 6:37, Eric Shubert wrote:
Just an FYI, the qtp.qmailtoaster.com site has moved to another host. 
If you happened to register or create a ticket there between Monday 
and now, you'll probably need to do so again. Please check to see if 
there's any doubt your recent updates.


Thanks go to Randy Melder of SpinInternet for hosting the QTP site for 
the last year or better, as well as providing a QMT mirror.


While there is relatively little in the QTP yum repo, I'd like to have 
a few mirrors of it to lighten the load and ensure availability. If 
anyone is interested in providing a mirror, please contact me off list.


Once again, Thanks Randy!

why not use sourceforge's or googlecode server to host QMT/QTP 
source/binary ?

sorry one liner

-
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] Need help with the wiki

2011-05-19 Thread Pak Ogah

On 05/20/11 2:26, Jake Vickers wrote:
I posted this on the devel list previously, but don't recall sending 
to everyone in general.
I need help with the wiki. I've put several spam stops in place, but 
am still getting roughly a page/edit a day with spam links. I don't 
get a lot of time (nor remember) to check this all the time so usually 
by the time I get to it I've got a lot of pages to delete and revert.
If there is anyone out there willing to help out with these tasks, 
please let me know. If you're not familiar with MediaWiki, I can show 
you how to do these tasks in a short timeframe, so don't be daunted if 
you have never worked on this platform before.

Any help is appreciated!


I am in..
just add my email to MediaWiki notification list

-
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: How to add another e-mail caching server

2011-05-04 Thread Pak Ogah
On 05/05/11 1:03, Eric Shubert wrote:
 On 05/04/2011 12:22 AM, Kevin Qiu wrote:
 Hello,

 Tow QMT servers had different domain names. I want to one of them can 
 receive and send from another one. It likes set a yahoo.com mail in 
 Google Webmail. May I set it up in QMT?


 Kevin
 I haven't done this, and I'm not positive how to, but this is what I'd try.

 On the backup/secondary host:
 .) add the domain of the main/primary host to the rcpthosts file (or
 morercpthosts if there are 50 in rcpthosts). This tells the b/s host to
 receive email for that domain.
 .) add a record to the smtproutes file which routes the domain directly
 to the main/primary host. This tells the b/s host that since the domain
 is not local, send it via qmail-remote directly to the main/primary host
 (bypassing MX lookups so it doesn't try to send it to itself). I would
 use an authenticated connection to port 587 here so the message isn't
 scanned by SA again, but that's not really required.

 Then add an additional MX record to the authoritative DNS for the
 domain, using a higher value priority number than what the primary MX
 record has (lower numbers are higher priority).

 Let us know how you make out with this. We should have a wiki page that
 describes how to do this if there isn't one already. I'm guessing there
 isn't because I think Kevin would do due diligence. ;)
altough it's not that specified saying about secondary MX or backup mail
server
but on wiki there are several articles saying about it..
http://wiki.qmailtoaster.com/index.php/Rcpthosts
http://wiki.qmailtoaster.com/index.php/Morercpthosts

And maybe Kevin want to use Gmail as his backup mail??
http://wiki.qmailtoaster.com/index.php/How_to_Setup_Google_As_Backup_Server



-
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] SOGo - Installation notes

2011-05-02 Thread Pak Ogah

On 04/14/11 10:57, Pak Ogah wrote:

On 04/13/11 21:00, Peter Peltonen wrote:

On Tue, Apr 12, 2011 at 5:24 PM, Bharath Chari
qmailtoas...@arachnis.com  wrote:

Hi guys,

Warning : Badly formatted notes - will make it more readable in a later
version, from a clean install. Here goes:

Thanks Bharath!

I will give it a try next week. I'll report here my experiences.

Cheers,
Peter


Okay will wait patiently,
hoping that you will have success clean SOGo installation over QMT

Hi there Peter,
any progress update about SOGo installation notes on QMT?

-
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: using registrar's DNS instead of djbdns or Bind

2011-04-27 Thread Pak Ogah

On 04/28/11 7:34, Keith Smith wrote:

Sorry to be a pest...

The config docs at 
http://wiki.qmailtoaster.com/index.php/CentOS_5_QmailToaster_Install 
says the following


Make dns entry:
BIND - in the your-domain.com http://your-domain.com zone file 
(see public.txt for the private._domainkey.your-domain.com 
http://domainkey.your-domain.com entry):



   _domainkey.your-domain.com 
http://domainkey.your-domain.com. IN TXT t=y; o=-


Note: This is putting it into test mode. If you are done testing, and 
want to take it out of testing mode, change the above to reflect below.


   _domainkey.your-domain.com 
http://domainkey.your-domain.com. IN TXT o=-


Then also add this to your zone file:

private._domainkey.your-domain.com 
http://domainkey.your-domain.com. IN TXT k=rsa; p=MEwwDQY . . . to 
end of key

  (NOTE QUOTATION MARKS MUST BE THERE)

- - - - - -

I can replace that with :

# yum install caching-nameserver
# service start named
# chkconfig named on

Then put
nameserver 127.0.0.1
as the first record in your /etc/resolv.conf file.


Add the A and MX records at my registrar and I'm done other than the 
testing you suggest in the config docs.


Thanks again for all your support and guidance!

- - - - -

Yes you may, go ahead.
DNS Authoritative is optional on QMT BOX
BUT
DNS Cache is conditionally must have on QMT BOX if on your LAN don't 
have DNS Cache server

see here where I put note regarding QMT-ISO install
http://wiki.qmailtoaster.com/index.php/QMT-ISO_Manual_Guide#Add_DNS_server
http://wiki.qmailtoaster.com/index.php/QMT-ISO_Manual_Guide#Configure_Bind


Re: [qmailtoaster] Re: Mailing List Question

2011-04-18 Thread Pak Ogah

Scott,
when I check the wiki, it don't have the code. May I edit it?

On 04/17/11 4:04, Scott Hughes wrote:

Just so Eric won't have to ask me (har har har):

http://wiki.qmailtoaster.com/index.php/How_to_set_up_a_mail_list_so_that_you_can_email_ALL_of_your_domains_at_one_time

Thanks,
Scott


On 4/16/11 3:49 PM, Scott Hughes wrote:

On 4/16/11 1:55 PM, Pak Ogah wrote:

On 04/17/11 0:16, Michael J. Colvin wrote:
I'm sorry...  I've never used the mailing list functions, so I'm 
not a lot

of help and am probably asking stupid questions

How is the mailing list Stored?  Flat file, cdb, MySQL?   How does
qmailadmin delete it?  IE, can you take code from qmailadmin and 
reuse it?
Or, maybe even call it from command line? (I know qmailadmin is 
gui, but

I've hardly every used it...)

Mike

cmiiw
this will forcefully deleted the subscriber from ezmlm-list
# cd /home/vpopmail/domains/domain.com/listname/subscribers/
# rm -rf *
Yep. That worked. Thanks Pak!  Here is the updated script if anyone 
would like to use it.


#!/bin/sh

 # 06/15/2010 - Scott Hughes sc...@renshawauto.net
 # Initial creation of script to create an import text file of all
 # users on system and then import it into an already created
 # ezmlm mailing list.
 #
 # 04/16/2011 - Scott Hughes sc...@renshawauto.net
 # Added the complete removal of list subscribers before list
 # generation to take care of deleted accounts. Thanks to Pak Ogah
 # for the idea.

 echo All user mailing list generation...

 # Deleting current subscribers from mailing list
 rm -f /home/vpopmail/domains/domain name/list name/*

 # Generate mailing list import file
 #/home/vpopmail/bin/vpopbull -n -V  ~/alluserslist.txt

 # Import List into ezmlm mailing list
 ~vpopmail/bin/vpopbull -n -V | ezmlm-sub ~vpopmail/domains/domain 
name/list name


exit 0


Thanks,
Scott






Re: [qmailtoaster] Re: [Solution] malformed simscan header

2011-04-17 Thread Pak Ogah

On 04/17/11 23:18, Eric Shubert wrote:


...
I haven't dug into the code to see what actually causes the problem, 
since simscan will be going away in v2. ;)



what will replace simscan on qmt v2?
amavisd?

-
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: Mailing List Question

2011-04-16 Thread Pak Ogah

On 04/17/11 0:16, Michael J. Colvin wrote:

I'm sorry...  I've never used the mailing list functions, so I'm not a lot
of help and am probably asking stupid questions

How is the mailing list Stored?  Flat file, cdb, MySQL?   How does
qmailadmin delete it?  IE, can you take code from qmailadmin and reuse it?
Or, maybe even call it from command line? (I know qmailadmin is gui, but
I've hardly every used it...)

Mike

cmiiw
this will forcefully deleted the subscriber from ezmlm-list
# cd /home/vpopmail/domains/domain.com/listname/subscribers/
# rm -rf *





-
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] SOGo - Installation notes

2011-04-13 Thread Pak Ogah

On 04/13/11 21:00, Peter Peltonen wrote:

On Tue, Apr 12, 2011 at 5:24 PM, Bharath Chari
qmailtoas...@arachnis.com  wrote:

Hi guys,

Warning : Badly formatted notes - will make it more readable in a later
version, from a clean install. Here goes:

Thanks Bharath!

I will give it a try next week. I'll report here my experiences.

Cheers,
Peter


Okay will wait patiently,
hoping that you will have success clean SOGo installation over QMT

-
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: Automatic Account Expirations

2011-04-12 Thread Pak Ogah

On 04/12/11 3:36, Eric Shubert wrote:

On 04/11/2011 11:48 AM, Gilbert T. Gutierrez, Jr. wrote:

I was looking at the script in the qmailtoaster wiki for Automatic
account expirations. The script is not working for me and I am not all
that great with bash scripts. Has anyone run this script on the list?
When I modify the script with my server info and run the script, it logs
me into mysql and then stops. when I press ctrl-c I get the following
notice.

mysql Aborted
./autodelete.sh: line 128: syntax error near unexpected token `newline'
./autodelete.sh: line 128: `$MYSQL_DATABASE -E -e $SQL_QUERY | $GREP
email | $GAWK -F' ' '{print $2}' '


Can someone help me please or push me an alternative direction?

Thank you,
Gilbert Gutierrez

- 



Looks like that line got wrapped on to the next one at some point.
I've edited it now so that doesn't happen. Be sure there's no spaces 
or anything after the \ character on that line.



Thank you Eric for the correction,.
Gilbert the script has 2 holes
1. if you create a new account and the user never use it, the data won't 
be available at vpopmail.lastauth, so the account won't be deleted
manual fix: after you create new account, login to webmail to 
test/verify the new account working and to insert data automatically to 
vpopmail.lastauth


2. if the user resigned, but he still remember credentials 
(url/server,user,pass) s/he may still using the account which causing 
the account active and won't be deleted
manual fix: inform your HR /Account Dept to notify you any resigned 
employee/client/user, so you can deleted it manual/change password



-
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] Squirrel Mail Error

2011-04-12 Thread Pak Ogah

On 04/12/11 11:05, Joel Eddy wrote:
I think I've figured out some of the error. I added the defaultdomain 
file to /home/vpopmail/etc to allow login without the need for the 
domain part. Which squirrel mail allows but when I try to send mail 
from squirrel mail it doesn't like it.


So the question is how to make squirrel mail work that way for my 
default domain?



Joel


it's on the WIKI :D
but it's way too depth perhaps
http://wiki.qmailtoaster.com/index.php/QMT-ISO_Manual_Guide#SquirrelMail

you need to install vlogin plugins for squirrelmail.
please see squirrelmail instruction how to add plugin the read the 
plugin manual how to configure it
mine was editting file 
/usr/share/squirrelmail/plugins/vlogin/data/config.php
if not mistaken these are the only variables I changed for my webmail on 
http://pala.bo-tak.info


  $numberOfDotSections = 3;
  $removeFromFront = 0;

but there are array variable for multiple domains.


-
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: Anyone tried Sogo?

2011-04-12 Thread Pak Ogah

On 03/26/11 19:31, Peter Peltonen wrote:

Hi Bharat,

On Wed, Mar 23, 2011 at 5:01 AM, Bharath Chari
qmailtoas...@arachnis.com  wrote:
   

Sure it can reuse all components - just without authentication for SMTP :).
But I'm quite confident that it'll be fixed one of these days, because it
seems to be quite high up on the feature request list.
 

Any progress with this? I would be eager to test Sogo out (even
without smtp-auth) and would appreciate your installation notes!

Best,
Peter
   

Agree on this,
perhaps I will install SOGo on the same server as QMT and replacing 
SquirrelMail (for webmail)


-
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: Automatic Account Expirations

2011-04-12 Thread Pak Ogah

On 04/12/11 22:49, Eric Shubert wrote:

On 04/11/2011 11:04 PM, Pak Ogah wrote:

On 04/12/11 3:36, Eric Shubert wrote:

On 04/11/2011 11:48 AM, Gilbert T. Gutierrez, Jr. wrote:

I was looking at the script in the qmailtoaster wiki for Automatic
account expirations. The script is not working for me and I am not all
that great with bash scripts. Has anyone run this script on the list?
When I modify the script with my server info and run the script, it 
logs

me into mysql and then stops. when I press ctrl-c I get the following
notice.

mysql Aborted
./autodelete.sh: line 128: syntax error near unexpected token 
`newline'

./autodelete.sh: line 128: `$MYSQL_DATABASE -E -e $SQL_QUERY | $GREP
email | $GAWK -F' ' '{print $2}' '


Can someone help me please or push me an alternative direction?

Thank you,
Gilbert Gutierrez

- 





Looks like that line got wrapped on to the next one at some point.
I've edited it now so that doesn't happen. Be sure there's no spaces
or anything after the \ character on that line.


Thank you Eric for the correction,.
Gilbert the script has 2 holes
1. if you create a new account and the user never use it, the data won't
be available at vpopmail.lastauth, so the account won't be deleted
manual fix: after you create new account, login to webmail to
test/verify the new account working and to insert data automatically to
vpopmail.lastauth

2. if the user resigned, but he still remember credentials
(url/server,user,pass) s/he may still using the account which causing
the account active and won't be deleted
manual fix: inform your HR /Account Dept to notify you any resigned
employee/client/user, so you can deleted it manual/change password


- 



That'd be good to mention on the wiki page, Pak. (hint)


Yes sir,
It's done now :D
and beautified
http://wiki.qmailtoaster.com/index.php/Automatic_account_expirations

ps: can I know what script used for wiki? is it mediawiki? if so what 
version?
because although Jake already implement match challenge on the script, 
it still have another spam on it?

http://wiki.qmailtoaster.com/index.php/Special:Search?search=brandongo=Go
can we have a better and clean new wiki for next QMTv2 release which 
based the latest Mediawiki version.

I can help copy/paste the contents


-
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: how to disable clamd

2011-03-23 Thread Pak Ogah

On 23-Mar-11 21:51, Eric Shubert wrote:

On 03/22/2011 10:28 PM, Pak Ogah wrote:

On 16-Mar-11 19:32, Eric Shubert wrote:



Looks like Kerk was just playing with the wiki. No content appears to
have been there.

This looks good to me, Pak. Thanks.


Okay Eric, it's done.
Please check
http://wiki.qmailtoaster.com/index.php/Clamav
for grammar and syntax error
Sorry took long to update it.
Hope this help future QMT users


- 



*Very* good, Pak. Well worth the wait. ;)
Thanks!



Eric, while I am writing the wiki, I need to put 2 howto.
One is for someone already installing qtp and another one is for someone 
who doesn't yet install qtp.
Can I suggest that QTP should be in stock/default install on next QMT 
release?


Thanks

-
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] Has anyone configured Spam buttons in webmail?

2011-03-17 Thread Pak Ogah

On 18-Mar-11 6:54, Rafael P. Abreu Rosa wrote:
I would like to configure spam buttons in squirrelmail to learn 
spamassassin.



I have implement this before, but then I remove the feature
have you try to look at wiki/archive?
I'll look at my documentation and if there any.


-
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] Has anyone configured Spam buttons in webmail?

2011-03-17 Thread Pak Ogah

On 18-Mar-11 6:54, Rafael P. Abreu Rosa wrote:
I would like to configure spam buttons in squirrelmail to learn 
spamassassin.




oke here what I got on my docs

install spam buttons
This plugin will place Spam and/or Not Spam buttons on the mailbox 
message list page as well as on a single message view page. The action 
associated with the buttons (as well as the button text) can be 
configured to suit most any spam reporting system. Both reporting by 
email and reporting by executing a command on the server are supported.


http://www.squirrelmail.org/plugin_view.php?id=242

so you install the plugin the same as other squirrelmail's plugin
- download
- extract
- put on squirrelmail's plugin
- add it to squirrelmail's config

then below is my spambutton config.php compared with config.php.sample
[root@svr-m1 spam_buttons]# diff config.php config.php.sample
43c43
 $show_spam_buttons_on_message_list = 0;
---
 $show_spam_buttons_on_message_list = 1;
146,151d145
 #$is_spam_shell_command = 'sudo -u root /usr/bin/sa-learn --spam';
 #$is_not_spam_shell_command = 'sudo -u root /usr/bin/sa-learn --ham';
 $is_spam_shell_command = 'sudo -u vpopmail -H /usr/bin/sa-learn --spam';
 $is_not_spam_shell_command = 'sudo -u vpopmail -H /usr/bin/sa-learn 
--ham';


 //
157,158c151,152
 //$is_spam_shell_command = '/usr/bin/sa-learn --spam';
 //$is_not_spam_shell_command = '/usr/bin/sa-learn --ham';
---
 $is_spam_shell_command = '';
 $is_not_spam_shell_command = '';

the summary is, to make SA learn spam/ham from other account you need to 
invoke this command

sudo -u vpopmail -H /usr/bin/sa-learn --spam
sudo -u vpopmail -H /usr/bin/sa-learn --ham

you may want also maintain your Spam folder inside webmail.
see http://wiki.qmailtoaster.com/index.php/Maintain_Trash_and_Spam_folder


-
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] how to disable clamd

2011-03-15 Thread Pak Ogah

On 15-Mar-11 16:46, Peter Peltonen wrote:

One qmailtoaster server I am responsible of is doing a RAID rebuild
and disk IO is quite slow. Therefore I thought about disabling ClamAV
and SpamAssassin scanning for time being. Reading
http://wiki.qmailtoaster.com/index.php/Simscan I ended up modifying
simcontrol to look like this:

:clam=no,spam=no,spam_hits=12

and issuing /var/qmail/bin/simscanmk -g

What keeps me puzzled is that I see the process now and then in top
(eating 90 % CPU at times). No idea what it is doing.

Questions: Can I now just stop clamav with svscan? If it is not
enabled in simcontrol, my toaster shouldn't use it for anything,
right?

Best,
Peter

   

you can
touch /var/qmail/supervise/clamd/down
service qmail stop
sleep 10
service qmail stat = make sure all qmail service stop
service qmail start

or if you already installed qtp you can
qmail-spam stop
qmail-clam stop


-
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: how to disable clamd

2011-03-15 Thread Pak Ogah

On 15-Mar-11 22:07, Eric Shubert wrote:

...
You should be fine, I think. We should probably have a wiki page about 
clamav. How to disable it, freshclam, using sane-security, and 
whatever else.

...

Okay weird
I check on Wiki there is page for clamav
http://wiki.qmailtoaster.com/index.php/Clamav

but it's empty
last update
07:56, 30 April 2009 
http://wiki.qmailtoaster.com/index.php?title=Clamavoldid=3017 Kerk 
http://wiki.qmailtoaster.com/index.php?title=User:Kerkaction=edit 
(Removing all content from page)


okay Eric, can you give me list of topics you want to display on clamav 
page, and I'll see what I can do.

below is what I can think of. add/remove any if you like
- about clamav
- disable/enable
-- per domain
-- per server
- update (freshclam)
- additional definition (sanesecurity)
- log monitoring



Re: [qmailtoaster] how to disable clamd

2011-03-15 Thread Pak Ogah

On 16-Mar-11 2:05, Peter Peltonen wrote:

On Tue, Mar 15, 2011 at 12:26 PM, Pak Ogahpako...@pala.bo-tak.info  wrote:
   

or if you already installed qtp you can
qmail-spam stop
qmail-clam stop
 

I finally got a chance to try this and this did the trick, thanks.

And what do I do if I want to disable them for good (e.g. not starting
when we boot the server)? Do I just move the directory
/var/qmail/supervise/clamd elsewhere or is there a config option for
this somewhere that I can set?

Regards,
Peter

   
yes you can move the clamd elsewhere when qmail service is stop or you 
can use this


touch /var/qmail/supervise/clamd/down
service qmail stop
sleep 10
service qmail stat = make sure all qmail service stop otherwise kill it 
8-)

service qmail start

-
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] Archiving old mails

2011-03-13 Thread Pak Ogah

On 11-Mar-11 20:39, Rafael P. Abreu Rosa wrote:

Anyone know a good solution to archive old mail?


Oke here what will I do,
create a catch/tap account using your other domain (i.e.: 
ca...@myotherdomain.com)
setup tap for all incoming email on *@mydomain.com to 
ca...@myotherdomain.com


vi /var/qmail/control/taps
.*@mydomain.com:ca...@myotherdomain.com

detail see: http://wiki.qmailtoaster.com/index.php/Taps

-
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] SMTP port 587 error

2011-03-13 Thread Pak Ogah

make sure you have space left on your server harddisk
that's what happen to me

On 12-Mar-11 3:16, rvau...@libertycasting.com wrote:

I am trying to use port 587 to allow remote user to relay through my mail
server .  It worked once but now I am getting the  a error 451 local error
in processing .

Here is my /var/log/qmail/submission/run :

mail.libertycasting.com:128.182.1.24:587 :50.42.7.10::63426
@40004d7a79ef39a6f6ec CHKUSER accepted rcpt: from
rvau...@libertycasting.com:rickvau...@libertycasting.com:  remote
lccrickv:unknown:50.42.7.10  rcptrvau...@libertycasting.com  : found
existing recipient
@40004d7a79f011ffeaf4 connect(): Connection refused
@40004d7a79f01203bf6c qmail-smtpd: qq soft reject (mail server
temporarily rejected message (#4.3.0)):
MAILFROM:rvau...@libertycasting.com  RCPTTO:rvau...@libertycasting.com
@40004d7a79f018cdb564 tcpserver: end 13499 status 256
@40004d7a79f018cdbd34 tcpserver: status: 0/100


   



-
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: BLS: Re: [qmailtoaster] Help me, my qmail can send but cant receive anything, urgent

2011-03-08 Thread Pak Ogah
okay lets discuss it off the list using bahasa Indonesia to prevent 
miss-comunication

then if we solve the problem, I'll put the summary here

On 08-Mar-11 13:13, I.Y. Andi Aji Kristian wrote:

Yes,
Hi juga pak ogah,
saya Indonesia juga, lokasi saya di solo.
Kebetulan saya ada beberapa problem di QmailToaster saya.
Apakah pak ogah bersedia untuk membantu solusinya ?

Terima kasih,
Salam

2011/3/7 Pak Ogah pako...@pala.bo-tak.info 
mailto:pako...@pala.bo-tak.info


Halo Ibanez Apakabar?
from your domain, it seems you are Indonesian?
would you like to discuss with me in bahasa to prevent
miss-communication?

can we see the folder permission on your domain?
ls -ail /home/vpopmail/domains/mutugading.com http://mutugading.com



On 05-Mar-11 0:44, iba...@aplussolution.co.id
mailto:iba...@aplussolution.co.id wrote:

I use centos includes qmailtoaster 5.5,
I got fro buy your cd CentQMT5,

regards,
Ibanez


-Pesan Asli-
Dari: Jake Vickers
Terkirim:  04/03/2011 8:58:10 PM
Subjek:  Re: [qmailtoaster] Help me, my qmail can send but
cant receive anything, urgent

On 03/04/2011 07:05 AM, I.Y. Andi Aji Kristian wrote:

Hello, my qmailtoaster can send but can`t received anything.
i got error :
@40004d70d495340321d4 info msg 6835665: bytes 256284 from
emgitekexpo...@mutugading.ntt.net.id
mailto:emgitekexpo...@mutugading.ntt.net.id
mailto:emgitekexpo...@mutugading.ntt.net.id
mailto:emgitekexpo...@mutugading.ntt.net.id  qp 14912
uid 89
@40004d70d4953438e38c starting delivery 18: msg
6835665 to local
ajeyben...@mutugading.com
mailto:ajeyben...@mutugading.commailto:ajeyben...@mutugading.com
mailto:ajeyben...@mutugading.com
@40004d70d4953438ef44 status: local 1/10 remote 0/60
@40004d70d4953438f714 starting delivery 19: msg
6835665 to local
p...@mutugading.com
mailto:p...@mutugading.commailto:p...@mutugading.com
mailto:p...@mutugading.com
@40004d70d4953438fafc status: local 2/10 remote 0/60
@40004d70d495343902cc starting delivery 20: msg
6835665 to local
r...@mutugading.com
mailto:r...@mutugading.commailto:r...@mutugading.com
mailto:r...@mutugading.com
@40004d70d49534390a9c status: local 3/10 remote 0/60
@40004d70d49534390e84 starting delivery 21: msg
6835665 to local
sw...@mutugading.com
mailto:sw...@mutugading.commailto:sw...@mutugading.com
mailto:sw...@mutugading.com
@40004d70d4953439414c status: local 4/10 remote 0/60
@40004d70d495347df33c delivery 18: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40004d70d495347dfef4 status: local 3/10 remote 0/60
@40004d70d495347e02dc delivery 19: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40004d70d495347e0aac status: local 2/10 remote 0/60
@40004d70d495348c4734 delivery 20: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40004d70d495348c4f04 status: local 1/10 remote 0/60
@40004d70d495348c56d4 delivery 21: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40004d70d495348c5ea4 status: local 0/10 remote 0/60
@40004d70d49535694184 bounce msg 6835665 qp 14921



the log indicates that your system thinks the address does not
exist.
Did you do the full install and give the correct permissions
on the
database? Are the permissions correct on the directory?






Re: [qmailtoaster] Re: SMTP attack

2011-03-08 Thread Pak Ogah

On 07-Mar-11 21:49, Eric Shubert wrote:

Great job, Pak.
Thanks, Toma.
Pak, will you get this incorporated into the wiki?
TIA.
Ok Eric, it's done but since I just copy-paste as is and re-formatting, 
I didn't know what that fail2ban meaning (I haven't tried it also)
but, I saw something weird. So I would like to ask Sergio, Toma and 
other who understand fail2ban


@Sergio,
you create a filter named /etc/fail2ban/filter.d/vpopmail-fail.conf
but the regex is searching for vchkpw-smtp: password fail ([^)]*) 
[^@]*@[^:]*:HOST

and how come on action you blocking smtp port rather then pop3 port
action   = iptables[name=SMTP, port=smtp, protocol=tcp]

@Toma,
I have change
 logpath = /your/path/to/pop3/logs
into
 logpath = /var/log/maillog

because that is the log where I can find error vpopmail user not found 
on qmt system


btw I have change
 action = shorewall
into
 action = iptables[name=SMTP, port=smtp, protocol=tcp]
and the question also same, why did you block smtp port for error in 
pop3 log


I think we need standardize fail2ban rules for QMT


-
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: SMTP attack

2011-03-08 Thread Pak Ogah

okay thank you for your explanation

On 08-Mar-11 19:43, Toma Bogdan wrote:

Hello,

If your system have shorewall as firewall solution management
we get 'action' statement from /etc/fail2ban/jail.conf
---
[qmail-pop3]
enable  = true
filter  = qmail-pop3
action  = shorewall
sendmail[name=Qmail Pop3 user fail, 
dest=y...@yourdomain.com]

logpath = /path/to/logfile
maxretry = 3
bantime = 600
---
now action refer to a file from
/etc/fail2ban/action.d
shorewall.conf ( as shorewall from action line above )
and
sendmail.conf ( as sendmail from action line above )
where we have:

shorewall.conf
---
[Definition]
actionstart =
actionstop =
actioncheck =
actionban = shorewall drop ip
actionunban = shorewall allow ip
-

and

sendmail.conf
---
[Definition]
actionstart = printf %%b Subject: [Fail2Ban] name: started
   From: Fail2Ban sender
   To: dest\n
   Hi,\n
   The jail name has been started successfully.\n
   Regards,\n
   Fail2Ban | /usr/sbin/sendmail -f sender dest

actionstop = printf %%b Subject: [Fail2Ban] name: stopped
   From: Fail2Ban sender
   To: dest\n
Hi,\n
The jail name has been stopped.\n
Regards,\n
Fail2Ban | /usr/sbin/sendmail -f sender dest

actioncheck =

actionban = printf %%b Subject: [Fail2Ban] name: banned ip
 From: Fail2Ban sender
 To: dest\n
  Hi,\n
  The IP ip has just been banned by Fail2Ban after
failures attempts against name.\n
  Regards,\n
  Fail2Ban | /usr/sbin/sendmail -f sender dest

actionunban =   printf %%b Subject: [Fail2Ban] name: unbanned ip
   From: Fail2Ban sender
   To: dest\n
   Hi,\n
   The IP ip has just been unbanned by Fail2Ban
   Regards,\n
   Fail2Ban | /usr/sbin/sendmail -f sender 
dest




[qmailtoaster] Re: .mailfilter rules

2011-03-07 Thread Pak Ogah




On 01-Mar-11 23:25, PakOgah wrote:

  I tried to create a .mailfilter rules based on slamp slamp example
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg15443.html

which will deliver email with subject contain qmailtoaster to folder
qmailtoaster
and email with subject contain SPAM or BULK to folder Spam
and other email goes to inbox
but somehow the file didn't work.

Can someone tell me what's wrong with it ?

Thank b4

[root@svr-m1 ~]# cat
/home/vpopmail/domains/pala.bo-tak.info/pakogah/.mailfilter
if (/^Subject: *qmailtoaster*/)
{
exception {
to $VHOME/Maildir/.qmailtoaster/
}
}

if (/^Subject: *SPAM*/ || /^Subject:.*BULK*/)
{
exception {
to $VHOME/Maildir/.Spam/
}
}

to "$VHOME/Maildir"

  

Okay I found the answer by looking somebody else VHOME, so here's how I
create email filter / rules on server using maildrop 
first make sure maildrop is installed on server. when you install
qmailtoaster, its there by default.
then create a maildir folder in your VHOME
(/home/vpopmail/domains/pala.bo-tak.info/pakogah/)
in this example we are goint to create maildir folder named
qmailtoaster
(/home/vpopmail/domains/pala.bo-tak.info/pakogah/qmailtoaster) so
message with subject qmailtoaster goes to this folder.
qmailtoaster is a maildir folder not just regular folder. You can
create a maildir using the maildirmake command. But I create the folder
from squirrelmail.  
then create .qmail file inside your VHOME, that look like this



  

  
  
  |/var/qmail/bin/preline /usr/bin/maildrop -A
  'Content-Filter:
maildrop-toaster' /etc/mail/mailfilter
  
  

  



after that create .mailfilter file and create your rule, in below
example I just create a simple ones  



  

  
  
  if
  (/^Subject:.*qmailtoaster*/)
  {
  exception {
  to $VHOME/Maildir/.qmailtoaster/
  }
  }
  
  if
  (/^Subject:.*SPAM*/ ||
/^Subject:.*BULK*/)
  {
  exception {
  to $VHOME/Maildir/.Spam/
  }
  }
  
  

  









Re: [qmailtoaster] Testing filter

2011-03-07 Thread Pak Ogah

so does this email come into your qmailtoaster folder ??

On 07-Mar-11 16:07, mattias wrote:



   


-
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: SMTP attack

2011-03-07 Thread Pak Ogah

Oke done, prettified with some minor changes
http://wiki.qmailtoaster.com/index.php/Fail2Ban

On 06-Mar-11 5:26, Sergio M wrote:

Eric Shubert escribió:

Timing is good on this. :)

http://wiki.qmailtoaster.com/index.php?title=Fail2Banaction=edit

Have at it. I've added a link to this page under the Configuration- 
Security section. It's a start (albeit not much of one).



Hey guys, I created a basic article, but have trouble with formatting.
Can anyone take a look at it? this is how I meant it to look ;-)

== '''Basic fail2ban installation and setup''' ==


fail2ban homepage: http://www.fail2ban.org.
Please check [0] and [1] for more details.



== 1. Installation. ==

Enable the EPEL repos [1] and then 'yum install fail2ban'



== 2. Setup: ==

To work with Qmail/vpopmail, a filter and jail should be defined.
'''a.''' # mcedit /etc/fail2ban/filter.d/vpopmail-fail.conf

[Definition]
#Looks for failed password logins to SMTP
failregex = vchkpw-smtp: password fail ([^)]*) [^@]*@[^:]*:HOST

ignoreregex =

'''b.''' # mcedit /etc/fail2ban/jail.conf   (add 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

'''c. Test the filter file:'''
# fail2ban-regex /var/log/maillog 
/etc/fail2ban/filter.d/vpopmail-fail.conf


Returns something like this, with n matches for the regex or 0 if no 
matches:


Failregex
|- Regular expressions:
|  [1] vchkpw-smtp: password fail ([^)]*) [^@]*@[^:]*:HOST
|
`- Number of matches:
  [1] 123 match(es)


'''d. Reload config:'''
# fail2ban-client stop/start

'''e. Check the status of a jail:'''

# fail2ban-client status vpopmail-fail

Status for the jail: vpopmail-fail
|- filter
|  |- File list:/var/log/maillog
|  |- Currently failed: 7
|  `- Total failed: 225
`- action
  |- Currently banned: 109

| `- IP list: 200.207.49.13 84.79.73.123 187.35.209.243 (...) 
187.6.106.201 187.63.80.134 187.52.195.234 187.4.200.17


  `- Total banned: 109

'''NOTE:''' Once its starts running and the logs have matching 
strings, it will create iptables rules dropping that IP. But... when 
fail2ban reload and/or iptables restart and/or rebooting and/or the 
weekly logrotate, those rules are gone. bye bye!

So... what to do?

- Before changes, do a '# service iptables save' and it will write 
them to a file, and after any change do '# service iptables restart' 
to make it load the saved set of rules;

- Tune fail2ban to write IPs to /etc/fail2ban/ip.deny [3].


== 3.A little basic admin stuff ==

'''a. Check banned IPs:'''
- by fail2ban:# fail2ban-client status vpopmail-fail
- current iptables rules: # iptables -L -nv
- To see IPs that fail2ban is saving for the next reload:
# cat /etc/fail2ban/ip.deny

'''b. How to unblock an IP:'''
1) Delete it from the current iptables rules:
# iptables -D fail2ban-SMTP -s 11.22.33.44 -j DROP
2) remove it from /etc/fail2ban/ip.deny (maybe listed several times).
3) remove it from /etc/sysconfig/iptables (maybe listed several times).





== 4. References: ==

[0] 
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg30514.html
[1] 
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg30551.html

[2] http://fedoraproject.org/wiki/EPEL/FAQ#howtouse
[3] http://n8wood.wordpress.com/2009/06/22/fail2ban-permanent-ssh-bans/


- 
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: Dovecot?

2011-03-07 Thread Pak Ogah

ezmlm do have archive system

from ezmlm developer it self called ezmlm-www
http://ezmlm-www.sourceforge.net/

and from 3rd party:
MHonArc: http://www.mhonarc.org/
mharc: http://www.mhonarc.org/mharc/

I also has create a wiki how to installing MhonArc
http://wiki.qmailtoaster.com/index.php/MailingList_Archiving

@Jake, can I attach a file on wiki? I am afraid the free hosting I use, 
is no longer exist/free


but I have keen also on mailman, and just follow what the gurus and 
masters here.


On 07-Mar-11 21:17, mattias wrote:

Qmt v2? Sound intrested
Hope ezml will be replaced with mailman
I meen
Mailman have webinterface with archive
Ezml not have a webinterface with archive

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net]
Sent: Monday, March 07, 2011 3:47 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: Dovecot?


On 03/07/2011 02:14 AM, mattias wrote:
   

Are qmail not using courier?

 

Courier no longer supports vpopmail, so QMT v2 will be using dovecot.

Dovecot is far superior to Courier in many ways, especially performance.
Users with many/large imap mailboxes have found it necessary to use
dovecot for performance reasons alone.

Some of us are getting dovecot set up on our QMT hosts ahead of the
QMTv2 schedule. This gets us the benefits of dovecot sooner, and helps
to get it ready for QMTv2.

On the devel list, we're presently working on getting the latest dovecot
(v2.0.11) ready for use with QMTv1.3.x. When it's ready for general use,
we'll let folks know here. In the meantime, if you're interested, hop on
over to the devel list. :)

   



-
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: dovecot upgrade

2011-03-06 Thread Pak Ogah

how come the service script is differs from
http://wiki.qmailtoaster.com/index.php/Replacing_Courier_IMAP_with_Dovecot_IMAP#Building_the_services

just curious??
On 04-Mar-11 23:41, Eric Broch wrote:

Nigel,

Here are the 'cat' of dovecot and dovecot loggin I use...

for dovecot...

/var/qmail/supervise/dovecot/run

[root@poweredgeT105 dovecot]# cat run
#!/bin/sh
#
# service-dovecot-run
# John Simpson j...@jms1.net 2008-05-13
#
# 2009-02-12 jms1 - added code to find and check pidfile. if it exists but
#   doesn't point to a running dovecot process, delete it before running
#   dovecot itself. (i actually did this back in 2008-06 but forgot to 
put it
#   on the web site, thanks to Ventyslav Vassilev for reminding me 
about it.)

#
###
#
# Copyright (C) 2008,2009 John Simpson.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 3, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
###

# note: DO NOT FORGET to add the -F option to the end of the command!
CMD=/usr/local/sbin/dovecot -F

# may need to be removed
PIDFILE=/usr/local/var/run/dovecot/master.pid

if [ -f $PIDFILE ]
then
PID=`cat $PIDFILE`
if ps -p $PID -o comm= | grep -q dovecot
then
echo ERROR: dovecot[$PID] is already running
sleep 5
exit 1
else
rm -v $PIDFILE
fi
fi

echo command line: $CMD
exec env - PATH=/usr/bin:/bin $CMD 21
echo exec failed
sleep 5




And, for dovecot logging

/var/qmail/supervise/dovecot/log/run

[root@poweredgeT1052 log]# cat run
#!/bin/sh
LOGSIZE=`cat /var/qmail/control/logsize`
LOGCOUNT=`cat /var/qmail/control/logcount`
exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s$LOGSIZE 
n$LOGCOUNT /var/log/qmail/dovecot 21



Eric





Re: [qmailtoaster] Squirrel-mail

2011-03-06 Thread Pak Ogah

It's suitable for ISP/hosting provider
but not for internal company usage

btw, did you modified the index.php or you made as squirrel plugin?

On 05-Mar-11 0:19, sysad...@tricubemedia.com wrote:

Thanks Jake:

Here is a working version I have:
http://mail.techyguru.com/webmail

You will see the standard Squirrelmail logo, and another image I have
added below the login boxes
The link is clickable and be sent to ant web location.

This is not a plea for all qmailers to download what I have linked, but
you can if you wish.

I will finish writing the howto and get it in the wiki.

madmac

   

On 03/03/2011 04:10 PM, sysad...@tricubemedia.com wrote:
 

Hi list,
I have created and modified a script to allow admins, to ad a further
clickable logo to the standard squirrel-mail logon screen.

Can you please remind me how to put this on the wiki.

To view a working version, you can check out my test box
The logo as you can see can be linked to any URL

***MODS***
Am I allowed to post a URL in here?

Thanks
madmac

   

Yes you can post links - just be aware they are archives on the public
searchable repository for this list.

 



-
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: BLS: Re: [qmailtoaster] Help me, my qmail can send but cant receive anything, urgent

2011-03-06 Thread Pak Ogah

Halo Ibanez Apakabar?
from your domain, it seems you are Indonesian?
would you like to discuss with me in bahasa to prevent miss-communication?

can we see the folder permission on your domain?
ls -ail /home/vpopmail/domains/mutugading.com


On 05-Mar-11 0:44, iba...@aplussolution.co.id wrote:

I use centos includes qmailtoaster 5.5,
I got fro buy your cd CentQMT5,

regards,
Ibanez


-Pesan Asli-
Dari: Jake Vickers
Terkirim:  04/03/2011 8:58:10 PM
Subjek:  Re: [qmailtoaster] Help me, my qmail can send but cant receive 
anything, urgent

On 03/04/2011 07:05 AM, I.Y. Andi Aji Kristian wrote:
   

Hello, my qmailtoaster can send but can`t received anything.
i got error :
@40004d70d495340321d4 info msg 6835665: bytes 256284 from
emgitekexpo...@mutugading.ntt.net.id
mailto:emgitekexpo...@mutugading.ntt.net.id  qp 14912 uid 89
@40004d70d4953438e38c starting delivery 18: msg 6835665 to local
ajeyben...@mutugading.commailto:ajeyben...@mutugading.com
@40004d70d4953438ef44 status: local 1/10 remote 0/60
@40004d70d4953438f714 starting delivery 19: msg 6835665 to local
p...@mutugading.commailto:p...@mutugading.com
@40004d70d4953438fafc status: local 2/10 remote 0/60
@40004d70d495343902cc starting delivery 20: msg 6835665 to local
r...@mutugading.commailto:r...@mutugading.com
@40004d70d49534390a9c status: local 3/10 remote 0/60
@40004d70d49534390e84 starting delivery 21: msg 6835665 to local
sw...@mutugading.commailto:sw...@mutugading.com
@40004d70d4953439414c status: local 4/10 remote 0/60
@40004d70d495347df33c delivery 18: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40004d70d495347dfef4 status: local 3/10 remote 0/60
@40004d70d495347e02dc delivery 19: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40004d70d495347e0aac status: local 2/10 remote 0/60
@40004d70d495348c4734 delivery 20: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40004d70d495348c4f04 status: local 1/10 remote 0/60
@40004d70d495348c56d4 delivery 21: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40004d70d495348c5ea4 status: local 0/10 remote 0/60
@40004d70d49535694184 bounce msg 6835665 qp 14921

 


the log indicates that your system thinks the address does not exist.
Did you do the full install and give the correct permissions on the
database? Are the permissions correct on the directory?


   



-
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: BLS: Re: Help me, my qmail can send but cant receive anything, urgent

2011-03-06 Thread Pak Ogah

On 05-Mar-11 0:58, Eric Shubert wrote:

On 03/04/2011 10:44 AM, iba...@aplussolution.co.id wrote:

Yes, i create domain with vqmail, but i create user with qcontrol


-Pesan Asli-
Dari: Eric Shubert
Terkirim:  04/03/2011 8:54:42 PM
Subjek:  [qmailtoaster] Re: Help me, my qmail can send but cant 
receive anything, urgent


Let me guess (since you haven't provided much information to go on).
You used vqadmin to create the domain.
Right or wrong?


vqadmin has a problem with creating domains, which might be your 
problem. Please delete users and domain(s), then use qcontrol (or CLI 
and /home/vpopmail/bin/ commands) to create domain(s) and users. Do 
NOT use vqadmin to update anything. It's ok for inquiries though.



use steps described here:
http://wiki.qmailtoaster.com/index.php/Domains


-
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] Re: squirrel mail

2011-03-06 Thread Pak Ogah

Okay wiki added
http://wiki.qmailtoaster.com/index.php/Clickable_Banner


On step 7:
can I know why there is second div without image?

7.

!-- FOR you: Div for center, a href to link and an img tag as the linked
item //--
div style=text-align: center;a href=http://www.yourlink.com;
target=_blankimg height=60 width=468 alt=any text
heresrc=../images/yourimage.png/a/div
div style=text-align: center;a target=_blankimg height=
alt=Ant text here for use src=/a/div
/body/html


On 05-Mar-11 1:03, sysad...@tricubemedia.com wrote:

Hi Pak,

here is the howto, can you put on the wiki please.

Adding a second Image that is clickable to your Squirre amail Login screen

1. Login as root to “ Your “ server
2. cd  /usr/share/squirrelmail/src

3. Make a backup of the original login.php
4. cp login.php login.php.org

5. Edit the file login.php

6. Add the text right at the bottom of the file, after :
do_hook('login_bottom');
?

7.

!-- FOR you: Div for center, a href to link and an img tag as the linked
item //--
div style=text-align: center;a href=http://www.yourlink.com;
target=_blankimg height=60 width=468 alt=any text
heresrc=../images/yourimage.png/a/div
div style=text-align: center;a target=_blankimg height=
alt=Ant text here for use src=/a/div
/body/html



8. Copy your image in  png  format to ( using sftp or ant other means )
/usr/share/squirrelmail/images


9. Check permissions, should be owned by root:root, and 0644
if not run these commands:

cd /usr/share/squirrelmail/images
chown root:root yourimage.png
chmod 644 yourimage.png

10. Load up your webmail site, you should see your new clickable image.


Notes:

Originally my image would NOT show up
to Fix, I copied then default logo(sm_logo.png) to my windows PC, used
mspaint top open,
did edit , select all, hit delete.
I also opened my logo, did select all, copy, THEN pasted into the now
empty default squirrelmail logo .

Saved as sm_logo2.png, copied back to /usr/share/squirrelmail/image
set the correct logo name in the login.php file and Voila

Enjoy

madmac

   



-
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] Squirrel-mail

2011-03-06 Thread Pak Ogah

It's on http://wiki.qmailtoaster.com/index.php/Clickable_Banner
How do I get there? I just read the wiki help to see the correct format


On 05-Mar-11 1:05, sysad...@tricubemedia.com wrote:

Hi Pak
Sent the howto to your personal email.
Please let everyone know when it is on the wiki.

Then maybe send me a reminder on how you got it there please

Thanks

madmac

   

On 04-Mar-11 4:10, sysad...@tricubemedia.com wrote:
 

Hi list,
I have created and modified a script to allow admins, to ad a further
clickable logo to the standard squirrel-mail logon screen.

Can you please remind me how to put this on the wiki.

To view a working version, you can check out my test box
The logo as you can see can be linked to any URL

***MODS***
Am I allowed to post a URL in here?

Thanks
madmac

   

If you forgot how to update wiki, just sent the steps to me (or list)
and I'll updated it for you


-
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 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




  1   2   >