FW: [qmailtoaster] Fetchmail problem

2010-03-01 Thread Malik Madni


FYI 


From: m4madnima...@hotmail.com
To: qmailtoaster-list@qmailtoaster.com
Date: Wed, 17 Feb 2010 15:16:01 +
Subject: [qmailtoaster] Fetchmail problem



hello,
i was trying to configure Fetchmail on newly installed qmailToaster server. i 
followed the wiki doc. when i give this command
fetchmail -s -f /root/fetchctl -a --ssl -Z 554 -t 20 -S 127.0.0.1/2525

fetchmail: WARNING: Running as root is discouraged.
fetchmail: no mailservers have been specified.

 
please guide me how to resolve this issue.
 



Australia's #1 job site If it exists, you'll find it on SEEK.   
  
_
View photos of singles in your area! Browse profiles for FREE
http://clk.atdmt.com/NMN/go/150855801/direct/01/

[qmailtoaster] Fc 11

2010-03-01 Thread mattias
Can i install qmail toaster on fc 11 i not find info about 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: How things can work and do sort themselves out with a little help

2010-03-01 Thread Phil Leinhauser


 Eric Shubert wrote:
 MagicWISP Sales wrote:
 I just wanted to thank everybody for their help.  I had a
qtp toaster
  running on VMWare on a Quad Pentium 2
machine ndash; let me tell you that
 will not work.  It
was an experiment that got pressed into service as
 an
emergency.  Scan times after killing blacklists and ClamAV on
 emails of 222k were at 300 seconds, wow.  It caused
duplicate emails
 and all kinds of craziness, even after
adding Spamdyke.  I used one of
 Jakes tips on his video
page and cut the scan time down to an average
 of 110 on
the same email.  Quite an improvement but still too high to
 be usable.  I moved the VM to a temp machine this week, an
old
 E-Machines computer of all things with an AMD Athlon
XP 2000 processor
 with a whole 1G of memory, and scan
times on the same message fell to
 17 seconds.  Again
ndash; still too high, but at least the duplicate emails
 stopped.  I just used another tweak from Jakes video site
and the scan
 time fell to 9 seconds, with the blacklists
and ClamAV scans going
 again.  That will work until the
replacement server gets here next
 week.  If you are
using VMWare, you really need a higher end machine,
 I
think that could be the moral of this story.  The first server that
 was in use, had a sister sitting right next to it that ran
the QTP,
 plus webhost, plus a radius server, and never
ever broke a sweat.
 VMWare is a hog to say the least. 
Jakersquo;s video subscription may be
 the best thing I
have found for some quick instruction on usage of
 real
world tweaks.  Jake and Eric are always willing to help, and have
 great experiences to provide.  Also a shout out to Brent
for fixing
 the Spamdyke script ndash; it works.  Now if
I can figure out how to make
 the smtp log change at
midnight instead of whenever it wants, I will
 be happy. 
Great job all of you guys ndash; you really are lifesavers!!!


 Thanks for sharing.

 Before I comment on this, I want to check the
facts. This was a Quad
 P-II, and not a Quad P-4, right? Just
checking. Not that it would make
 all that much difference.
I'll have some comments to make regarding your
 experience
with VM guests soon.

 FWIW, I just migrated a
QMT from one VM guest to another, on the same
 host. The
former ran nicely (and still does on another host). The new

QMT VM is a pig. I'm not sure what the problem is yet. Top takes 10% of
 the cpu on the pig host, while on another guest w/ same kernel,
top runs
 less than 1%. So somewhere I'm seeing a ~10x
performance difference
 between 2 guests on the same host.
It'll be interesting (to say the
 least) to find the reason
why. There are some differences between the 3
 guests, but
not too many. I hope to nail it soon.

 

I've determined that as long as the ram on the guest is less than 656M,
 the guest runs speedily. If it's over that, then performance
degrades by
 a factor of 10. This threshold is not hard and
fixed, as on another host
 the limit appeared to be 680M.

I'm afraid to ask how you came to that strange number...  I
did see you mention that before somewhere but it was related to running on
32 bit.  I'm running x64 host and guest and haven't seen anything
like that.  In fact my QMT guest was running on 4G for a while and
after watching it, I saw it never really used more than a couple hundred
meg.  The rest went to cache.  I just knocked it back to 1G a
couple weeks ago and it seems to be just as happy and perky.
 
 This appears to be an issue with memory management (duh). This VM
guest
 has vmware-tools installed, which does have a guest memory
management
 component. Could be a bug in that code. I'll be doing
more testing to
 try identify the culprit, and post findings on
the wiki.
 
I think that's a note worthy of the wiki. 
Most people don't understand that the tools do more than video
drivers.  I'll add that...

 The difference in
performance is rather astounding, and counter
 intuitive in that
*less* ram runs faster. I'm sure there's a logical
 explanation,
but I don't yet know what it is.

Haven't seen it in x64.

Phil
 
 --
 -Eric 'shubes'



[qmailtoaster] Re: Fc 11

2010-03-01 Thread Eric Shubert

mattias wrote:

Can i install qmail toaster on fc 11 i not find info about it




Yes. You can follow the directions for CentOS, but use the scripts for 
Fedora 11 under the Distribution Specific Scripts/Info section on the 
web site.


--
-Eric 'shubes'


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

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

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




Re: [qmailtoaster] Re: squirrelmail/imap issue

2010-03-01 Thread Dave Hallowell




Helmut,
I recently ran into this problem with imap timing out. I don't use
squirrelmail much, but I was getting timeouts using thunderbird when
trying to send and receive from imap email accounts. I read a post on
this list about timeouts when the number of imap processes reached a
certain number. In my case, when I had the smtp timeouts, I would run
from the command line
# ps -ef | grep imapd | wc -l
and it would always return 43 processes when I was having problems. 42
processes, everything ran fine. When I had 43 imapd processes running
and experiencing issues, I would run this from the command line.
# /usr/bin/killall -9 imapd
this would kill all the current imapd processes and sending and
receiving email resumed properly.
I am running Centos4.8 and I haven't done an update for several months.
Still running qmail-toaster-1.03-1.3.18.
I also analyzed, checked, and repaired my vpopmail database but this
did not solve this issue.
So until I can figure out what is really causing this, I wrote a little
script that runs from cron every 5 minutes and if there are more than
42 imapd processes running, it kills them. Here is the script if you
wish to use it.
-- snip ---
DT=`date`
KILLIT="/usr/bin/killall -9 imapd"
PID=`ps -ef | grep imapd | wc -l`
if [ $PID -gt 42 ]
then
#echo "too high"
echo $DT  /oper/kill.log
echo $PID  /oper/kill.log 
$KILLIT  /dev/null 21
fi
- snip -

Hope this helps until a permanent solution is found.
Dave

