[qmailtoaster] chkuser characters

2011-01-24 Thread Jacob Vickers
I'm working on patching chkuser 2.0.9 into the 2.x build and the current
stable build. Here is the code:

 /*
 * If you need more additional characters to be accepted within rcpt address
 * uncomment one of the following #define and edit the character value.
 * Be careful to use '*' (single hiphen) and NOT * (double hiphen)
 around the
 * wanted char.
 *
 * Remember: '#' and '+' are accepted by CHKUSER_ALLOW_RCPT_SRS
 *
 */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_1 '$' */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_2 '%' */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_3 '£' */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_4 '?' */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_5 '*' */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_6 '^' */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_7 '~' */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_8 '' */ /* available for other
 characters */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_9 '#' */ /* available for other
 characters */
 /* #define CHKUSER_ALLOW_RCPT_CHAR_10 '=' */ /* available for other
 characters */


So opening 1, 2, 4, and 5 seems like it would be sufficient, along with
the / character. Does anyone know of any other characters that would be
required or wish to investigate this? From the messages on the mailing
list it seems that Blackberry accounts are the ones that keep hitting this
issue, so hoping that someone has done some research on this already and
can let me know what other characters would be required to be allowed in
the code.
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: LVG

2011-01-24 Thread Jacob Vickers
 On 01/23/2011 12:27 PM, Cecil Yother, Jr. wrote:
 I have a server that I installed the QMTISO on with 2TB hard drives.  I
 installed the OS with only one drive installed because I wanted to
 backup to the second drive.  When I installed the second drive it now
 sees them both as one.  I realize this is because the LVG setup.  The
 question is can I run the second drive independent of the LVG?

 CJ


 Sure you can.

 I strongly recommend though that you use the drives in a raid-1
 (mirrored) configuration. That way, you get the benefit of having a copy
 of everything on a 2nd drive (I would not call this a backup however),
 and the host will continue to run even if/when one drive fails.

 I don't think the QMTISO will allow you to do this, but I'm not sure.
 You'll need to do a manual/custom HDD configuration for that, which is
 fairly easy to do with the CentOS installer (anaconda).



When you select the Advanced option on the ISO installation it will
allow you to manually set partitions.
CJ - if you're asking about REMOVING a device from a LVG, you'll need to
do some research on this - if they're active as one big drive then your
current data may be already striped across both spindles and removing one
will remove portions of your current data. I believe there are some
documents and tools documented at the Linux Documentation Project that ay
offer some suggestions on how to remove a drive from configurations such
as this, but you'll need to look into it a little more. I do not have a
lot of experience with it - after being bitten once I use standard mounts
and RAID.
Hope that helps.


-
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] Replicated Server Issue

2011-01-24 Thread Jacob Vickers
 I am trying to add a server to my existing server in a replicated
 fashion.  I am running into a problem copying the database over to the
 new server.  When I follow the steps (listed below) in the Replicated
 Server video, nothing gets put into the NEW database.  Here are the
 steps I follow:

 On the OLD (#1) server:

 Dump vpopmail database into vpopdump.sql
 SCP file over to NEW server


 On the NEW (#2) server:

 Stop Slave
 Drop vpopmail database
 Create vpopmail database
 Import database I SCP'ed (dump file) over from existing server (#1)
 Start Slave


 When I check the new server with either QControl or QmailAdmin, there
 are NO domains or users.  I'm stumped on this one.  I've followed the
 above process three times and still no love!

 Also, the I double-checked that the dump file DOES contain data.

 Thanks,
 Scott




Does the newly created DB have the vpopmail user as having full rights to
the DB?


-
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: iptables question

2010-06-12 Thread Jacob Vickers
You can also use iptables-restore  /etc/sysconfig/iptables to
 load any changes you've made to the iptables file.  It will
 complain if you have a syntax error.


Little trick I also learned - set yourself up a cron job that will reset
the firewall rules every hour, even if it resets them to wide open. This
way when you lock yourself out, you only have to wait until the top of the
hour for the cron to kick off before the rules are reset and you can get
back in.
Enjoy!



-
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] dovecot install error

2010-06-11 Thread Jacob Vickers
 hi


 i followed the instructions as posted by mr amit
 http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg25551.html

 i downloaded the rpm from

 http://dl.atrpms.net/all/dovecot-1.2.11-3_108.src.rpm

 and put it in /usr/src/qtms-install


 rpm -i dovecot*.src.rpm

 it gave a warning

 warning: dovecot-1.2.11-3_108.src.rpm Header V4 DSA signature: NOKEY, key
 ID 6534c2b

 when i did

 rpmbuild –ba --target=i686 dovecot.spec

 i got error

 rpmbuild failed to stat /usr/src/qtms-install/-ba

 no such file or directory  i am stuck here.

 help required please

 if any body has implemented this i would like the exact steps please

 thanks very much


What system are you building on?
I'd venture to guess that you're in the wrong directory. If you're running
CentOS, you want to be in /usr/src/redhat/SPECS to run the command you
were running.



-
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] Creating Global Address Book QmailToaster Mail Server

