[qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Eric Shubert
Are you using VirtualHost definitions in apache? If so, see http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#vhosts Will you post the mod_rewrite commands you were using that failed to do what you wanted? I might be able to see whatever the problem is. -- -Eric 'shubes' madmac wrote:

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread madmac
I could not get any redirects to work on my qmail server: So I forced ssl, by that I mean I modified the http.conf to listen on 80, and 443 Made a defailt index.html for http, saying " nothing here: you must go to https://servername.com/webmail Then sent a server wide email to the fact. I will be

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Scott Hughes
CJ, Yes, those two directives are doing what I need them to do. Thanks! Scott On May 28, 2010, at 11:12 PM, Maxwell Smart wrote: Scott, It sounds like you handle multiple domains, but only in a mail environment. In my case I have used the QMTISO as a base to my webservers. It has bee

[qmailtoaster] clamav-0.96.1 soon to be on the mirrors

2010-05-28 Thread Jake Vickers
clamav-0.96.1-1.3.36 will be on the mirrors soon. I've manually updated the mirrors that I run and the others should update within a couple hours. This will be a good test to see if they are all sync'ing correctly. It is now 12:16am EDT (GMT-4). If after 3AM you have an issue with a mirror, plea

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Maxwell Smart
Scott, It sounds like you handle multiple domains, but only in a mail environment.  In my case I have used the QMTISO as a base to my webservers.  It has been an excellent base.  You can put those in the httpd.conf file or as Eric suggested in a .conf file in your conf.d folder.  Also, I c

Re: [qmailtoaster] Re: EZMLM and SmartHosts

2010-05-28 Thread Bharath Chari
On Friday 28 May 2010 09:08 PM, Eric Shubert wrote: My smtproutes file has my smarthost information in the form - :example.com username password (of course with my correct domain and user information). Like I said earlier, it's only ezmlm that's giving me a problem. I will try without the sma

[qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Eric Shubert
I see now. The aliases aren't relative to the root, so the fact that you changed the root doesn't matter. I think I'd try using the DirectoryIndex none the less. I think it's a little cleaner, and more conventional. Although your work-around is certainly clever. ;) -- -Eric 'shubes' Scott H

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Scott Hughes
Also, I can still get to the webmail by using the standard 'www.SERVERNAME.net/webmail'. In this case, it does go to the SSL page via the SSLREQUIRESSL and the 403 https://mail.SERVERNAME.net/ directives. Scott On 5/28/10 9:30 PM, Eric Shubert wrote: I'm not sure there is a best place. You

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Scott Hughes
I get to those by typing: www.SERVERNAME.net/admin-toaster (or /qcontrol or /qmailadmin). Those work just fine. It's the 'mail' on the front that is messing me up. Scott On 5/28/10 9:30 PM, Eric Shubert wrote: I'm not sure there is a best place. You might want create your own /etc/httpd/c

[qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Eric Shubert
Scott Hughes wrote: Thanks Eric - It should be noted that I have my DNS MX record set to point simply to 'mail.SERVERNAME.net' for all of the domains instead of worrying about smtp.SERVERNAME.net, pop.SERVERNAME.net, imap.SERVERNAME.net, etc. I think that's fine, so long as you don't expect

[qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Eric Shubert
I'm not sure there is a best place. You might want create your own /etc/httpd/conf.d/mydomain.conf file and put them in there. Any *.conf file in conf.d is included automatically. Scott, given the way that you have rigged webmail, how do you get to qmailadmin (and admin-toaster, etc)? -- -Er

[qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Eric Shubert
Ok, I think I found the problem. Does http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#vhosts apply to you? It fixed the problem for me. :) Maxwell Smart wrote: I have set up the Rewrite as suggested, but it does not redirect from http to https is only says forbidden. I can create a 403 r

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Scott Hughes
CJ, I don't use virtual hosts on this server. While this QMT server does handle several domains, I have everyone pointed to the main domain name to access their mail (webmail and mail clients). In addition to keeping all the settings the same, I can get away with only needing one SSL certif

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Scott Hughes
Thanks Eric - It should be noted that I have my DNS MX record set to point simply to 'mail.SERVERNAME.net' for all of the domains instead of worrying about smtp.SERVERNAME.net, pop.SERVERNAME.net, imap.SERVERNAME.net, etc. So if a user types into their browser 'mail.SERVERNAME.net' they are a

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Maxwell Smart
When you include SSLRequireSSL and it's not an SSL connection it will give an error 403, using the ErrorDocument 403 https://mail.servername.net include it will then redirect the page to the https page. On 05/28/2010 06:26 PM, Scott Hughes wrote: > CJ, > > I'm not getting any 403 errors. Would th

[qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Eric Shubert
I like that, Scott. Just keep in mind, you're talking about 2 separate things. The default page is one thing, and http->https redirection is another. I suppose redirection could be used for the default page, that would be unconventional, and more complicated than need be. Scott Hughes wrote:

Re: [qmailtoaster] Re: Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Eli Edwin Casimero
> Do you have any idea how you ended up with no QMAILQUEUE variable? This is > not the first time that has happened to someone recently. My current theory is that all these installations have in common is that they are CentOS 5.4 x86_64 XEN installations hosted in CentOS 5.4 x86_64 XEN. Maybe XE

[qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Eric Shubert
I'm working on the redirect (flip from http to https). I have it working on one server, but not another. Trying to figure out why. I'll be sure to post a solution when I figure it out. AFA the default location goes, what you've done is ok, so long as nobody will ever go anywhere besides webmai

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Scott Hughes
CJ, I'm not getting any 403 errors. Would this still apply? I'm just looking to make it so that when one of my users goes to "mail.SERVERNAME.net' they get the SSL pages. Thanks, Scott On 5/28/10 6:50 PM, Maxwell Smart wrote: Add these two lines to the virtual server. SSLRequireSSL Err

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Maxwell Smart
Add these two lines to the virtual server. SSLRequireSSL ErrorDocument 403 https://mail.servername.net There is a way to do a simple redirect, but I haven't played with it and can't seem to get it to work as desired.  I am told it has to do with timeout.  You set the META to timeout and redir

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread DNK
You could just do some sort of redirect for that domain IE with PHP or even javascript (but replies on hte browser then). On 2010-05-28, at 4:27 PM, Scott Hughes wrote: > CJ / Eric, > > How does one set up a redirect so that people automatically go to the secure > area? My SSL setup is wo

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Scott Hughes
CJ / Eric, How does one set up a redirect so that people automatically go to the secure area? My SSL setup is working, but only if I go directly there (https://mail.SERVERNAME.net). If I just do 'mail.SERVERNAME.net, it goes to the non-secure page. My setup is as follows: I have a symlink

[qmailtoaster] Re: Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Eric Shubert
Eli Edwin Casimero wrote: Tried this now: 1. zero / none / no "simscan" in all the log files archived or current of /var/log/qmail/smtp 2. /etc/tcprules.d/tcp.smtp 127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private" :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIM

Re: [qmailtoaster] Re: Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Eli Edwin Casimero
Tried this now: 1. zero / none / no "simscan" in all the log files archived or current of /var/log/qmail/smtp 2. /etc/tcprules.d/tcp.smtp 127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private" :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIM

Re: [qmailtoaster] Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Eli Edwin Casimero
Did this now. [r...@mail spamd]# svc -u /var/qmail/supervise/spamd [r...@mail spamd]# qmailctl stat authlib: up (pid 15752) 76535 seconds clamd: up (pid 15812) 76535 seconds imap4: up (pid 15764) 76535 seconds imap4-ssl: up (pid 15785) 76535 seconds pop3: up (pid 15745) 76536 seconds pop3-ssl: up

Re: [qmailtoaster] Re: Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Eli Edwin Casimero
Tried this now: 1. zero / none / no "simscan" in all the log files archived or current of /var/log/qmail/smtp 2. /etc/tcprules.d/tcp.smtp 127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private" :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIM

Re: [qmailtoaster] Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Eli Edwin Casimero
Did this now. [r...@mail spamd]# svc -u /var/qmail/supervise/spamd [r...@mail spamd]# qmailctl stat authlib: up (pid 15752) 76535 seconds clamd: up (pid 15812) 76535 seconds imap4: up (pid 15764) 76535 seconds imap4-ssl: up (pid 15785) 76535 seconds pop3: up (pid 15745) 76536 seconds pop3-ssl: up

[qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Eric Shubert
Maxwell Smart wrote: On 05/28/2010 09:52 AM, Eric Shubert wrote: Maxwell Smart wrote: While this will work for one domain or if the user knows that the master domain is the one he is receiving the certificate for. Has anyone set it up either using ssl or gnutls to have each virtual domain us

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Maxwell Smart
On 05/28/2010 09:52 AM, Eric Shubert wrote: > Maxwell Smart wrote: >> I have set up the Rewrite as suggested, but it does not redirect from >> http to https is only says forbidden. I can create a 403 redirect, but >> would rather set it up as a simple redirect. How is this done? > > Hmmm. I hav

[qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Eric Shubert
Maxwell Smart wrote: I have set up the Rewrite as suggested, but it does not redirect from http to https is only says forbidden. I can create a 403 redirect, but would rather set it up as a simple redirect. How is this done? Hmmm. I have one host where this is working, but I just checked anot

[qmailtoaster] Re: Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Eric Shubert
It looks as though spamd is running, but simscan isn't getting the messages. Are you seeing simscan messages in the smtp log? Like: 05-28 08:34:15 simscan:[3519]:CLEAN (0.10/8.00):5.2445s:... Please post the contents of: /etc/tcprules.d/tcp.smtp /var/qmail/control/simcontrol Please post the res

Re: [qmailtoaster] Re: Webmail SSL

2010-05-28 Thread Maxwell Smart
I have set up the Rewrite as suggested, but it does not redirect from http to https is only says forbidden. I can create a 403 redirect, but would rather set it up as a simple redirect. How is this done? While this will work for one domain or if the user knows that the master domain is the one

[qmailtoaster] Re: EZMLM and SmartHosts

2010-05-28 Thread Eric Shubert
Bharath Chari wrote: On Friday 28 May 2010 12:00 AM, Eric Shubert wrote: Bharath Chari wrote: Hi, Im using ezmlm on a qmailtoaster box with Smart Host set up? I'm getting rejects from the smart host of the form (from /var/log/qmail/send): failure:Connected_to_xxx.xxx.xxx.xxx_but_sender_was

[qmailtoaster] Re: Need your help

2010-05-28 Thread Eric Shubert
Please google the message "vchkpw-smtp: invalid user/domain characters". You'll find pertinent messages in the list archive. BL, there is nothing wrong with your QMT. These are simply advisory messages. -- -Eric 'shubes' Ganesh.payelkar wrote: Dear All, Today morning again i got

Re: [qmailtoaster] Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Martin Waschbuesch
Try svc -u /var/qmail/supervise/spamd This will cause daemontools to start the service again. Then look at the log file and tell us what it says. Also, it maybe that spamd has been restarted and is running, but the logger is not. To verify which services are running, do qmailctl stat and see

Re: [qmailtoaster] Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Eli Edwin Casimero
from /var/log/qmail/spamd/current @40004bff107e20f20b3c [2401] info: spamd: server killed by SIGTERM, shutting down @40004bff10881332f09c [15800] info: spamd: server started on port 783/tcp (running version 3.2.5) @40004bff10881332fc54 [15800] info: spamd: server pid: 15800 @40004b

Re: [qmailtoaster] Re: EZMLM and SmartHosts

2010-05-28 Thread Bharath Chari
On Friday 28 May 2010 12:00 AM, Eric Shubert wrote: Bharath Chari wrote: Hi, Im using ezmlm on a qmailtoaster box with Smart Host set up? I'm getting rejects from the smart host of the form (from /var/log/qmail/send): failure:Connected_to_xxx.xxx.xxx.xxx_but_sender_was_rejected./Remote_host

Re: [qmailtoaster] Need your help

2010-05-28 Thread Ganesh.payelkar
Dear All, Today morning again i got blow error, I don't know what is happening... vchkpw-smtp: invalid user/domain characters dÇ:117.41.181.113 Regards, Ganesh P On Thu, May 27, 2010 at 12:47 AM, senthil vel wrote: > Hi, > > Is it from /var/log/maillog? It seems the ip

Re: [qmailtoaster] Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64

2010-05-28 Thread Janno Sannik
what spamd log says? On 28.05.2010 4:19, Eli Edwin Casimero wrote: Help. Spamassassin not working in CentOS 5.4 and 5.5 x86_64 I just migrated my qmail toasters to 64 bit CentOS under XEN. Just noticed that spamassassin is not working. No X-Spam flags in the headers. I installed the missing