Helmut Fritz wrote:

  Jake,
I am pretty sure it is not a dns issue.  This only happens occasionally, and
not all the time.  The DNS server is hosted by the same machine, and I run
the server and zones.  No changes, so nothing to look for there.  But maybe.

If it happens again I will be sure to check the load on the server, but this
machine never goes above 10% utilization.  I will take a more holistic look
at this next time it happens.

Thx.

Helmut 

-Original Message-
From: Jake Vickers [mailto:j...@qmailtoaster.com] 
Sent: Friday, February 26, 2010 7:40 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Re: squirrelmail/imap issue

On 02/26/2010 07:50 PM, Helmut Fritz wrote:
  
  
Thx Eric.  52 sent and 61 inbox.  Just logged into it now and it was 
fast, even sending with no error.  Maybe just an internet thing 
(although that should not lead to am imap disconnection?).  It did do 
this once before, and a reboot of the server cleared it up.
   

  
  
Sounds like maybe a DNS issue.



-
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




SV: [qmailtoaster] Re: Fc 11

2010-03-01 Thread mattias
Way aren't fc 8 supported?

-Ursprungligt meddelande-
Från: Eric Shubert [mailto:e...@shubes.net] 
Skickat: den 1 mars 2010 16:12
Till: qmailtoaster-list@qmailtoaster.com
Ämne: [qmailtoaster] Re: Fc 11


mattias wrote:
 Can i install qmail toaster on fc 11 i not find info about it
 
 

Yes. You can follow the directions for CentOS, but use the scripts for 
Fedora 11 under the Distribution Specific Scripts/Info section on the 
web site.

-- 
-Eric 'shubes'



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

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




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

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




[qmailtoaster] Re: How things can work and do sort themselves out with a little help

2010-03-01 Thread Eric Shubert

Phil Leinhauser wrote:

  Eric Shubert wrote:
  MagicWISP Sales wrote:
  I just wanted to thank everybody for their help. I had a qtp toaster
  running on VMWare on a Quad Pentium 2 machine – let me tell you that
  will not work. It was an experiment that got pressed into service as
  an emergency. Scan times after killing blacklists and ClamAV on
  emails of 222k were at 300 seconds, wow. It caused duplicate emails
  and all kinds of craziness, even after adding Spamdyke. I used one of
  Jakes tips on his video page and cut the scan time down to an average
  of 110 on the same email. Quite an improvement but still too high to
  be usable. I moved the VM to a temp machine this week, an old
  E-Machines computer of all things with an AMD Athlon XP 2000 processor
  with a whole 1G of memory, and scan times on the same message fell to
  17 seconds. Again – still too high, but at least the duplicate emails
  stopped. I just used another tweak from Jakes video site and the scan
  time fell to 9 seconds, with the blacklists and ClamAV scans going
  again. That will work until the replacement server gets here next
  week. If you are using VMWare, you really need a higher end machine,
  I think that could be the moral of this story. The first server that
  was in use, had a sister sitting right next to it that ran the QTP,
  plus webhost, plus a radius server, and never ever broke a sweat.
  VMWare is a hog to say the least. Jake’s video subscription may be
  the best thing I have found for some quick instruction on usage of
  real world tweaks. Jake and Eric are always willing to help, and have
  great experiences to provide. Also a shout out to Brent for fixing
  the Spamdyke script – it works. Now if I can figure out how to make
  the smtp log change at midnight instead of whenever it wants, I will
  be happy. Great job all of you guys – you really are lifesavers!!!
 
 
  Thanks for sharing.
 
  Before I comment on this, I want to check the facts. This was a Quad
  P-II, and not a Quad P-4, right? Just checking. Not that it would make
  all that much difference. I'll have some comments to make regarding your
  experience with VM guests soon.
 
  FWIW, I just migrated a QMT from one VM guest to another, on the same
  host. The former ran nicely (and still does on another host). The new
  QMT VM is a pig. I'm not sure what the problem is yet. Top takes 10% of
  the cpu on the pig host, while on another guest w/ same kernel, top runs
  less than 1%. So somewhere I'm seeing a ~10x performance difference
  between 2 guests on the same host. It'll be interesting (to say the
  least) to find the reason why. There are some differences between the 3
  guests, but not too many. I hope to nail it soon.
 
 
  I've determined that as long as the ram on the guest is less than 656M,
  the guest runs speedily. If it's over that, then performance degrades by
  a factor of 10. This threshold is not hard and fixed, as on another host
  the limit appeared to be 680M.

I'm afraid to ask how you came to that strange number...


Binary sort - splitting the difference between 2 values (768 and 640 
initially) and testing each one. It's real easy to see when there's a 
problem. 'top' takes 30-40% of cpu initially, then settles in at ~10%. 
When top takes that much cpu, you know you have a problem. ;)


I did see you 
mention that before somewhere but it was related to running on 32 bit.


Yeah, I made a note on the wiki about a 896M ceiling above which there 
was a slight performance hit. I'm not sure which page I saw that on, but 
it's probably somewhere in the reference links. What I was seeing was 
not at all slight!


I'm running x64 host and guest and haven't seen anything like that.  In 
fact my QMT guest was running on 4G for a while and after watching it, I 
saw it never really used more than a couple hundred meg.  The rest went 
to cache.  I just knocked it back to 1G a couple weeks ago and it seems 
to be just as happy and perky.


Yeah, QMT doesn't need all that much ram to run efficiently. I'm not 
sure what a good number is yet. It'll no doubt depend on how many 
messages need to be processed at once.


Are you running VMware Tools? I've narrowed the problem down to the 
guest memory management module that's part of Tools. I installed it to 
get the vmxnet device which is supposed to perform better, and the guest 
memory manager was included. I'd like to use the e1000 virtual network 
device, as that's supposed to perform best and doesn't require tools. I 
haven't managed to get it to work yet though.


I'll also be looking further at open-vm-tools. They have the open source 
components (which is most of) vmware-tools, and I think they're a little 
more up to date. If I can get what I need from there, that'll be the 
route I take.



 
  This appears to be an issue with memory management (duh). This VM guest
  has vmware-tools installed, which does have a guest memory management
  component. Could be a bug in that code. 

[qmailtoaster] DKIM/Domainkeys

2010-03-01 Thread sales
I have setup DKIM using Jakes videos, and the wiki for domainkeys.  I have
a problem.  DKIM isn't working at all and domainkeys is intermittent. 
Here is the email I get from check-a...@verifier.port25.com.

--
DomainKeys check details:
--
Result: fail (bad signature)
ID(s) verified: header.from=jack.d.mar...@magicwisp.com
DNS record(s):
private._domainkey.magicwisp.com. 1800 IN TXT k=rsa;
p=MEwwDQYJKoZIhvcNAQEBBQADOwAwOAIxAMkz2QL1kfW6aYgNIzfIdANn/mpttgsGyazGDWAMas
0jf4LFv2PU04CcshyL+637GwIDAQAB