2010-06-10 Thread Jacob Vickers
 Hi List,

 Is there any way I could create a global address book for my qmailtoaster
 Mail server? If there is, pls help me how to do it.


To the best of my knowledge, you can create one for Squirrelmail, but that
will not propagate to the clients. There will be some work in the future
to incorporate LDAP into Qmailtoaster that may open some avenues to
accomplish this, so you may need to look at outside 3rd party
tools/projects to achieve this for the time being.


-
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: Memory dan Email stats

2010-02-10 Thread Jacob Vickers

 Do you have zombie processes running? Your cpu load is low, yet there
 are 3 spamd processes running.
 I thought spamd has 2 standby child-processes and the other one is the
 master process


Actually spamd will spin off up to 6 child processes to handle incoming
messages (I believe 6 is the default - may be 8). You can override this
with a switch in the run file to allow more/less child processes. I do not
recall what the switch is off the top of my head, but --children jumps
out. Check the options for the spamd process.



-
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: Virtual QMT

2010-02-10 Thread Jacob Vickers
 Jake Vickers wrote:
 Eric Shubert wrote:
 Phil Leinhauser wrote:

 Is there anything like a load tester for QMT
 to mimic the 500 user limit?


 I don't know of one. (Doesn't mean there isn't one)

 It'd be nice to have a testing harness of some sort for QMT. Anyone up
 for writing one?


 One of the setups I was working on was Xen, but there is one running
 ESX. They have 500 users, all using IMAP, and some users experience 8-10
 minute lags in accessing their imap stores (or webmail).
 IMAP processes have been increased, and the softlimit has also been
 increased.
 I do agree we could use some testing tools (this should be on the devel
 list, and can easily be added to the tools section of the subversion
 repo).
 I used to have a script around here somewhere that dumped 10K emails to
 load test, but haven't used it in a long time and would have to really
 dig to find it.
 I just wonder if the imap load isn't hitting a limitation in the VMware
 storage structure. The system has enough horse power and lots of RAM.
 'sar' shows the cpu is not working very hard. When running a 'du -sh *'
 on the /home/vpopmail/domains takes as long as 7 minutes on a couple
 domains, which is what points me towards a VMware filesystem suspicion,
 since that test is not even using imap but straight file access.

 That's a good guess. I'll think about it a bit.

 Courier or Dovecot? (Not that it matters a whole lot if filesystem
 access is slow)

 Which elevator type is running on the guest? (noop appears to be best)
 Any idea which elevator ESX is configured to use?
 Which ESX version?

 As a side thought - anyone ever looked at freshmeat on some pop/imap
 testing tools?



Courier is running. I may switch them to dovecot since it handles the
larger mailboxes better (some boxed are 7+ Gigs in total size). I still
think it's a filesystem issue though, as a 'du -sh' command takes so long.
I do not have much more information as to the ESX setup however. They did
have the mailstore mapped via NFS and switching that to a local
filesytem decreased the issues by 50% or more. They moved a busy host to
another ESX server and that decreased the issues even more, but they still
experience 1-3 issues per day, always during peak times.

And when I compare that against a 1500+ user system I have on a bare-metal
server (mixed pop3 and imap) that does not have any issues (and 1/2 the
hardware horsepower), the only other thing I can point a finger at at this
point would be VMware.