--
DKIM check details:
--
Result: permerror (key dkim1._domainkey.mail.magicwisp.com doesn't
exist)
ID(s) verified:
Canonicalized Headers:
From:'20'Jack'20'Martin'20'jack.d.mar...@magicwisp.com'0D''0A'
To:'20'check-au...@verifier.port25.com'0D''0A'
Subject:'20'DKIM'20'Test'0D''0A'
Date:'20'Mon,'20'1'20'Mar'20'2010'20'06:37:27'20'-0600'0D''0A'


The domainkeys will pass once and fail once - that makes no sense to me.

Here is the pertinent info:

[r...@mail control]# ls -l | grep dkim
drwxr-xr-x 2 qmailrqmail 4096 Feb 27 19:57 dkim
[r...@mail control]# cd dkim
[r...@mail dkim]# ls -l
total 12
-rwxr-xr-x 1 qmailr qmail 392 Feb 27 19:48 global.key
-rwxr-xr-x 1 qmailr qmail 129 Feb 27 19:53 public.txt
-rwxr-xr-x 1 qmailr qmail 250 Jul  3  2009 signconf.xml

[r...@mail dkim]# cat public.txt
dkim1   IN  TXT k=rsa;
p=MEwwDQYJKoZIhvcNAQEBBQADOwAwOAIxANdYWKrEHivH6ZvF+lnqadWjy0Sc/vV6Tsb7Ey6kOE2zVWiaV8IUp+jS2jmKTkHNTwIDAQAB

[r...@mail control]# cd domainkeys
[r...@mail domainkeys]# ls -l
total 8
drwxr-xr-x 2 root vchkpw 4096 Feb 14 12:03 magicwisp.com
-rw-r--r-- 1 root root  0 Jan 17 17:13 public.txt
drwxr-xr-x 2 root vchkpw 4096 Jan 17 17:15 tanwichita.com
[r...@mail domainkeys]# cat public.txt
[r...@mail domainkeys]# cd magicwisp.com
[r...@mail magicwisp.com]# ls -l
total 8
-r--r- 1 root vchkpw 396 Feb 14 12:03 private
-rw-r--r-- 1 root vchkpw 142 Feb 14 12:03 public.txt
[r...@mail magicwisp.com]# cat public.txt
private._domainkey  IN  TXT k=rsa;
p=MEwwDQYJKoZIhvcNAQEBBQADOwAwOAIxAMkz2QL1kfW6aYgNIzfIdANn/mpttgsGyazGDWAMas0jf4LFv2PU04CcshyL+637GwIDAQAB


From my zone file:

$ttl 30M
magicwisp.com.  IN  SOA ns1.magicwisp.com. root.ns1.magicwisp.com. (
2009020910
10800
3600
604800
5D )
@   IN  NS  ns1.magicwisp.com.
magicwisp.com.  IN  MX  5 mail
magicwisp.com. IN TXT v=spf1 a mx all
mail.magicwisp.com. IN TXT v=spf1 a -all
_domainkey.magicwisp.com.   IN  TXT o=-; 
r=postmas...@magicwisp.com
private._domainkey  IN  TXT k=rsa;
p=MEwwDQYJKoZIhvcNAQEBBQADOwAwOAIxAMkz2QL1kfW6aYgNIzfIdANn/mpttgsGyazGDWAMas0jf4LFv2PU04CcshyL+637GwIDAQAB
dkim1 IN TXT k=rsa;
p=MEwwDQYJKoZIhvcNAQEBBQADOwAwOAIxANdYWKrEHivH6ZvF+lnqadWjy0Sc/vV6Tsb7Ey6kOE2zVWiaV8IUp+jS2jmKTkHNTwIDAQAB
12.169.159.242.magicwisp.com.   IN  PTR mail.magicwisp.com
magicwisp.com.  1800IN  A   12.169.159.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: SV: [qmailtoaster] Re: Fc 11

2010-03-01 Thread Jake Vickers

On 03/01/2010 10:23 AM, mattias wrote:

Way aren't fc 8 supported?

   



Because the project was in a state of transition during the time F8 was 
released, and support was never added. I added Fedora 9 support and did 
not see a need to go back and Fedora 8 support - in fact, you're the 
first person that has even noticed I believe.

Do you need Fedora 8 support?

-
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: squirrelmail/imap issue

2010-03-01 Thread Jake Vickers

On 03/01/2010 10:23 AM, Dave Hallowell wrote:

Helmut,
I recently ran into this problem with imap timing out.  I don't use 
squirrelmail much, but I was getting timeouts using thunderbird when 
trying to send and receive from imap email accounts.  I read a post on 
this list about timeouts when the number of imap processes reached a 
certain number.  In my case, when I had the smtp timeouts, I would run 
from the command line

# ps -ef | grep imapd | wc -l
and it would always return 43 processes when I was having problems. 42 
processes, everything ran fine. When I had 43 imapd processes running 
and experiencing issues, I would run this from the command line.

# /usr/bin/killall -9 imapd
this would kill all the current imapd processes and sending and 
receiving email resumed properly.
I am running Centos4.8 and I haven't done an update for several 
months. Still running qmail-toaster-1.03-1.3.18.
I also analyzed, checked, and repaired my vpopmail database but this 
did not solve this issue.
So until I can figure out what is really causing this, I wrote a 
little script that runs from cron every 5 minutes and if there are 
more than 42 imapd processes running, it kills them. Here is the 
script if you wish to use it.

-- snip ---
DT=`date`
KILLIT=/usr/bin/killall -9 imapd
PID=`ps -ef | grep imapd | wc -l`
if [ $PID -gt 42 ]
then
#echo too high
echo $DT  /oper/kill.log
echo $PID  /oper/kill.log
$KILLIT  /dev/null 21
fi
- snip -



Have you looked at the imapd config and ensured the MAXDAEMONS is set 
high enough?




Re: [qmailtoaster] DKIM/Domainkeys

2010-03-01 Thread Jake Vickers

On 03/01/2010 10:51 AM, sa...@magicwisp.com wrote:

I have setup DKIM using Jakes videos, and the wiki for domainkeys.  I have
a problem.  DKIM isn't working at all and domainkeys is intermittent.
Here is the email I get from check-a...@verifier.port25.com.

--
DomainKeys check details:
--
Result: fail (bad signature)
ID(s) verified: header.from=jack.d.mar...@magicwisp.com
DNS record(s):
 private._domainkey.magicwisp.com. 1800 IN TXT k=rsa;
p=MEwwDQYJKoZIhvcNAQEBBQADOwAwOAIxAMkz2QL1kfW6aYgNIzfIdANn/mpttgsGyazGDWAMas
0jf4LFv2PU04CcshyL+637GwIDAQAB

--
DKIM check details:
--
Result: permerror (key dkim1._domainkey.mail.magicwisp.com doesn't
exist)
   


I think this last one will be your issue - it's expecting a record for 
dkim1._domainkey.mail.magicwisp.com

Try adding a record for that and see if it resolves your issue.
I believe someone else had a similar issue and posted on the list about 
this, maybe 3-4 months back. Search the archives. If you cannot find 
anything, I'll check my account as they may have email me directly.


-
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] Invalid recipient

2010-03-01 Thread madmac

Hi List
Somehow now All external email are now being blocked as Invalid recipients.
All internal domains can still send to each other.
This happened just after  using Jakes replication video method 

I reset blacklist to none, and spf checking off, for now.

Still same , all external email being bounced.



-
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: squirrelmail/imap issue

2010-03-01 Thread Dave Hallowell




Jake,
Ah ha. I see MAXDAEMONS=40. How'd I miss that? Okay, I'll bump it up
and see what happens. Any suggestions on the number or just trial and
error?
Thanks Jake.
Dave

Jake Vickers wrote:

  
On 03/01/2010 10:23 AM, Dave Hallowell wrote:
  

Helmut,
I recently ran into this problem with imap timing out. I don't use
squirrelmail much, but I was getting timeouts using thunderbird when
trying to send and receive from imap email accounts. I read a post on
this list about timeouts when the number of imap processes reached a
certain number. In my case, when I had the smtp timeouts, I would run
from the command line
# ps -ef | grep imapd | wc -l
and it would always return 43 processes when I was having problems. 42
processes, everything ran fine. When I had 43 imapd processes running
and experiencing issues, I would run this from the command line.
# /usr/bin/killall -9 imapd
this would kill all the current imapd processes and sending and
receiving email resumed properly.
I am running Centos4.8 and I haven't done an update for several months.
Still running qmail-toaster-1.03-1.3.18.
I also analyzed, checked, and repaired my vpopmail database but this
did not solve this issue.
So until I can figure out what is really causing this, I wrote a little
script that runs from cron every 5 minutes and if there are more than
42 imapd processes running, it kills them. Here is the script if you
wish to use it.
-- snip ---
DT=`date`
KILLIT="/usr/bin/killall -9 imapd"
PID=`ps -ef | grep imapd | wc -l`
if [ $PID -gt 42 ]
then
#echo "too high"
echo $DT  /oper/kill.log
echo $PID  /oper/kill.log 
$KILLIT  /dev/null 21
fi
- snip -
  
  
  
Have you looked at the imapd config and ensured the MAXDAEMONS is set
high enough?
  




-
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: Invalid recipient

2010-03-01 Thread Eric Shubert

madmac wrote:

Hi List
Somehow now All external email are now being blocked as Invalid recipients.
All internal domains can still send to each other.
This happened just after  using Jakes replication video method 

I reset blacklist to none, and spf checking off, for now.

Still same , all external email being bounced.



Check:
/var/qmail/control/rcpthosts
/var/qmail/control/virtualdomains
/var/qmail/users/assign
/var/qmail/users/cdb

--
-Eric 'shubes'


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

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

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




Re: SV: [qmailtoaster] Re: Fc 11

2010-03-01 Thread Aleksander Podsiadły
Dnia 2010-03-01, pon o godzinie 16:23 +0100, mattias pisze:
 Way aren't fc 8 supported?
 
 
The highest number of Fedora Core was 6. Fedora 8 is unsupported by
RedHat: http://fedoraproject.org/wiki/LifeCycle/EOL
Fedora 11 will be maintained till 2010-06-11.
IMO Fedora isn't Linux distribution for server, rather for notebook or
workstation.

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


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




Re: [qmailtoaster] Re: Invalid recipient

2010-03-01 Thread madmac

Hi Erick:
/var/qmail/control/rcpthosts
qmt.local

/var/qmail/control/virtualdomains
Shows all my domains on this server
eg: techyguru.com:techyguru.com

/var/qmail/users/assign
shows all the domains
eg:
+techyguru.com-:techyguru.com:89:89:/home/vpopmail/domains/techyguru.com:-::

/var/qmail/users/cdb
not readable in human format:
?

What should the permissions be and owners.

Thanks

Eric Shubert wrote:

madmac wrote:

Hi List
Somehow now All external email are now being blocked as Invalid 
recipients.

All internal domains can still send to each other.
This happened just after  using Jakes replication video method 

I reset blacklist to none, and spf checking off, for now.

Still same , all external email being bounced.



Check:





-
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: Invalid recipient

2010-03-01 Thread Eric Shubert
techyguru.com should be in your rcpthosts file. That's what determines 
which domains your server will receive email for.


madmac wrote:

Hi Erick:
/var/qmail/control/rcpthosts
qmt.local

/var/qmail/control/virtualdomains
Shows all my domains on this server
eg: techyguru.com:techyguru.com

/var/qmail/users/assign
shows all the domains
eg:
+techyguru.com-:techyguru.com:89:89:/home/vpopmail/domains/techyguru.com:-:: 



/var/qmail/users/cdb
not readable in human format:
?

What should the permissions be and owners.

Thanks

Eric Shubert wrote:

madmac wrote:

Hi List
Somehow now All external email are now being blocked as Invalid 
recipients.

All internal domains can still send to each other.
This happened just after  using Jakes replication video method 

I reset blacklist to none, and spf checking off, for now.

Still same , all external email being bounced.



Check:





- 

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!



--
-Eric 'shubes'


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

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

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




Re: [qmailtoaster] Re: Invalid recipient

2010-03-01 Thread madmac

So should , all my domain be in the /var/qmail/control/rcpthosts
I will manuall re-add them and try.


Eric Shubert wrote:
techyguru.com should be in your rcpthosts file. That's what determines 
which domains your server will receive email for.


madmac wrote:

Hi Erick:
/var/qmail/control/rcpthosts
qmt.local

/var/qmail/control/virtualdomains
Shows all my domains on this server
eg: techyguru.com:techyguru.com

/var/qmail/users/assign
shows all the domains
eg:
+techyguru.com-:techyguru.com:89:89:/home/vpopmail/domains/techyguru.com:-:: 



/var/qmail/users/cdb
not readable in human format:
?

What should the permissions be and owners.

Thanks

Eric Shubert wrote:

madmac wrote:

Hi List
Somehow now All external email are now being blocked as Invalid 
recipients.

All internal domains can still send to each other.
This happened just after  using Jakes replication video method 

I reset blacklist to none, and spf checking off, for now.

Still same , all external email being bounced.



Check:





- 

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!