Some testing tools would be great to reproduce this type of thing. Did
anyone come up with any ideas yet?


-
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: Virtual QMT

2010-02-10 Thread Jacob Vickers
 On 2/10/2010 7:50 AM, Jake Vickers wrote:

 One of the setups I was working on was Xen, but there is one running
 ESX. They have 500 users, all using IMAP, and some users experience
 8-10 minute lags in accessing their imap stores (or webmail).
 This isn't directly related to the topic on hand, but  I found that
 without VMWare tools installed and using kernel options, there are
 serious clock drifts especially in CentOS/RHEL using the 2.6 kernel.

 http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1006427



Not relevant in this case, but thanks.
Time keeping has tripped me up in the past when the mailstore was on a NFS
share. Never did get a clean fix for this, at least not in my opinion.
(Note that I'm talking about a different system in regards to the time
keeping). I installed the tools, and still have to run ntpdate every 5
minutes to keep the clock from skewing too far for the NFS mailstore
running dovecot.



-
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: Memory dan Email stats

2010-02-10 Thread Jacob Vickers
 Jacob Vickers wrote:
 Do you have zombie processes running? Your cpu load is low, yet there
 are 3 spamd processes running.

 I thought spamd has 2 standby child-processes and the other one is the
 master process


 Actually spamd will spin off up to 6 child processes to handle incoming
 messages (I believe 6 is the default - may be 8). You can override this
 with a switch in the run file to allow more/less child processes. I do
 not
 recall what the switch is off the top of my head, but --children jumps
 out. Check the options for the spamd process.

 Actually, it's -m, like this:

 from my /var/qmail/supervise/spamd/run:

 exec /usr/bin/spamd -x -m 6 -u vpopmail -s stderr 21


 This will run up to 6 child processes.  5 is the default.


 Brent Gardner






Thanks for the update on that. I couldn't remember them off the top of my
head. I can't even remember the last time I needed to tune that ;)




-
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] qmailctl start error

2010-02-08 Thread Jacob Vickers
 hello all could you please help me ,when i start qmail got error as below.
 [r...@mail qmail]#  qmailctl start

 smultilog: fatal: unable to switch to current directory: access denied
 multilog: fatal: unable to open directory /var/log/qmail/submission:
 access denied
 ermultilog: fatal: unable to switch to current directory: access denied
 multilog: fatal: unable to open directory /var/log/qmail/submission:
 access denied
 vicemultilog: fatal: unable to open directory /var/log/qmail/submission:
 access denied
 multilog: fatal: unable to switch to current directory: access denied
  qmmultilog: fatal: unable to open directory /var/log/qmail/submission:
 access denied
 multilog: fatal: unable to switch to current directory: access denied
 ail multilog: fatal: unable to open directory /var/log/qmail/submission:
 access denied
 multilog: fatal: unable to switch to current directory: access denied
 stopmultilog: fatal: unable to switch to current directory: access denied
 multilog: fatal: unable to open directory /var/log/qmail/submission:
 access denied




Is this a fresh install? Sometimes you need a reboot after a fresh install.
Dis all of the packages install correctly?



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




Re: [qmailtoaster] Re:

2010-02-05 Thread Jacob Vickers
 Thanks Jake, I'll check that out.

 They are already getting marked as SPAM.  It would be nice just to have
 them deleted at that point instead of ever making it to the SPAMBOX.

 The only reason I ask this is in the past month or so the amount of SPAM
 has gone off the charts.  Anyone else noticing this?

 CJ



I can't check all my servers from here, but my personal mail server is
about average - rejecting about 262 messages a min.



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

2010-02-01 Thread Jacob Vickers
 Hi Everyone,

 I'm getting the below error. What does this exactly means? Server is
 running
 fine.

 [9720] warn: config: failed to parse line, skipping, in
 /etc/mail/spamassassin/local.cf: report_header 1
 [9720] warn: config: failed to parse line, skipping, in
 /etc/mail/spamassassin/local.cf: detailed_phrase_score 1
 [9720] warn: lint: 2 issues detected, please rerun with debug enabled for
 more
 information



It means you have some syntax errors in your local.cf file. Try running
spamassassin -D --lint and double checking the syntax of your local.cf
entries.


-
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