-
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: Invalid recipient

2010-03-01 Thread Eric Shubert
Yes, up to 50. If you have more than 50, the excess goes in the 
morercpthosts file.


madmac wrote:

So should , all my domain be in the /var/qmail/control/rcpthosts
I will manuall re-add them and try.


Eric Shubert wrote:
techyguru.com should be in your rcpthosts file. That's what determines 
which domains your server will receive email for.


madmac wrote:

Hi Erick:
/var/qmail/control/rcpthosts
qmt.local

/var/qmail/control/virtualdomains
Shows all my domains on this server
eg: techyguru.com:techyguru.com

/var/qmail/users/assign
shows all the domains
eg:
+techyguru.com-:techyguru.com:89:89:/home/vpopmail/domains/techyguru.com:-:: 



/var/qmail/users/cdb
not readable in human format:
?

What should the permissions be and owners.

Thanks

Eric Shubert wrote:

madmac wrote:

Hi List
Somehow now All external email are now being blocked as Invalid 
recipients.

All internal domains can still send to each other.
This happened just after  using Jakes replication video method 

I reset blacklist to none, and spf checking off, for now.

Still same , all external email being bounced.



Check:





- 

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!






- 

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!



--
-Eric 'shubes'


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

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

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




Re: [qmailtoaster] Re: Invalid recipient

2010-03-01 Thread madmac

That was it.

Thanks eric.

Warning to others using the replication toaster videos, 
Unless I did something wrong twice in a row
dont run the unison scripts on a LIVE server, ie one with accounts 
already active.

Better to setup replication on new empty servers.

I have run the replication twice now and got the same problem,
Unison over writes the files on the  current  server from the clone 
server. ie puts the original files with no domains , onto the live server.


When I try it with two new server, run the unison scripts, then add 
users and domains , it works.


Jake please correct me if I am wrong,

Thanks

Eric Shubert wrote:
Yes, up to 50. If you have more than 50, the excess goes in the 
morercpthosts file.


madmac wrote:

So should , all my domain be in the /var/qmail/control/rcpthosts
I will manuall re-add them and try.


Eric Shubert wrote:
techyguru.com should be in your rcpthosts file. That's what 
determines which domains your server will receive email for.


madmac wrote:

Hi Erick:
/var/qmail/control/rcpthosts
qmt.local

/var/qmail/control/virtualdomains
Shows all my domains on this server
eg: techyguru.com:techyguru.com

/var/qmail/users/assign
shows all the domains
eg:
+techyguru.com-:techyguru.com:89:89:/home/vpopmail/domains/techyguru.com:-:: 



/var/qmail/users/cdb
not readable in human format:
?

What should the permissions be and owners.

Thanks

Eric Shubert wrote:

madmac wrote:

Hi List
Somehow now All external email are now being blocked as Invalid 
recipients.

All internal domains can still send to each other.
This happened just after  using Jakes replication video method 

I reset blacklist to none, and spf checking off, for now.

Still same , all external email being bounced.



Check:





- 

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!






- 

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!






-
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: Optimizing a Server for VM

2010-03-01 Thread Brent Gardner

Glad to be of service.

Here's something else you might find useful.

I've attached a perl script I use in conjunction with spamdyke-stats to 
email me a daily report on yesterday's Spamdyke stats.


I used to use a bash script when I had Spamdyke set to log to maillog.  
I couldn't figure out how to work with the qmail timestamps in a bash 
script (maybe it's simple and my inexperience is showing), so when I 
switched to logging to the qmail SMTP log I rewrote it in perl.


I had to install Time::TAI64 and Date::Calc in order to get it to work.


Brent Gardner



MagicWISP Sales wrote:

Brent,

That version works on both types of logs - You rock!!!

-Original Message-
From: Brent Gardner [mailto:brent.gard...@gmail.com] 
Sent: Friday, February 26, 2010 8:27 PM

To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Re: Optimizing a Server for VM

I think I found the problem.


Entries in /var/log/maillog look like this:

Feb 22 10:04:32 smtp spamdyke[1941]: FILTER_RDNS_MISSING ip: 213.207.169.135


Entries in /var/log/qmail/smtp/current look like this:

@40004b8880e0199c9a3c spamdyke[1941]: FILTER_RDNS_MISSING ip: 
213.207.169.135



When the script runs in syslog mode it discards everything out of a log
entry up to and including spamdyke[pid]:  and processes the remainder of
the entry assuming that it starts at (in the example above) FILTER_.

Before, when the script runs in qmail log mode it only cuts off the
timestamp and space.  It leaves the spamdyke[pid}: , but still wants to
process the log entry as if it starts with FILTER_.

To the part that cuts off the timestamp I added code that cuts off the
spamdyke[pid]: .


I altered my toasters to log to the qmail smtp log so I would have test 
data.  It's working in my tests against either qmail logs or maillog.



Brent Gardner



sa...@magicwisp.com wrote:
  

Yes it does have plenty of spamdyke logs in it - I checked to make sure.

  


Eric-

Does the original script work for you?

I went back to look at the original thread where I got this script:

http://www.mail-archive.com/spamdyke-us...@spamdyke.org/msg01847.html

The script was written by Felix Buenemann and later altered based on
input from you and a few others so that it would work with qmail log
files or maillog files.

Spamdyke on my toasters logs to /var/log/maillog, so I don't have
genuine qmail logs to run through the script.  I took a maillog file,
copied it to a temp file and converted it into what I think is the
proper format based on your postings to the spamdyke-users list from
this time period.  Then I copied a bunch of data from a real qmail smtp
log into the temp file and ran the whole mess through the script and it
seemed to work OK with out tai64nlocal.  It returned the same numbers as
the original maillog file.

It doesn't work if I pipe the temp file through tai64nlocal.


Jack-

After further review I don't think the script is designed to run with a
qmail smtp log and tai64nlocal, but it should work just fine with a raw
qmail smtp log file.

The data you ran through from a maillog file produced numbers so low
that it makes me wonder... Did the qmail smtp log that you ran through
that produced a bunch of zeroes actually contain any Spamdyke log
  

entries?
  

Brent Gardner



sa...@magicwisp.com wrote:

  

Brent here is what I get:

[r...@mail spamdyke]# cat /var/log/qmail/smtp/current | tai64nlocal |
./spamdyke-stats
Use of uninitialized value in substr at ./spamdyke-stats line 57, 
line
1 (#1)
(W uninitialized) An undefined value was used as if it were already
defined.  It was interpreted as a  or a 0, but maybe it was a
mistake.
To suppress this warning assign a defined value to your variables.

To help you figure out what was undefined, perl tells you what
operation
you used the undefined value in.  Note, however, that perl optimizes
your
program and the operation displayed in the warning may not
necessarily
appear literally in your program.  For example, that $foo is
usually optimized into that  . $foo, and the warning will refer to
the concatenation (.) operator, even though there is no . in your
program.

Use of uninitialized value in substr at ./spamdyke-stats line 57, 
line
243 (#1)
Use of uninitialized value in substr at ./spamdyke-stats line 57, 
line
420 (#1)

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



  


sa...@magicwisp.com wrote:


  

It works great as long as you are using the default log location for
Spamdyke (/var/log/maillog).  I would love to see it work on the qtp
defaulted installation though, as I would imagine that's how most
people
are implementing it on this list.  I am not sure what it needs to make
it
work.  Maybe I can figure out what it is looking for.  I have no clues
on
perl scripting, but 

Re: [qmailtoaster] Re: squirrelmail/imap issue

2010-03-01 Thread Dave Hallowell




So I bumped up the MAXDAEMONS=50 and restarted qmail. About four hours
later, I have 43 imapd processes running and getting new mail results
in a timeout on thunderbird. I killall imapd processes, and can get
emails immediately. I noticed there is also a MAXPERIP=4 and I bumped
it up to MAXPERIP=6 and restarted qmail. See if that works. 
Dave

Dave Hallowell wrote:

  
Jake,
Ah ha. I see MAXDAEMONS=40. How'd I miss that? Okay, I'll bump it up
and see what happens. Any suggestions on the number or just trial and
error?
Thanks Jake.
Dave
  
Jake Vickers wrote:
  

On 03/01/2010 10:23 AM, Dave Hallowell wrote:

  
Helmut,
I recently ran into this problem with imap timing out. I don't use
squirrelmail much, but I was getting timeouts using thunderbird when
trying to send and receive from imap email accounts. I read a post on
this list about timeouts when the number of imap processes reached a
certain number. In my case, when I had the smtp timeouts, I would run
from the command line
# ps -ef | grep imapd | wc -l
and it would always return 43 processes when I was having problems. 42
processes, everything ran fine. When I had 43 imapd processes running
and experiencing issues, I would run this from the command line.
# /usr/bin/killall -9 imapd
this would kill all the current imapd processes and sending and
receiving email resumed properly.
I am running Centos4.8 and I haven't done an update for several months.
Still running qmail-toaster-1.03-1.3.18.
I also analyzed, checked, and repaired my vpopmail database but this
did not solve this issue.
So until I can figure out what is really causing this, I wrote a little
script that runs from cron every 5 minutes and if there are more than
42 imapd processes running, it kills them. Here is the script if you
wish to use it.
-- snip ---
DT=`date`
KILLIT="/usr/bin/killall -9 imapd"
PID=`ps -ef | grep imapd | wc -l`
if [ $PID -gt 42 ]
then
#echo "too high"
echo $DT  /oper/kill.log
echo $PID  /oper/kill.log 
$KILLIT  /dev/null 21
fi
- snip -



Have you looked at the imapd config and ensured the MAXDAEMONS is set
high enough?

  
-
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: squirrelmail/imap issue

2010-03-01 Thread Helmut Fritz
Dave and Jake - thx.  Will take a look into this as well.

 

Helmut

 

  _  

From: Dave Hallowell [mailto:d...@acbsco.com] 
Sent: Monday, March 01, 2010 12:37 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Re: squirrelmail/imap issue

 

So I bumped up the MAXDAEMONS=50 and restarted qmail.  About four hours
later, I have 43 imapd processes running and getting new mail results in a
timeout on thunderbird. I killall imapd processes, and can get emails
immediately. I noticed there is also a MAXPERIP=4 and I bumped it up to
MAXPERIP=6 and restarted qmail. See if that works. 
Dave

Dave Hallowell wrote: 

Jake,
Ah ha.  I see MAXDAEMONS=40. How'd I miss that? Okay, I'll bump it up and
see what happens. Any suggestions on the number or just trial and error?
Thanks Jake.
Dave

Jake Vickers wrote: 

On 03/01/2010 10:23 AM, Dave Hallowell wrote: 

Helmut,
I recently ran into this problem with imap timing out.  I don't use
squirrelmail much, but I was getting timeouts using thunderbird when trying
to send and receive from imap email accounts.  I read a post on this list
about timeouts when the number of imap processes reached a certain number.
In my case, when I had the smtp timeouts, I would run from the command line
# ps -ef | grep imapd | wc -l
and it would always return 43 processes when I was having problems. 42
processes, everything ran fine. When I had 43 imapd processes running and
experiencing issues, I would run this from the command line.
# /usr/bin/killall -9 imapd
this would kill all the current imapd processes and sending and receiving
email resumed properly.
I am running Centos4.8 and I haven't done an update for several months.
Still running qmail-toaster-1.03-1.3.18.
I also analyzed, checked, and repaired my vpopmail database but this did not
solve this issue.
So until I can figure out what is really causing this, I wrote a little
script that runs from cron every 5 minutes and if there are more than 42
imapd processes running, it kills them. Here is the script if you wish to
use it.
-- snip ---
DT=`date`
KILLIT=/usr/bin/killall -9 imapd
PID=`ps -ef | grep imapd | wc -l`
if [ $PID -gt 42 ]
then
#echo too high
echo $DT  /oper/kill.log
echo $PID  /oper/kill.log 
$KILLIT  /dev/null 21
fi
- snip -



Have you looked at the imapd config and ensured the MAXDAEMONS is set high
enough?


- 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: squirrelmail/imap issue

2010-03-01 Thread Michael Colvin
Will restarting just Qmail pick up those changes?

 

 

Michael J. Colvin

NorCal Internet Services

 http://www.norcalisp.com/ www.norcalisp.com

 

 http://www.norcalisp.com/ 

 

  _  

From: Dave Hallowell [mailto:d...@acbsco.com] 
Sent: Monday, March 01, 2010 12:37 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Re: squirrelmail/imap issue

 

So I bumped up the MAXDAEMONS=50 and restarted qmail.  About four hours
later, I have 43 imapd processes running and getting new mail results in a
timeout on thunderbird. I killall imapd processes, and can get emails
immediately. I noticed there is also a MAXPERIP=4 and I bumped it up to
MAXPERIP=6 and restarted qmail. See if that works. 
Dave

Dave Hallowell wrote: 

Jake,
Ah ha.  I see MAXDAEMONS=40. How'd I miss that? Okay, I'll bump it up and
see what happens. Any suggestions on the number or just trial and error?
Thanks Jake.
Dave

Jake Vickers wrote: 

On 03/01/2010 10:23 AM, Dave Hallowell wrote: 

Helmut,
I recently ran into this problem with imap timing out.  I don't use
squirrelmail much, but I was getting timeouts using thunderbird when trying
to send and receive from imap email accounts.  I read a post on this list
about timeouts when the number of imap processes reached a certain number.
In my case, when I had the smtp timeouts, I would run from the command line
# ps -ef | grep imapd | wc -l
and it would always return 43 processes when I was having problems. 42
processes, everything ran fine. When I had 43 imapd processes running and
experiencing issues, I would run this from the command line.
# /usr/bin/killall -9 imapd
this would kill all the current imapd processes and sending and receiving
email resumed properly.
I am running Centos4.8 and I haven't done an update for several months.
Still running qmail-toaster-1.03-1.3.18.
I also analyzed, checked, and repaired my vpopmail database but this did not
solve this issue.
So until I can figure out what is really causing this, I wrote a little
script that runs from cron every 5 minutes and if there are more than 42
imapd processes running, it kills them. Here is the script if you wish to
use it.
-- snip ---
DT=`date`
KILLIT=/usr/bin/killall -9 imapd
PID=`ps -ef | grep imapd | wc -l`
if [ $PID -gt 42 ]
then
#echo too high
echo $DT  /oper/kill.log
echo $PID  /oper/kill.log 
$KILLIT  /dev/null 21
fi
- snip -



Have you looked at the imapd config and ensured the MAXDAEMONS is set high
enough?


- 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
image001.gif

[qmailtoaster] Re: squirrelmail/imap issue

2010-03-01 Thread Eric Shubert
I don't believe so. Restarting qmail does not restart courier/imap. 
You'd need to either stop qmail and start it again, or do the commands 
that are in the qmail-spam and qmail-clamav scripts, except substitute 
imap4 (and imap4-ssl).


Michael Colvin wrote:

Will restarting just Qmail pick up those changes?

 

 


**Michael J. Colvin**

**NorCal Internet Services**

**//www.norcalisp.com// http://www.norcalisp.com/**

 


http://www.norcalisp.com/

 




*From:* Dave Hallowell [mailto:d...@acbsco.com]
*Sent:* Monday, March 01, 2010 12:37 PM
*To:* qmailtoaster-list@qmailtoaster.com
*Subject:* Re: [qmailtoaster] Re: squirrelmail/imap issue

 

So I bumped up the MAXDAEMONS=50 and restarted qmail.  About four hours 
later, I have 43 imapd processes running and getting new mail results in 
a timeout on thunderbird. I killall imapd processes, and can get emails 
immediately. I noticed there is also a MAXPERIP=4 and I bumped it up to 
MAXPERIP=6 and restarted qmail. See if that works.

Dave

Dave Hallowell wrote:

Jake,
Ah ha.  I see MAXDAEMONS=40. How'd I miss that? Okay, I'll bump it up 
and see what happens. Any suggestions on the number or just trial and error?

Thanks Jake.
Dave

Jake Vickers wrote:

On 03/01/2010 10:23 AM, Dave Hallowell wrote:

Helmut,
I recently ran into this problem with imap timing out.  I don't use 
squirrelmail much, but I was getting timeouts using thunderbird when 
trying to send and receive from imap email accounts.  I read a post on 
this list about timeouts when the number of imap processes reached a 
certain number.  In my case, when I had the smtp timeouts, I would run 
from the command line

# ps -ef | grep imapd | wc -l
and it would always return 43 processes when I was having problems. 42 
processes, everything ran fine. When I had 43 imapd processes running 
and experiencing issues, I would run this from the command line.

# /usr/bin/killall -9 imapd
this would kill all the current imapd processes and sending and 
receiving email resumed properly.
I am running Centos4.8 and I haven't done an update for several months. 
Still running qmail-toaster-1.03-1.3.18.
I also analyzed, checked, and repaired my vpopmail database but this did 
not solve this issue.
So until I can figure out what is really causing this, I wrote a little 
script that runs from cron every 5 minutes and if there are more than 42 
imapd processes running, it kills them. Here is the script if you wish 
to use it.

-- snip ---
DT=`date`
KILLIT=/usr/bin/killall -9 imapd
PID=`ps -ef | grep imapd | wc -l`
if [ $PID -gt 42 ]
then
#echo too high
echo $DT  /oper/kill.log
echo $PID  /oper/kill.log
$KILLIT  /dev/null 21
fi
- snip -



Have you looked at the imapd config and ensured the MAXDAEMONS is set 
high enough?


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


- 
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



--
-Eric 'shubes'


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

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

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




Re: [qmailtoaster] Re: squirrelmail/imap issue

2010-03-01 Thread Dave Hallowell
Michael / Eric,
I will stop and start qmail with only the MAXDAEMONS=40 bumped up to
MAXDAEMONS=50 and see if the problem comes back.
Thanks,
Dave

Eric Shubert wrote:
 I don't believe so. Restarting qmail does not restart courier/imap.
 You'd need to either stop qmail and start it again, or do the commands
 that are in the qmail-spam and qmail-clamav scripts, except substitute
 imap4 (and imap4-ssl).

 Michael Colvin wrote:
 Will restarting just Qmail pick up those changes?

  

  

 **Michael J. Colvin**

 **NorCal Internet Services**

 **//www.norcalisp.com// http://www.norcalisp.com/**

  

 http://www.norcalisp.com/

  

 

 *From:* Dave Hallowell [mailto:d...@acbsco.com]
 *Sent:* Monday, March 01, 2010 12:37 PM
 *To:* qmailtoaster-list@qmailtoaster.com
 *Subject:* Re: [qmailtoaster] Re: squirrelmail/imap issue

  

 So I bumped up the MAXDAEMONS=50 and restarted qmail.  About four
 hours later, I have 43 imapd processes running and getting new mail
 results in a timeout on thunderbird. I killall imapd processes, and
 can get emails immediately. I noticed there is also a MAXPERIP=4 and
 I bumped it up to MAXPERIP=6 and restarted qmail. See if that works.
 Dave

 Dave Hallowell wrote:

 Jake,
 Ah ha.  I see MAXDAEMONS=40. How'd I miss that? Okay, I'll bump it up
 and see what happens. Any suggestions on the number or just trial and
 error?
 Thanks Jake.
 Dave

 Jake Vickers wrote:

 On 03/01/2010 10:23 AM, Dave Hallowell wrote:

 Helmut,
 I recently ran into this problem with imap timing out.  I don't use
 squirrelmail much, but I was getting timeouts using thunderbird when
 trying to send and receive from imap email accounts.  I read a post
 on this list about timeouts when the number of imap processes reached
 a certain number.  In my case, when I had the smtp timeouts, I would
 run from the command line
 # ps -ef | grep imapd | wc -l
 and it would always return 43 processes when I was having problems.
 42 processes, everything ran fine. When I had 43 imapd processes
 running and experiencing issues, I would run this from the command line.
 # /usr/bin/killall -9 imapd
 this would kill all the current imapd processes and sending and
 receiving email resumed properly.
 I am running Centos4.8 and I haven't done an update for several
 months. Still running qmail-toaster-1.03-1.3.18.
 I also analyzed, checked, and repaired my vpopmail database but this
 did not solve this issue.
 So until I can figure out what is really causing this, I wrote a
 little script that runs from cron every 5 minutes and if there are
 more than 42 imapd processes running, it kills them. Here is the
 script if you wish to use it.
 -- snip ---
 DT=`date`
 KILLIT=/usr/bin/killall -9 imapd
 PID=`ps -ef | grep imapd | wc -l`
 if [ $PID -gt 42 ]
 then
 #echo too high
 echo $DT  /oper/kill.log
 echo $PID  /oper/kill.log
 $KILLIT  /dev/null 21
 fi
 - snip -



 Have you looked at the imapd config and ensured the MAXDAEMONS is set
 high enough?

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

 -
 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 

Re: [qmailtoaster] Re: Invalid recipient

2010-03-01 Thread sales
What should /var/qmail/control/rcpthosts have in it exactly?  I have two
domains, and both of those are listed as well as mail.those.domains.


 That was it.

 Thanks eric.

 Warning to others using the replication toaster videos,
 Unless I did something wrong twice in a row
 dont run the unison scripts on a LIVE server, ie one with accounts
 already active.
 Better to setup replication on new empty servers.

 I have run the replication twice now and got the same problem,
 Unison over writes the files on the  current  server from the clone
 server. ie puts the original files with no domains , onto the live server.

 When I try it with two new server, run the unison scripts, then add
 users and domains , it works.

 Jake please correct me if I am wrong,

 Thanks

 Eric Shubert wrote:
 Yes, up to 50. If you have more than 50, the excess goes in the
 morercpthosts file.

 madmac wrote:
 So should , all my domain be in the /var/qmail/control/rcpthosts
 I will manuall re-add them and try.


 Eric Shubert wrote:
 techyguru.com should be in your rcpthosts file. That's what
 determines which domains your server will receive email for.

 madmac wrote:
 Hi Erick:
 /var/qmail/control/rcpthosts
 qmt.local

 /var/qmail/control/virtualdomains
 Shows all my domains on this server
 eg: techyguru.com:techyguru.com

 /var/qmail/users/assign
 shows all the domains
 eg:
 +techyguru.com-:techyguru.com:89:89:/home/vpopmail/domains/techyguru.com:-::


 /var/qmail/users/cdb
 not readable in human format:
 ?

 What should the permissions be and owners.

 Thanks

 Eric Shubert wrote:
 madmac wrote:
 Hi List
 Somehow now All external email are now being blocked as Invalid
 recipients.
 All internal domains can still send to each other.
 This happened just after  using Jakes replication video method 

 I reset blacklist to none, and spf checking off, for now.

 Still same , all external email being bounced.


 Check:




 -

 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!




 -

 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!




 -
 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] Re: Invalid recipient

2010-03-01 Thread Eric Shubert

sa...@magicwisp.com wrote:

What should /var/qmail/control/rcpthosts have in it exactly?  I have two
domains, and both of those are listed as well as mail.those.domains.




localhost.localdomain
domain1.com
domain2.com

--
-Eric 'shubes'


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

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

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




Re: [qmailtoaster] Re: Invalid recipient

2010-03-01 Thread sales
OK - I have a total case of dumba$$ goin on today.  Here is what it has in
it now:
[r...@mail control]# cat rcpthosts
magicwisp.com
mail.magicwisp.com
tanwichita.com
mail.tanwichita.com


my hostname of the machine is mail.magicwisp.com.  So you are saying it
should say this:

mail.magicwisp.com
magicwisp.com
tanwichita.com

 sa...@magicwisp.com wrote:
 What should /var/qmail/control/rcpthosts have in it exactly?  I have two
 domains, and both of those are listed as well as mail.those.domains.



 localhost.localdomain
 domain1.com
 domain2.com

 --
 -Eric 'shubes'


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

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






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




[qmailtoaster] Re: Invalid recipient

2010-03-01 Thread Eric Shubert
I wasn't very clear. I got the localhost.localdomain from a QMT I 
maintain, but it appears like that's not necessarily needed. I think you 
should have:


magicwisp.com
mail.magicwisp.com
tanwichita.com

I think you only need mail.magicwisp.com because some system services 
that generate emails (logwatch, cron) will use the host name (fqdn) as 
the originating (from) domain name. I handle these by creating 
mail.magicwisp.com as an alias domain for magicwisp.com. I expect there 
are other ways of doing this though.


sa...@magicwisp.com wrote:

OK - I have a total case of dumba$$ goin on today.  Here is what it has in
it now:
[r...@mail control]# cat rcpthosts
magicwisp.com
mail.magicwisp.com
tanwichita.com
mail.tanwichita.com


my hostname of the machine is mail.magicwisp.com.  So you are saying it
should say this:

mail.magicwisp.com
magicwisp.com
tanwichita.com


sa...@magicwisp.com wrote:

What should /var/qmail/control/rcpthosts have in it exactly?  I have two
domains, and both of those are listed as well as mail.those.domains.



localhost.localdomain
domain1.com
domain2.com

--
-Eric 'shubes'


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

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







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



--
-Eric 'shubes'


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

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

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




Re: [qmailtoaster] DKIM/Domainkeys

2010-03-01 Thread sales
That did not seem to correct the problem.  I am still getting the same
error when testing DKIM.

 On 03/01/2010 10:51 AM, sa...@magicwisp.com wrote:
 I have setup DKIM using Jakes videos, and the wiki for domainkeys.  I
 have
 a problem.  DKIM isn't working at all and domainkeys is intermittent.
 Here is the email I get from check-a...@verifier.port25.com.

 --
 DomainKeys check details:
 --
 Result: fail (bad signature)
 ID(s) verified: header.from=jack.d.mar...@magicwisp.com
 DNS record(s):
  private._domainkey.magicwisp.com. 1800 IN TXT k=rsa;
 p=MEwwDQYJKoZIhvcNAQEBBQADOwAwOAIxAMkz2QL1kfW6aYgNIzfIdANn/mpttgsGyazGDWAMas
 0jf4LFv2PU04CcshyL+637GwIDAQAB

 --
 DKIM check details:
 --
 Result: permerror (key dkim1._domainkey.mail.magicwisp.com
 doesn't
 exist)


 I think this last one will be your issue - it's expecting a record for
 dkim1._domainkey.mail.magicwisp.com
 Try adding a record for that and see if it resolves your issue.
 I believe someone else had a similar issue and posted on the list about
 this, maybe 3-4 months back. Search the archives. If you cannot find
 anything, I'll check my account as they may have email me directly.

 -
 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