Re: [qmailtoaster] SFTP server with public key authentication

2022-12-03 Thread Janno Sannik

umm. It seems  like way wrong mailing list for this kind of issue.

On 03.12.2022 09:00, ChandranManikandan wrote:

Hi Folks,

I am using Amazon Linux2 and my customer requires SFTP server with the 
public key authentication with each sftp user.


Appreciate anyone who helps me step.


Sorry

*/Thanks & Best Regards,
Manikandan.C
/*
*/Ph: +65 8309 3210/*

Re: [qmailtoaster] Outlook users get "unsupported encryption type" error after Windows update

2022-10-18 Thread Janno Sannik
It indeed works for me to date. I don't know if I should be scared of it 
now that you are saying that this breaks with latest windows update :)
One thing I could thing of - There might be problem with ciphers. I also 
messed around with it. Check the https://www.immuniweb.com/ssl/ test 
(put your.mail.server:993 as address) to see how it likes you ssl 
implementation.



Other solution would be to run nginx as a proxy (which I also did). 
Nginx needs auth module to authenticate and choose which back end has 
emails for this specific user. It is a simple script what will connect 
to qmail mysql server and check for user and password fields. Could be 
in perl, python or even bash/command line. I wrote this also (in PHP). I 
was thinking to use this as moving over per domain or email for testing. 
Made the solution and used it for my email accounts but never got around 
finishing the plan and converting to dovecot.


https://docs.nginx.com/nginx/admin-guide/mail-proxy/mail-proxy/


I do have another server which was upgraded to dovecot , but you need to 
pay attention to prefix = INBOX. parameter if you are coming from 
courier. It needs to be set, otherwise outlook will act wierdly and wil 
not sync mail anymore (thunderbird understands the change and works 
automatically). I think it's documented in conversion tutorial.  And 
indeed if there would be problems then I would know as there are most 
users running outlook on this server (around 100 accounts).


IMHO dovecot is MUCH faster with mailboxes with alot of emails in one 
folder.



Janno

On 17.10.2022 20:51, Quinn Comendant wrote:


On 13 Oct 2022, at 12:12, Jeff Koch wrote:

I think this would indicate that our Dovecot IMAP supports TLSv1.2
and should work with the Outlook updates. Am I missing something?

FWIW, I applied Janno Sannik's patch 
 
to enable TLS 1.2 in Courier 4.1, after which testssl.sh reported that 
TLS 1.2 is working correctly. However, some of our users still 
reported errors using Outlook. So, the issue doesn't seem to be as 
simple as enabling TLS 1.2?


I'm currently working to replace Courier with Dovecot, since you 
mentioned the latest Dovecot version works for you.


Quinn


Re: [qmailtoaster] Best Config for new server

2022-01-20 Thread Janno Sannik
it's probably discussed before, but why it moved away from centos to 
Springdale or Rocky?


I also need to make a fresh install. So that is why I'm curious.


For server stuff - always would go for ECC if you can and it's 
reasonably busy machine. It doesn't have to cost arm and a leg since 
there is aftermarket hw to snatch with reasonable prices. It's really 
complicated to debug a server with memory problems because it might not 
crash the whole OS, just crashing processes at random.


As Linus Torvalds has said  - we never know how many bad kernel dumps 
have been submitted  and there is nothing wrong with the code, just bad 
memory in the system.


Also if failure occures, you will know where and what dimm is broken. 
And if you are lucky it get's corrected by ECC on the fly.



Janno

On 20.01.2022 18:36, Angus McIntyre wrote:

My impression is that Rocky is more widely supported than Springdale by
VM providers like Digital Ocean and Linode. But I think they also allow
you to provide your own images for initializing VMs, so maybe that's not
an obstacle so much as an extra step.

Angus



Remo wrote on 1/20/22 10:46 AM:

I like rocky Linux.

Remo

Il giorno 20 gen 2022, alle ore 03:06, Andreas Galatis  ha 
scritto:

Hi all,

I use the qmail-toaster since many years and are very glad with it. The system 
is very stable, secure and configurable with the features we need.

I need to install a new Server for qmail and migrate the installation from 
CentOS7.

What is the preferred OS, (Rocky or Springdale)

Is there a big advantage of ECC-Ram (with XEON) over Standard Ram (with Core7)?

Thanks in advance

Iodok



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


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



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



[qmailtoaster] Centos 8 Stream minimal install + autoresponder + mirror support

2021-11-19 Thread Janno Sannik
1) Is there some guide to have minimal install for latest version and 
latest cent8S. I would like to make a conversion from old version, but I 
don't use any of the "frontend" features so I don't need apache, 
roundcube,squirrel, vqadmin( we have our own management system 
programmed on top of qmail for that).


I made the install using the script provided, but felt really violated 
if all that stuff was installed. Also I don't know what's the total 
memory loss because only turning off httpd would give 200MB of ram.


It kinda would seem that I could bail out on the end of the script to 
not have this UI stuff. Just asking some recon info before diving in.



2)  is autoresponder still filebased ( we re-compiled it with mysql 
support so that we could manage it remotely). So I'm thinking if I need 
to recompile that part.



3) I would like to become a mirror. I've done my homework on 
https://github.com/QMailToaster/qmailtoaster-mirror/blob/master/howto.md 
. ip range: 90.190.106.96/27



Janno

Re: [qmailtoaster] Mailbox Size

2021-02-24 Thread Janno Sannik

Hi,

I'm guessing how to keep thing optimized and how big the mailbox can get.
I would say the whole mailbox size is not that big of a deal. The 
problem comes on filesystem level if you have too many files on one folder.
So, they should probably organize so that later than few years are 
either in separate folder or even categorized yearly or so.


I have not seen problems with mailboxes 30-40GB+, but I have seen 
problems if all the emails are in same folder. ext4 starts to slow down 
if you have 50-100k files in one folder.



Janno
On 19.02.2021 12:40, Eric Broch wrote:

I guess I'm unsure of what you are trying to accomplish
On Feb 18, 2021, at 10:17 PM, ChandranManikandan > wrote:


Hi Eric,

Yes, I have been using noquota settings through qmailadmin.
Some of the mailboxes have more than 50 GB.
So i would like to know about the supporting mailbox size and how
do i optimize it.

On Thu, Feb 18, 2021 at 11:54 PM Eric Broch <
ebr...@whitehorsetc.com > wrote:

You can set NOQUOTA on a mailbox:

#  /home/vpopmail/bin/vmoduser -q NOQUOTA 'email addr'

or

# /home/vpopmail/bin/vadduser -q NOQUOTA 'email addr'


On 2/18/2021 3:53 AM, ChandranManikandan wrote:

Hi Friends,

I have more than 250 mailboxes running with COS7 + qmailtoaster
My management requested to keep key persons mailboxes always
on the server without archiving.
How much storage can be used in a single mailbox on
qmailtoaster.
Appreciate your suggestions.


-- 
*/Regards,

Manikandan.C
/*




-- 
*/Regards,

Manikandan.C
/*



Re: [qmailtoaster] TLS v1.2 on Centos 6, Thunderbird 78

2020-11-13 Thread Janno Sannik

Hi,

No. Just looked into it. Seems like depencency goes a little grazy if 
trying to compile it on centos6. I should convert to new os & dovecot 
anyway.
Also it seems qmail itself (smtp) was not affected since thunderbird 
could send out mail just fine. That would say that qmail itself is using 
openssl latest tls as needed. I did not bother to recheck as it is working.


I should probably dig into courier->dovecot howto that I saw floating 
aroud here already instead.
I have made one conversion. I just made everyone with outlook to readd 
their mailboxes and I would like to avoid that.


Thanks for help.

Janno

On 13.11.2020 00:01, Eric Broch wrote:


Have you looked at upgrading:

http://www.courier-mta.org/imap/download.html

http://www.courier-mta.org/FAQ.html#rpm


On 11/12/2020 12:45 PM, Janno Sannik wrote:
The stackexchange was the first thing I tried, but it seemed just 
guesswork going on in there.

And of course - it did not work.

Couriertls manpage says that you can use only:
TLS_PROTOCOL=proto

Set the protocol version. The possible versions are: SSL2, SSL3, TLS1.

Source: http://manpages.org/couriertls

The code reveals:
    ctx=SSL_CTX_new(protocol && strcmp(protocol, "SSL2") == 0
    ? SSLv2_method():
    protocol && strcmp(protocol, "SSL3") == 0 ? 
SSLv23_method():

    TLSv1_method());

Which is what I saw - whatever garbage I put in the TLS_PROTOCOL 
variable - it did not care and defaulted to tlsv1


So looking at the openssl man page: 
https://www.openssl.org/docs/man1.0.2/man3/TLSv1_method.html


Luckyly there were sslv2 and sslv3 so I did not need to know much 
about c coding and could just directly make a replacement since they 
are also absolute.


diff -Nur courier-imap-4.1.2/tcpd/libcouriertls.c 
courier-imap-4.1.2-new/tcpd/libcouriertls.c
--- courier-imap-4.1.2/tcpd/libcouriertls.c 2006-10-28 
20:47:32.0 +0300
+++ courier-imap-4.1.2-new/tcpd/libcouriertls.c 2020-11-12 
21:06:03.338688570 +0200

@@ -416,9 +416,9 @@
    memcpy(info_copy, info, sizeof(*info_copy));
    info_copy->isserver=isserver;

-   ctx=SSL_CTX_new(protocol && strcmp(protocol, "SSL2") == 0
-   ? SSLv2_method():
-   protocol && strcmp(protocol, "SSL3") == 0 ? 
SSLv23_method():

+   ctx=SSL_CTX_new(protocol && strcmp(protocol, "TLS1_1") == 0
+   ? 
TLSv1_1_method():
+   protocol && strcmp(protocol, "TLS1_2") == 0 ? 
TLSv1_2_method():



rpm was built --with cnt5064 (on centos6 system)

And behold:

openssl s_client -tls1_2 -connect mail.example.com:993

New, TLSv1.2, Cipher is AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : AES256-GCM-SHA384
    Session-ID: 
175F44FDDE4230DBDD7200B5E276AB1D87206062931B05EAD68A3892DF3CDB68

    Session-ID-ctx:
    Master-Key: 
F9BDA2CCD78802E8FE2AFD7B440C5E3F5EE8AFD286ABF39F7BCB7796B55D89C5D043207BCB5E8F5C70D372EFAF30CC65

    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 7200 (seconds)
    TLS session ticket:


I'm well aware that I'm fixin a dead horse, but just archiving it to 
myself and anyone it might concern of :)



On 12.11.2020 20:17, Eric Broch wrote:


Also

qmail with updated ssl

http://repo.whitehorsetc.com/6/development/x86_64/

On 11/12/2020 11:10 AM, Eric Broch wrote:


This may help with Courier IMAP

https://serverfault.com/questions/845162/disabling-sslv2-in-courier-imap


On 11/12/2020 10:50 AM, Janno Sannik wrote:


Yes. I probably compiled it to centos 6 myself (i have been using 
qmail from start of it's days when compiling it was usual, around 
17 years). This specific box dates back to that time and is also 
the reason for this mixed setup.


[root@mail]# cat /etc/redhat-release
CentOS release 6.10 (Final)


I was not sure if it will work with latest one. We had a few 
modifications to the qmail, but I can't be 100% sure of all the 
things. Like autoresponder in mysql (so we can have easy change of 
autoresponders from our own web management panel).
Also I was probably afraid to mess up mailboxes if switching to 
dovecot. Since packages simply compiled it was fast and safe 
transition


So i'm guessing it's out of scope for you because I have this 
mixed setup what anyone should not even have in a first place.


I'm thinking of making centos 8 box with all latest qmail packages 
and mounting it with nfs in parallel to test things out and use it 
only as a client server (imap,pop). Later on would move on to 
fully replace old machine so that incoming mail would also be 
handled. Would it work (accessin

Re: [qmailtoaster] TLS v1.2 on Centos 6, Thunderbird 78

2020-11-12 Thread Janno Sannik
The stackexchange was the first thing I tried, but it seemed just 
guesswork going on in there.

And of course - it did not work.

Couriertls manpage says that you can use only:
TLS_PROTOCOL=proto

Set the protocol version. The possible versions are: SSL2, SSL3, TLS1.

Source: http://manpages.org/couriertls

The code reveals:
    ctx=SSL_CTX_new(protocol && strcmp(protocol, "SSL2") == 0
    ? SSLv2_method():
    protocol && strcmp(protocol, "SSL3") == 0 ? 
SSLv23_method():

    TLSv1_method());

Which is what I saw - whatever garbage I put in the TLS_PROTOCOL 
variable - it did not care and defaulted to tlsv1


So looking at the openssl man page: 
https://www.openssl.org/docs/man1.0.2/man3/TLSv1_method.html


Luckyly there were sslv2 and sslv3 so I did not need to know much about 
c coding and could just directly make a replacement since they are also 
absolute.


diff -Nur courier-imap-4.1.2/tcpd/libcouriertls.c 
courier-imap-4.1.2-new/tcpd/libcouriertls.c
--- courier-imap-4.1.2/tcpd/libcouriertls.c 2006-10-28 
20:47:32.0 +0300
+++ courier-imap-4.1.2-new/tcpd/libcouriertls.c 2020-11-12 
21:06:03.338688570 +0200

@@ -416,9 +416,9 @@
    memcpy(info_copy, info, sizeof(*info_copy));
    info_copy->isserver=isserver;

-   ctx=SSL_CTX_new(protocol && strcmp(protocol, "SSL2") == 0
-   ? SSLv2_method():
-   protocol && strcmp(protocol, "SSL3") == 0 ? SSLv23_method():
+   ctx=SSL_CTX_new(protocol && strcmp(protocol, "TLS1_1") == 0
+   ? TLSv1_1_method():
+   protocol && strcmp(protocol, "TLS1_2") == 0 ? 
TLSv1_2_method():



rpm was built --with cnt5064 (on centos6 system)

And behold:

openssl s_client -tls1_2 -connect mail.example.com:993

New, TLSv1.2, Cipher is AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : AES256-GCM-SHA384
    Session-ID: 
175F44FDDE4230DBDD7200B5E276AB1D87206062931B05EAD68A3892DF3CDB68

    Session-ID-ctx:
    Master-Key: 
F9BDA2CCD78802E8FE2AFD7B440C5E3F5EE8AFD286ABF39F7BCB7796B55D89C5D043207BCB5E8F5C70D372EFAF30CC65

    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 7200 (seconds)
    TLS session ticket:


I'm well aware that I'm fixin a dead horse, but just archiving it to 
myself and anyone it might concern of :)



On 12.11.2020 20:17, Eric Broch wrote:


Also

qmail with updated ssl

http://repo.whitehorsetc.com/6/development/x86_64/

On 11/12/2020 11:10 AM, Eric Broch wrote:


This may help with Courier IMAP

https://serverfault.com/questions/845162/disabling-sslv2-in-courier-imap


On 11/12/2020 10:50 AM, Janno Sannik wrote:


Yes. I probably compiled it to centos 6 myself (i have been using 
qmail from start of it's days when compiling it was usual, around 17 
years). This specific box dates back to that time and is also the 
reason for this mixed setup.


[root@mail]# cat /etc/redhat-release
CentOS release 6.10 (Final)


I was not sure if it will work with latest one. We had a few 
modifications to the qmail, but I can't be 100% sure of all the 
things. Like autoresponder in mysql (so we can have easy change of 
autoresponders from our own web management panel).
Also I was probably afraid to mess up mailboxes if switching to 
dovecot. Since packages simply compiled it was fast and safe transition


So i'm guessing it's out of scope for you because I have this mixed 
setup what anyone should not even have in a first place.


I'm thinking of making centos 8 box with all latest qmail packages 
and mounting it with nfs in parallel to test things out and use it 
only as a client server (imap,pop). Later on would move on to fully 
replace old machine so that incoming mail would also be handled. 
Would it work (accessing vpopmail fs in parallel that is)?


It's getting night time here and would be good time to make 
maintenance so help is appreciated.


Janno

On 12.11.2020 16:53, Eric Broch wrote:


Are you sure you're running CentOS 6?

On 11/12/2020 7:49 AM, Eric Broch wrote:


Sorry,

The *-toaster designation went out with CentOS 5 and we stopped 
using Courier IMAP altogether in CentOS 6


Eric

On 11/12/2020 7:47 AM, Eric Broch wrote:


So,

The *-toaster designation went out with CentOS 6. Did you 
compile/build the RPMs yourself?


Eric

On 11/12/2020 5:10 AM, Emiliano Lima wrote:

hello friend, I have this same problem ..

Em qui., 12 de nov. de 2020 às 5:46 AM, Janno Sannik 
mailto:ja...@foor.ee>> escreveu:


Hi,


Seems to have hit a problem with new Thunderbird 78
disabling tls lower
than v1.2. So now they cann

Re: [qmailtoaster] TLS v1.2 on Centos 6, Thunderbird 78

2020-11-12 Thread Janno Sannik


Yes. I probably compiled it to centos 6 myself (i have been using qmail 
from start of it's days when compiling it was usual, around 17 years). 
This specific box dates back to that time and is also the reason for 
this mixed setup.


[root@mail]# cat /etc/redhat-release
CentOS release 6.10 (Final)


I was not sure if it will work with latest one. We had a few 
modifications to the qmail, but I can't be 100% sure of all the things. 
Like autoresponder in mysql (so we can have easy change of 
autoresponders from our own web management panel).
Also I was probably afraid to mess up mailboxes if switching to dovecot. 
Since packages simply compiled it was fast and safe transition


So i'm guessing it's out of scope for you because I have this mixed 
setup what anyone should not even have in a first place.


I'm thinking of making centos 8 box with all latest qmail packages and 
mounting it with nfs in parallel to test things out and use it only as a 
client server (imap,pop). Later on would move on to fully replace old 
machine so that incoming mail would also be handled. Would it work 
(accessing vpopmail fs in parallel that is)?


It's getting night time here and would be good time to make maintenance 
so help is appreciated.


Janno

On 12.11.2020 16:53, Eric Broch wrote:


Are you sure you're running CentOS 6?

On 11/12/2020 7:49 AM, Eric Broch wrote:


Sorry,

The *-toaster designation went out with CentOS 5 and we stopped using 
Courier IMAP altogether in CentOS 6


Eric

On 11/12/2020 7:47 AM, Eric Broch wrote:


So,

The *-toaster designation went out with CentOS 6. Did you 
compile/build the RPMs yourself?


Eric

On 11/12/2020 5:10 AM, Emiliano Lima wrote:

hello friend, I have this same problem ..

Em qui., 12 de nov. de 2020 às 5:46 AM, Janno Sannik <mailto:ja...@foor.ee>> escreveu:


Hi,


Seems to have hit a problem with new Thunderbird 78 disabling
tls lower
than v1.2. So now they cannot connect.

I run a older box on centos 6. OS supports TLS v1.2, but how to
make it
available on courier imaps?

Running a tool on the imap port reports tls v1.0 only.

My qmail version: qmail-toaster-1.03-1.3.22

My courier-imap version: courier-imap-toaster-4.1.2-1.3.10


Janno


-
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] TLS v1.2 on Centos 6, Thunderbird 78

2020-11-12 Thread Janno Sannik

Hi,


Seems to have hit a problem with new Thunderbird 78 disabling tls lower 
than v1.2. So now they cannot connect.


I run a older box on centos 6. OS supports TLS v1.2, but how to make it 
available on courier imaps?


Running a tool on the imap port reports tls v1.0 only.

My qmail version: qmail-toaster-1.03-1.3.22

My courier-imap version: courier-imap-toaster-4.1.2-1.3.10


Janno


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



Re: [qmailtoaster] Alternative email filtering (Eset?)

2020-10-07 Thread Janno Sannik
I'm already using proxmox mail gateway as outgoing server, but it does 
not add any special virus protection to it. It's the same clamav. It's 
actually more to give webui to monitor outgoing emails and logs and give 
this to non-technical users.


I understand that "use external service", but if we start to look at it 
like this then why use qmail in the first place- use it as external 
service and you get rid of all of the hassle :)


The one reason to have all in the house is to have control over email 
where they are and where they gets lost. Having services split around 
everywhere makes it hard to trace if client comes with "I sent email, 
did on arrive at inbox".


It seems that Eset Mail Security is told to be compatible with Qmail 
(https://help.eset.com/ems_linux/4/en-US/installation.html?scanning_of_inbound_email.html). 
There is something weird going on with the price of 105usd for first 
year and 55usd updates yearly which also gives you permission to use 5 
simultaneous installations. It seems like the integration is somewhat 
magical.


I'd prefer the command line tool that could be fed with incoming emails 
and make a move according to return code.


I guess I'm going explore it myself and going for Eset linux file 
security. It seems that it's possible to get some trial/test licenses to 
check it out.



Janno

On 05.10.2020 16:28, Jeff Koch wrote:

Janno - let us know what you find out - we could better virus filtering as 
well. Drweb and avast may have Linux / qmail versions

Sent from my iPhone


On Oct 5, 2020, at 9:19 AM, Eric Broch  wrote:

I used Sonicwall paid service and I know of others who have used Barracuda.

You would just set your MX record to point to the paid service MX and configure 
the paid service MX to route whatever domains are hosted on your QMT to it.

If you want outgoing service set up the paid service relay in QMT's smtproutes 
file. You'll also want to find out if the paid service does TLS if you need it.

I've also looked at things like Proxmox mail gateway and Mailcleaner 
(https://www.mailcleaner.org && https://www.mailcleaner.org/documentation/). If 
necessary you'll also want to find out if they do TLS.

Eric


On 10/5/2020 6:59 AM, Gary Bowling wrote:


I don't know anything about eset. But, if I were looking for a paid alternative 
for virus, I would look at relay services.


A relay service that provides virus scanning makes things very simple and once 
configured makes your email server administration the same as it is now. Your 
server just sends outbound mail to the relay and inbound traffic is routed to 
the relay and then forwarded to your server (your dns mx records point to the 
relay service).


This also makes it the relay companies responsibility to keep you off 
blacklists and to resolve any issues with blacklists.


I haven't done a search for relay companies, but I've thought about it. It 
would remove all the things that are a hassle about running a mail server, 
which is spam/viruses/blacklists/etc and place that responsibility on someone 
else.


Just my 2 cents.


Gary



On 10/5/2020 8:39 AM, Janno Sannik wrote:
Has anyone tried/using alternative (maybe paid) service for virus scanning?

I'm thinking of getting Eset file server or email for linux package. I'm really 
getting some viruses and Trojans going past clamav just to be hit on the head 
with eset workstation security. File security is around 155usd first buy and 
80usd /yearly for the updates next year.

So was thinking to get the file server client and run the CLI to play ball with 
qmail.

Sample here: 
https://forum.eset.com/topic/23639-is-there-any-working-cli-scanner-for-linux/


Has anybody done that or how hard would be to add ESET to the pipeline? For me 
it does not seem too hard and I can make the legwork, but would rather get some 
input before going forward with it.


Regards,

Janno





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


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

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



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




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



[qmailtoaster] Alternative email filtering (Eset?)

2020-10-05 Thread Janno Sannik

Has anyone tried/using alternative (maybe paid) service for virus scanning?

I'm thinking of getting Eset file server or email for linux package. I'm 
really getting some viruses and Trojans going past clamav just to be hit 
on the head with eset workstation security. File security is around 
155usd first buy and 80usd /yearly for the updates next year.


So was thinking to get the file server client and run the CLI to play 
ball with qmail.


Sample here: 
https://forum.eset.com/topic/23639-is-there-any-working-cli-scanner-for-linux/



Has anybody done that or how hard would be to add ESET to the pipeline? 
For me it does not seem too hard and I can make the legwork, but would 
rather get some input before going forward with it.



Regards,

Janno





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



Re: [qmailtoaster] Older versions

2020-02-28 Thread Janno Sannik
I have same thing waiting. But does the folder subscription also work 
magically. I undestood, that dovecot uses other format/files.


Should we follow something like this also: 
https://wiki2.dovecot.org/Migration/Courier



Janno

On 28.02.2020 19:33, Eric Broch wrote:


It's not really necessary.

Dovecot will create all its own files necessary for the IMAP client


On 2/28/2020 10:19 AM, r...@mattei.org wrote:

I would for sure move to dovecot before moving to a new env.

Remo


Il giorno 28 feb 2020, alle ore 09:06, rtar...@host2max.com ha scritto:



I have older version of qmail toaster running.  I want to migrate to 
updated version but I  still have Courier.


Do I need to update courier to Dovecot, then migrate them?

Is there any particular versions that I need to be at before updating?

I already have the new server setup and tested.

Thanks in advance.



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





Re: [qmailtoaster] blocking with spamdyke using only the username@

2020-02-28 Thread Janno Sannik
I had similar problems, that user it spamming domains with specific list 
of users.
I went and configured fail2-ban to ban all the failed attempts to 
smtp,imap,pop and submission. Much more universal and works for 
newcomers as well. All problems went away real fast and my maillog 
stopped being so huge (now fail2-ban.log is growing thou :D).


Janno

On 14.01.2020 17:47, Eric's mail wrote:

Can you ask on the spamdyke mailing list?

Eric's email, phone




On Tue, Jan 14, 2020 at 8:44 AM -0700, "Tony White" > wrote:


Hi,
    Can someone tell how to block using spamdyke
using only the username with no domain please?
    I have an attacker always using the same username
but from many many ip addresses.
    I have not found anything on the spamdyke site to
help so any ideas are gratefully acceptde.

-- 
best wishes

Tony White


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





[qmailtoaster] TLS handshake failed between servers (email client tls works)

2014-05-14 Thread Janno Sannik

I have a problem with tls.

Sending email form outside mailserver to my qmail box says : 4.7.0 TLS 
handshake failed
I can send email using thunderbird and starttls ( verified it by 
changing permissions of servercert.pem to something wrong and 
thunderbird then fails to send email).


This is ok:
Escape character is '^]'.
220 server Mailserver @your service ESMTP
ehlo
250-server Mailserver @your service
250-STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE 20971520
250 AUTH LOGIN PLAIN CRAM-MD5
starttls
220 ready for tls

This is not ok (even thou  thundebird still works):
#openssl s_client -starttls smtp -connect server:25
CONNECTED(0003)
139761529947976:error:140770FC:SSL 
routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:766:

---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 216 bytes and written 298 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---




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



Re: [qmailtoaster] Re: Fwd: Maildir Quota / Dovecot

2011-08-25 Thread Janno Sannik

What do you mean broken? What part? how to reproduce?

I have been using it for a long time and haven't had any big issues 
(except that seems like some of the spam still get's over limit 
somehow), but mainly it works - if queue is full, email get's dropped.


I'm running fairly old vpopmail-toaster-5.4.17-1.3.7.DC1. (using  mysql 
limits = ON, --enable-mysql-limits).


Janno

On 8/25/2011 5:39 PM, Eric Shubert wrote:
Quotas are broken in vpopmail v5.4.17 (present QMT version), whether 
using Courier or Dovecot. It's reportedly fixed in v5.4.33, and 
requires an update to qmailadmin as well. We hope to update QMT to 
v5.4.33 in the future, but progress has been slow. Personally, I don't 
use quotas, so it's not high on my list. If someone (an ISP?) would 
like to sponsor the upgrade, I could probably find time to do it 
sooner. If anyone's interested in sponsoring this, please contact me 
off list.





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

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

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




Re: [qmailtoaster] Re: Fwd: Maildir Quota / Dovecot

2011-08-25 Thread Janno Sannik
I think that there was  a problem that qmailadmin (i think) set's quota 
limit in MB and ALSO a count limit. So your mailbox might be full on 
4096 small messages..and hitting Count quota..and not size quota. Giving 
you report that mailbox is full (well it kinda is).


Just by removing C in the quota line fixes that.


25.08.2011 18:01, Eric Shubert kirjutas:
Symptom is that it reports mailbox near/full when it's not. I don't 
know the cause, nor how to reproduce. Matt at inter7 got it fixed not 
too long ago.


On 08/25/2011 07:55 AM, Janno Sannik wrote:

What do you mean broken? What part? how to reproduce?

I have been using it for a long time and haven't had any big issues
(except that seems like some of the spam still get's over limit
somehow), but mainly it works - if queue is full, email get's dropped.

I'm running fairly old vpopmail-toaster-5.4.17-1.3.7.DC1. (using mysql
limits = ON, --enable-mysql-limits).

Janno

On 8/25/2011 5:39 PM, Eric Shubert wrote:

Quotas are broken in vpopmail v5.4.17 (present QMT version), whether
using Courier or Dovecot. It's reportedly fixed in v5.4.33, and
requires an update to qmailadmin as well. We hope to update QMT to
v5.4.33 in the future, but progress has been slow. Personally, I don't
use quotas, so it's not high on my list. If someone (an ISP?) would
like to sponsor the upgrade, I could probably find time to do it
sooner. If anyone's interested in sponsoring this, please contact me
off list.




- 



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






-
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] SMTP transmission logging

2011-08-12 Thread Janno Sannik
Please  enlighten me  how to do smtp session full logging (all the dump 
between client and server). I have used it in the past, but don't 
remember the details. Could someone point me to right direction.. 
starting from is it possible at all with latest qmailtoaster :)




-
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] Mails Missing

2011-08-09 Thread Janno Sannik
This quite old, but i have had this box running for some good years and 
all of the sudden getting this same error on one specific mailbox:
delivery 169852: deferral: 
user@example.com_is_over_quota/maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_mailbox./


* There is free space.
*The folder permissions are ok (vpopmail:vchkpw, 700) .
*Quota is 100MB used out of 300MB. Raised it also to see if some numbers 
are off, still nothing.

*Tarballed the user dir. Removed old one. Recreated the user dir.

It's kinda urgent :D


Any ideas?

On 9/4/2008 8:54 AM, senthil vel wrote:

Frequently several mails were missing. While checking the logs on

/var/log/qmail/send/current   file,

i got the following error

@400048bcba870df4038c info msg 1532298: bytes 18278 fromEmail
qp 4377 uid 89
@400048bcba870e6708dc starting delivery 416968: msg 1532298 to localEmail
@400048bcba870e673f8c status: local 1/10 remote 0/60
@400048bcba8710db6ff4 delivery 416968: deferral:
sh:_sa-learn:_command_not_found/maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_mailbox./

What i am making wrong?


Thanks and Regards,
S.Senthilvel,

-
  QmailToaster hosted by: VR Hostedhttp://www.vr.org
-
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] Mails Missing

2011-08-09 Thread Janno Sannik
Never mind - somehow my admin panel added 4096 message count limit. That 
got hit. I haven't used the count limiting for a long time, that's why I 
didn't think of that. . This was very old account and spam folder grew 
out of proportion



On 8/9/2011 12:43 PM, Janno Sannik wrote:
This quite old, but i have had this box running for some good years 
and all of the sudden getting this same error on one specific mailbox:
delivery 169852: deferral: 
user@example.com_is_over_quota/maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_mailbox./


* There is free space.
*The folder permissions are ok (vpopmail:vchkpw, 700) .
*Quota is 100MB used out of 300MB. Raised it also to see if some 
numbers are off, still nothing.

*Tarballed the user dir. Removed old one. Recreated the user dir.

It's kinda urgent :D


Any ideas?

On 9/4/2008 8:54 AM, senthil vel wrote:

Frequently several mails were missing. While checking the logs on

/var/log/qmail/send/current   file,

i got the following error

@400048bcba870df4038c info msg 1532298: bytes 18278 fromEmail
qp 4377 uid 89
@400048bcba870e6708dc starting delivery 416968: msg 1532298 to 
localEmail

@400048bcba870e673f8c status: local 1/10 remote 0/60
@400048bcba8710db6ff4 delivery 416968: deferral:
sh:_sa-learn:_command_not_found/maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_mailbox./ 



What i am making wrong?


Thanks and Regards,
S.Senthilvel,

-
  QmailToaster hosted by: VR Hostedhttp://www.vr.org
-
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




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 Bignum module in perl in one installation

---
solution: run cpan and install Crypt::OpenSSL::Bignum module.

   

cpan
install Crypt::OpenSSL::Bignum
 

-

I also tried the RPMForge method in another installation.

in /var/log/qmail/spamd/current it does not complain anymore about
missing bignum

But there is still no change in the headers, no x-spam headers like in
the old 32 bit installs.

Am I missing something in the configuration?

Any thoughts?

Thanks in advance.

Edwin

-
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] configure the spamassassin for one user

2010-04-28 Thread Janno Sannik

On 28.04.2010 17:55, carlos...@tmdigital.es wrote:
   

carlos...@tmdigital.es wrote:
 

as i can configure the spamassassin for one user individually?
I have centos 5.4 and spamassassin-toaster-3.2.5

-
   

You can turn spamassassin off for a given user by adding a record to the
simcontrol file. You can also specify the spambox option per user.

What is it that you'd like to configure per user?

--
-Eric 'shubes'


 

that each user has their own rules


   


I have been wondering the same:
* To set custom points on rules depending on user/domain
* To set whitelists that apply *ONLY*  to this user/domain

So basically almost same as the global spamassasin configuration is.


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

2010-04-16 Thread Janno Sannik

Just a wild guess - update clamav :D


On 16.04.2010 13:45, Postmaster wrote:

No error message attached, please re-send it!

Regards
Alex

On 16/04/2010 11:34, Amit Dalia wrote:

Dear All,

From today morning I'm getting the below error while sending 
out-going email.








Re: [qmailtoaster] Toaster Down

2010-04-16 Thread Janno Sannik

What an earth is lettucehead?

On 16.04.2010 19:52, Sven Geschke wrote:

I have to specify that:
www.qmailtoaster.com seems to be fine, but qtp.qmailtoaster.com is
barely fast enough to catch a fleeing lettucehead...

On Fri, 2010-04-16 at 07:55 -0600, madmac wrote:
   

HI can anyone else confirm
www.qmailtoaster.com is down
 
   



-
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] Sending and copying to sent folder in 1 go

2010-04-01 Thread Janno Sannik
Not too easy to do i think since mail will be sent out using SMTP (it 
might not even be qmailtoaster, but ISP mail SMTP)

Message copying is done using IMAP. Two different channels.

Besides if you relay on SMTP to achive the message to the SENT box then 
if SMTP fails it will not have archive of the mail in SENT folder.


So it would be design wise wrong anyways.

Janno

On 29.03.2010 15:48, Postmaster wrote:

Currently, qmailtoaster/Thunderbird is setup in the following way.
Firstly, it sends the e-mail and then the message is copied to sent 
folder.

This is not a problem for a small messages without attachments.

If there is a 5mb attachment, then this is a pain in the neck to wait
for the message to be sent and then wait for the same time for the 
message to be copied to sent folder.


Is there any way to combine these functions, i.e. to send the message 
and at the same time copy the message to sent folder

so that on the client side there is only one function performed.

Many 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






-
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] outgoing SMTP rate limiting

2009-10-12 Thread Janno Sannik
Yeah, i aware of that, but this doesn't solve the problem, since it will 
be probably fast enought anyway to send 50 messages in 10 minutes. It 
probably takes less than 60 seconds to send 50 messages even with 
concurrency 1.
Also I have other 40 000 emails which need to be sent ,but without rate 
limiting.



Jake Vickers wrote:

Janno Sannik wrote:


Some ISP's block stmp then certain amount of emails are delivered in 
a period of time. This is a bit of problem if some mailinglists are 
being sent out.
Could it be possible to do some server side smtp sending rate 
limiting by domain name or even better - by destination smtp?





You could lower the concurrencyremote as this is the number of open 
outgoing connections your system will spawn.



- 

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] outgoing SMTP rate limiting

2009-10-09 Thread Janno Sannik


Some ISP's block stmp then certain amount of emails are delivered in a 
period of time. This is a bit of problem if some mailinglists are being 
sent out.
Could it be possible to do some server side smtp sending rate limiting 
by domain name or even better - by destination smtp?






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

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

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




Re: [qmailtoaster] Qmailtoaster - 2 server replication

2009-09-12 Thread Janno Sannik

So I also need to put /var/qmail/queue in NFS?
Won't there be any problems with multiple daemons who are not in the 
same memory space working on the same queue folder?


Janno

On 12.09.2009 4:35, Jake Vickers wrote:

Janno Sannik wrote:

Hello!

I need to move my one email server to new ip address. I wouldn't 
like to make something crazy like dual gateway routing to achieve this.
So actually I have this educational idea to test it out and set up 2 
qmailtoaster boxes to back each other up (replication) during the ip 
changing phase.
What's roughly the idea how to have 2 identical qmailtoaster boxes 
(so if I change the ip address on the DNS it will transparently 
change over to new server with zero downtime to customers)?


I can have common mysql server for those 2 boxes, this is not a 
problem (and i know how to set up mysql replication if i would ever 
need to have separate mysql servers for additional security).
But will it work if I just keep db in sync and use NFS or glusterfs 
to keep the same filesystem across the toasters (/home/vpopmail, 
/etc/tcprules.d?)?

Is it correct that i need to have some files in sync from /var/qmail/?

Am I on the right track with my ideas at all?


You can use NFS as the backend, but you will need to only network some 
of the config files.
I just did a video series on how to build a replicating Qmailtoaster 
server over at http://video.qmailtoaster.com
Not exactly the same setup as you're attempting to do now, but the end 
result is the same.  I will eventually do a video on a setup more like 
you're looking for in the future.



- 

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] Qmailtoaster - 2 server replication

2009-09-11 Thread Janno Sannik

Hello!

I need to move my one email server to new ip address. I wouldn't like 
to make something crazy like dual gateway routing to achieve this.
So actually I have this educational idea to test it out and set up 2 
qmailtoaster boxes to back each other up (replication) during the ip 
changing phase.
What's roughly the idea how to have 2 identical qmailtoaster boxes (so 
if I change the ip address on the DNS it will transparently change over 
to new server with zero downtime to customers)?


I can have common mysql server for those 2 boxes, this is not a problem 
(and i know how to set up mysql replication if i would ever need to have 
separate mysql servers for additional security).
But will it work if I just keep db in sync and use NFS or glusterfs to 
keep the same filesystem across the toasters (/home/vpopmail, 
/etc/tcprules.d?)?

Is it correct that i need to have some files in sync from /var/qmail/?

Am I on the right track with my ideas at all?




-
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] Internal Server Error with qmailadmin

2009-09-01 Thread Janno Sannik

Hello

Check the dir_control table in vpopmail database. If in cur_users field 
has some huge number (for example 2147483647) then modify it to be zero. 
It creates overflow and hence the internal server error.

This would be the first thing to check. If that didn't work, let us know.

Janno


On 1.09.2009 11:31, senthil vel wrote:

Dear List,

 My qmt server working properly for a long time. Suddenly when
trying to reset the password of a particular mail id we got the
following error.


Internal Server Error
-
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, r...@localhost and inform them
of the time the error occurred, and anything you might have done that may
have caused the error.
More information about this error may be available in the server error
log.

while checking the http error log, we found the following..

Tue Sep 01 09:18:17 2009] [error] [client 1.2.3.4] Premature end of
script headers: index.cgi, referer:
http://mail.mydomain.com/qmailadmin/index.cgi/com/moduser?user=postmasterdom=mydomain.comtime=1251776808moduser=username

But we never changed anything in the index.cgi. But while checking,
the password seems to be reset but the ouput does not reflected in the
browser.

Also this does not seems to be a global problem. Because  i can reset
the password to some other mail ids in the same domain.

will deleting the account and recreate it will solve the problem. Is
there any other way to fix the isse. Please advise...


Thanks and Regards,
S.Senthilvel,

-
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] Internal Server Error with qmailadmin

2009-09-01 Thread Janno Sannik
i didn't look properly. you have problem with qmailadmin and not 
vqadmin. This fix probably doesn't apply.



On 1.09.2009 12:45, Janno Sannik wrote:

Hello

Check the dir_control table in vpopmail database. If in cur_users 
field has some huge number (for example 2147483647) then modify it to 
be zero. It creates overflow and hence the internal server error.

This would be the first thing to check. If that didn't work, let us know.

Janno


On 1.09.2009 11:31, senthil vel wrote:

Dear List,

 My qmt server working properly for a long time. Suddenly when
trying to reset the password of a particular mail id we got the
following error.


Internal Server Error
-
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, r...@localhost and inform them
of the time the error occurred, and anything you might have done that 
may

have caused the error.
More information about this error may be available in the server error
log.

while checking the http error log, we found the following..

Tue Sep 01 09:18:17 2009] [error] [client 1.2.3.4] Premature end of
script headers: index.cgi, referer:
http://mail.mydomain.com/qmailadmin/index.cgi/com/moduser?user=postmasterdom=mydomain.comtime=1251776808moduser=username 



But we never changed anything in the index.cgi. But while checking,
the password seems to be reset but the ouput does not reflected in the
browser.

Also this does not seems to be a global problem. Because  i can reset
the password to some other mail ids in the same domain.

will deleting the account and recreate it will solve the problem. Is
there any other way to fix the isse. Please advise...


Thanks and Regards,
S.Senthilvel,

- 

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




Re: [qmailtoaster] pop3 slow

2009-09-01 Thread Janno Sannik

On 1.09.2009 13:51, Jake Vickers wrote:

Peter Tan wrote:
I'm experiencing slow and broken pop3 download and SMTP upload. I've 
increased the timeout in Outlook, the problem persist. I tried 
downloading large attachments using Squirrelmail, most of the time 
the download stops. Any way to fix this problem? Same attachments 
sent to gmail and downloaded without any issue. Thanks.


Peter


If you have a large message stuck in the wuee then you may need to go 
in and delete the message.
Also check your DNS resolution. Slow SMTP and POP3 are usually caused 
by a broken DNS resolver somewhere.



Probably the case. Just telnet to pop3 port and see if welcome message 
appears in few seconds or it takes upto few minutes. If it appears in 
few minutes, then you most probably have DNS resolving issues on your 
qmail box. One simple thing is that ISP's DNS is down/broken and is not 
directly related to your box. Try changing DNS servers to see if it 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






-
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] quota limit not working

2009-06-27 Thread Janno Sannik

Eric Shubert wrote:

PakOgah wrote:

Eric Shubert wrote:

PakOgah wrote:




Sorry to say, TTBOMK the quota functionality is a little quirky at 
best.
which type of quota ? is it domain quota or user quota? or both of 
them?




I was referring to user quota. I didn't know that there was a domain 
quota (is there?).




Yes, there is :D
http://wiki.qmailtoaster.com/index.php/Vmoddomlimits

-Q quota-in-megabytes ( set domain disk quota, '100' = 100 MB )


about the user quota, no wonder although I set 50MB for each user but 
if someone take maternity leave for 3 months,

their mailbox can be 80++ MB

ps: perhaps the domain quota also buggy?



Sure looks to me like domain quota doesn't work:

[r...@doris bin]# ./vmoddomlimits -S shubes.net
Domain: shubes.net
--
Max Pop Accounts: -1
Max Aliases: -1
Max Forwards: -1
Max Autoresponders: -1
Max Mailinglists: -1
GID Flags:
Flags (for commandline):
Flags for non postmaster accounts:
  pop account:ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  alias:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  forward:ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  autoresponder:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist:ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist users:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist moderators: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  quota:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  default quota:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
Domain Quota: 1000 MB
Default User Quota: 41943040 bytes
Max Domain Messages: 10
Default Max Messages per User: 4000
[r...@doris bin]# du -sh /home/vpopmail/domains/shubes.net
8.1G/home/vpopmail/domains/shubes.net
[r...@doris bin]#

Domain quota appears to be set to 1G, yet there's 8.1G of mail there!
If anyone's curious, I'm running Dovecot in place of Courier. I doubt 
that's the issue though, as I'm pretty sure I had more than 1G when I 
installed Dovecot, and I'm still using the stock toaster's mail 
delivery mechanism.


Domain quotas don't work. Vpopmail doesn't respect them. Never has. 
Forget 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] quota limit not working

2009-06-26 Thread Janno Sannik
You need to use 64bit to get beyond 2gb limit. You can probably edit 
values by hand from mysql tables to achieve this without 64bit. Problem 
is qmailadmin not qmail (or vpopmail)  itself.



Karpaha Vinayaham wrote:

Dear all,


Im using qmailtoaster for last 2 years, now i want to implement a 
quota for all my users. While implementing this i found there is a 
limit upto 2GB for users.But i want to set more than this. Kindly help 
me in this.



With Regards
Vinay



ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET 
http://in.rd.yahoo.com/tagline_cricket_3/*http://cricket.yahoo.com 




Re: [qmailtoaster] 2-letter usernames considered invalid

2009-05-23 Thread Janno Sannik

probably limitation of vqadmin. Try adding a user using command line tools.
After that, vqadmin will probably still let you administrate that user 
later on.



On 19.05.2009 16:23, Adam Glass wrote:

Hello,

I recently installed Qmail Toaster on Centos 5.3.  Everything is 
working fine except for one odd thing:  I cannot create an e-mail 
account with a 2-letter username.  When I try, using VQAdmin, the 
error message says Please type a valid email address.


The address I'm trying to create is e...@parkermerrick.com 
mailto:e...@parkermerrick.com ... the guy's name really is Ed, and 
that is the address he wants.


As a test, I tried creating the address a...@parkermerrick.com 
mailto:a...@parkermerrick.com and got the same error message, so there 
is nothing special about ed .


A lot of searching Qmail Toaster docs/wiki, Google, etc has not turned 
up this issue.  Any suggestions about how to make this work would be 
much appreciated.



Thank you!
--Adam





Re: [qmailtoaster] Qmail server memory consumption

2009-04-23 Thread Janno Sannik

Use 'free -m' utility to get REAL memory usage.

[u...@server /]# free -m
 total   used   free sharedbuffers cached
Mem:  3876   3557319  0212   1083
-/+ buffers/cache:   2261   1615
Swap:0  0  0


That means I have 3876MB total used memory. 2261MB of it is allocated 
and needed. 1083MB is cached (mostly filesystem) and total free memory 
is 1615MB.
If you want, you can clear linux cache (but it doesn't do any good. 
Because since it's not cached anymore, it will be read from disk which 
is a lot slower (and well, cached again). It might be good only if you 
just read something really big..and know that you will never need to get 
it again and need room for something else to cache. The cache itself is 
working automagically throwing out older items and caching new items).

just to experiment use this command:
|sync; echo 3  /proc/sys/vm/drop_caches

|To clear cache. Beware that it might bump your load average for a sec.

On 23.04.2009 13:55, Jake Vickers wrote:

Truong Duc Luong wrote:

Hi list,

My server: qmail-toaster, centos 5.3, 3GB RAM, 130 mailbox's users.
Recently, server often loads 0.1%-2%cpu and 90%-100% memory. It is
abnormally. I use top command, but it is not enough. Can anyone point 
me the

way to debug, trace or reduce that?

Thank you very much.



As a Linux server runs, it will consume memory. This is normal. It 
will keep old, zombie, and sleeping processes in memory in case it 
needs them instead of sending them to swap. When you start using a lot 
of swap, then you would worry.

All Linux systems behave this way.

- 


Managed Qmailtoaster servers are now available
  Visit http://qmailtoaster.com/QMTManaged.html to order yours today!

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)


Please visit qmailtoaster.com for the latest news, updates, and 
packages.



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






[qmailtoaster] Specific user can send only with specific FROM address

2008-11-13 Thread Janno Sannik

Hello!

Can qmail rules be set so that specific user (password auth or ip) can 
send email only with specific FROM field?




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Again on spam fighting

2008-09-08 Thread Janno Sannik

dnk wrote:


On 8-Sep-08, at 5:49 AM, Alberto Maffini wrote:


3. I am not able to make spamdyke working. Someone can suggest a HowTo ??
 



The install is a snap through the qmailtoaster plus package

http://qtp.qmailtoaster.com/


I think you need to run sa-learn under *vpopmail* user for it to update 
correct bayes db.


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] mysql Password Recovery

2008-07-14 Thread Janno Sannik

you can't recover it. You can reset it.

http://mirror.yandex.ru/mirrors/ftp.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix



Benedict Claver wrote:

Hi Team,
I have a Qmailtoaster server where mysql password is not known,
does someone have the idea how to recover it up.
NB: The server admnistration was done by someone who left the company.
Regards,
Benedict.


  


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] concurrencyremote and concurrencyincoming

2008-07-03 Thread Janno Sannik

concurrency is more related to cpu, memory and hdd specifications.
Probably it takes about an hour to send these out with current conf.


Ariel wrote:

 Around 15 000 receipt of postal diaris, I could guide to the values
concurrencyremote and concurrencyincoming ?

currently

remote : 60
incoming 100




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] clamd

2008-07-01 Thread Janno Sannik

PakOgah wrote:

Jon Ernster wrote:
My clamd seems to be frequently updating itself throughout the day 
and when this happens it temporarily rejects any incoming messages 
from what I can tell from the logs.  Is there any way to control the 
frequency of its updates?


Additionally I'm getting a lot of duplicate emails and I believe this 
is also due to clamd.  Anyone else experiencing this problem and is 
there a resolution?


I'm running the following versions:

[EMAIL PROTECTED] ~]$ rpm -qa | grep qmail
qmail-pop3d-toaster-1.03-1.3.15
qmailadmin-toaster-1.2.11-1.3.4
qmail-toaster-1.03-1.3.15
[EMAIL PROTECTED] ~]$ rpm -qa | grep clam
clamav-toaster-0.90.1-1.3.13

Thanks,

Jon


you still running the old version of clamav,
some says upgrading to latest version could solve it
http://qmailtoaster.org/download/develop/clamav-toaster-0.93-1.3.18.src.rpm 



for complete list new qmailtoaster package visit http://qmailtoaster.org/


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


yeah. check for the new version. Fixed my problems.

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [qmailtoaster] Synchronous pw_clear_passwd and pw_passwd

2008-06-04 Thread Janno Sannik

Haven't got any out-of-sync problems before.


Truong Duc Luong wrote:


Hi everyone,

I don't know why almost users have pw_clear_passwd and pw_passwd are 
not synchronous, the clear password and the encrypted password is not 
matched. To do matching, i set manually with vpasswd command each 
user. It's is very inconvenient.


So, does anyone know the ways to match automatically the clear text 
password and the encrypted password?


Thanks so much!

 

 





Re: [qmailtoaster] deferral: Unable_to_chdir_to_maildir._(#4.2.1)

2008-05-16 Thread Janno Sannik
Somewhy you are missing users maildir or any subfolders it should have 
(cur, new, tmp) in /home/vpopmail/domains/domain.com/mailuser/MailDir/*

If I say missing I also mean permission denied.
If I remember correctly /home/vpopmail and it's subfolders should be 
owned by vpopmail:vchkpw and be accessble by group also.


Janno

Glen Vickers wrote:


I’m drawing a complete blank here. I can’t remember what permissions I 
need to check to fix this. It just started happening after I fixed the 
other issue I had with the domains. Can I get a point in the right 
direction?


I’m using RHL F8.

Glen




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Client blocking....

2008-05-16 Thread Janno Sannik

use the /home/vpopmail/bin/vmoduser
utility to modify various user settings.

[EMAIL PROTECTED] bin]# ./vmoduser
vmoduser: usage: [options] email_addr or domain (for each user in domain)
options: -v ( display the vpopmail version number )
-n ( don't rebuild the vpasswd.cdb file )
-q quota ( set quota )
-c comment (set the comment/gecos field )
-e encrypted_passwd (set the password field )
-C clear_text_passwd (set the password field )
the following options are bit flags in the gid int field
-x ( clear all flags )
-d ( don't allow user to change password )
*-p ( disable POP access )*
-s ( disable SMTP AUTH access )
* -w ( disable webmail [IMAP from localhost*] access )
   ( * full list of webmail server IPs in vchkpw.c )
-i ( disable non-webmail IMAP access )*
-b ( bounce all mail )
-o ( user is not subject to domain limits )
-r ( disable roaming user/pop-before-smtp )
-a ( grant qmailadmin administrator privileges )
-S ( grant system administrator privileges - access all domains )
-E ( grant expert privileges - edit .qmail files )
-f ( disable spamassassin)
-F ( delete spam)
 [The following flags aren't used directly by vpopmail but are]
 [included for other programs that share the user database.]
-u ( set no dialup flag )
-0 ( set V_USER0 flag )
-1 ( set V_USER1 flag )
-2 ( set V_USER2 flag )
-3 ( set V_USER3 flag )

Janno


Catalin Leanca wrote:

Hello,
 
I have several toaster boxes that host domains for my clients.
My question is how to block a client to access his accounts without 
deleting domain ?
While blocked receiving must pe possible. And changing passwords is 
not a solution.
 
 
Thanks,

Catalin L




Re: [qmailtoaster] remove spamassasin and clamav

2008-05-13 Thread Janno Sannik
You don't need to remove them. Script asks for every package and you can 
answer no. Possible dependency issues are other story thou.


Jannon

Bogdan Peptine wrote:

Hello,
 
I want to install QMT without Clamav and Spamassasin.
If i modify 
http://www.qmailtoaster.com/centos/cnt50/cnt50-install-script.sh and 
remove the lines for those two packeges everything will be k ?
 
Thank you in advance


Bogdan



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] pop3 daemon so special

2008-04-17 Thread Janno Sannik
Is there some specific reason for using qmail own pop3 daemon for plain 
pop3 (and courier implementation for pop3-ssl, imap, imap-ssl)?
The courier version is way more verbose about users who's logging in and 
also return bandwith usage and time spent. I just converted the pop3 to 
use courier binaries [/usr/sbin/pop3login, /usr/bin/pop3d] to do the job 
instead of [/var/qmail/bin/qmail-popup, /var/qmail/bin/qmail-pop3d].

This will also give consistent logformat across all 4 services.

The new run script would be:

#!/bin/sh

HOSTNAME=`hostname --fqdn`
rm -rf ./env/*;

cat /etc/courier/pop3d | /usr/bin/envconv
exec /usr/bin/envdir ./env/ \
/usr/bin/softlimit -m 2400 \
/usr/bin/tcpserver -v -R -H -l $HOSTNAME 0 110 \
/usr/sbin/pop3login \
/usr/bin/pop3d Maildir 21


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] archive-iterator perl problem

2008-04-10 Thread Janno Sannik

Eric Shubert wrote:

Janno Sannik wrote:
  

Eric Shubert wrote:


Janno Sannik wrote:
  
  

I get some weird errors in qmail send log:

2008-04-06 17:34:19.656061500 new msg 1159482
2008-04-06 17:34:19.656101500 info msg 1159482: bytes 2657 from
[EMAIL PROTECTED] qp 11884 uid 89
2008-04-06 17:34:19.665640500 starting delivery 267927: msg 1159482 to
local [EMAIL PROTECTED]
2008-04-06 17:34:19.665650500 status: local 1/10 remote 0/60
2008-04-06 17:34:20.673477500 delivery 267927: success:
archive-iterator:_invalid_(undef)_format_in_target_list,_2_at_/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/ArchiveIterator.pm_line_724,_STDIN_line_1./Learned_tokens_from_1_message(s)_(1_message(s)_examined)/vdelivermail:_valiases_processed/did_0+0+1/

2008-04-06 17:34:20.673573500 status: local 0/10 remote 0/60
2008-04-06 17:34:20.673632500 end msg 1159482

There are ~2500 lines a week. Any idea what's causing this and how to fix.




I haven't seen this before. What versions are you running?
# rpm -qa | grep toaster

  
  

Seems to be spamassassin 3.1.8 bug. I haven't upgraded, since on toaster
page there ise SA 3.2.x version and FuzzyOCR stable version is not
working with SA 3.2.x
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336
Just patched it, we'll see.
- Vpopmail is built with limits in mysql support via extra configure
parameter, otherwise stock.

vpopmail-toaster-5.4.17-1.3.4.DC1
qmail-toaster-1.03-1.3.15
autorespond-toaster-2.0.4-1.3.3
maildrop-toaster-2.0.3-1.3.5
qmailtoaster-plus-0.2.13-1.3.16
ucspi-tcp-toaster-0.88-1.3.5
libdomainkeys-toaster-0.68-1.3.3
libsrs2-toaster-1.0.18-1.3.3
qmail-pop3d-toaster-1.03-1.3.15
courier-imap-toaster-4.1.2-1.3.7
control-panel-toaster-0.5-1.3.4
ezmlm-cgi-toaster-0.53.324-1.3.3
maildrop-toaster-devel-2.0.3-1.3.5
vqadmin-toaster-2.3.4-1.3.3
simscan-toaster-1.3.1-1.3.6
clamav-toaster-0.92-1.3.16
spamassassin-toaster-3.1.8-1.3.8.DC1
qmailadmin-toaster-1.2.9-1.3.3
qmailmrtg-toaster-4.2-1.3.2
daemontools-toaster-0.76-1.3.3
courier-authlib-toaster-0.59.2-1.3.6
ezmlm-toaster-0.53.324-1.3.3
isoqlog-toaster-2.1-1.3.4
ripmime-toaster-1.4.0.6-1.3.3




Definitely a problem with SA. It doesn't appear to be critical though, as
the mail is apparently delivered (delivery success, did_0+0+1)

  


Yes. It's fixed now by above mentioned patch.

And for the success: sometimes qmail-send reports it as success, but 
acutally it's not. Don't  know what the status was (did_#+#+#), but I 
came across it if we programmed mysql based autoresponder to qmail. I 
wouldn't like to go any deeper into that particular case, but I 
mentioned it just for info.


[qmailtoaster] user_prefs, global

2008-04-10 Thread Janno Sannik
I would like to have some global preferences file which would apply to 
all users. Is it possible to use it?


I would like to add some whitelists and some other global settings. But 
it seems like /etc/mail/spamassassin/local.cf is read only then daemon 
starts up (right?). furthermore user_prefs files in user homedirectories 
are read then delivery is made to their mailboxes(right?). But I would 
like some global configuration that changes more frequently and that 
spamassassin would pick up the changes dynamically (as per mailbox conf 
basis).


I would think that maybe /home/vpopmail/.spamassassin/user_prefs would 
work like that. Can anyone confirm that?


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] archive-iterator perl problem

2008-04-09 Thread Janno Sannik

Eric Shubert wrote:

Janno Sannik wrote:
  

I get some weird errors in qmail send log:

2008-04-06 17:34:19.656061500 new msg 1159482
2008-04-06 17:34:19.656101500 info msg 1159482: bytes 2657 from
[EMAIL PROTECTED] qp 11884 uid 89
2008-04-06 17:34:19.665640500 starting delivery 267927: msg 1159482 to
local [EMAIL PROTECTED]
2008-04-06 17:34:19.665650500 status: local 1/10 remote 0/60
2008-04-06 17:34:20.673477500 delivery 267927: success:
archive-iterator:_invalid_(undef)_format_in_target_list,_2_at_/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/ArchiveIterator.pm_line_724,_STDIN_line_1./Learned_tokens_from_1_message(s)_(1_message(s)_examined)/vdelivermail:_valiases_processed/did_0+0+1/

2008-04-06 17:34:20.673573500 status: local 0/10 remote 0/60
2008-04-06 17:34:20.673632500 end msg 1159482

There are ~2500 lines a week. Any idea what's causing this and how to fix.




I haven't seen this before. What versions are you running?
# rpm -qa | grep toaster

  
Seems to be spamassassin 3.1.8 bug. I haven't upgraded, since on toaster 
page there ise SA 3.2.x version and FuzzyOCR stable version is not 
working with SA 3.2.x

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336
Just patched it, we'll see.
- Vpopmail is built with limits in mysql support via extra configure 
parameter, otherwise stock.


vpopmail-toaster-5.4.17-1.3.4.DC1
qmail-toaster-1.03-1.3.15
autorespond-toaster-2.0.4-1.3.3
maildrop-toaster-2.0.3-1.3.5
qmailtoaster-plus-0.2.13-1.3.16
ucspi-tcp-toaster-0.88-1.3.5
libdomainkeys-toaster-0.68-1.3.3
libsrs2-toaster-1.0.18-1.3.3
qmail-pop3d-toaster-1.03-1.3.15
courier-imap-toaster-4.1.2-1.3.7
control-panel-toaster-0.5-1.3.4
ezmlm-cgi-toaster-0.53.324-1.3.3
maildrop-toaster-devel-2.0.3-1.3.5
vqadmin-toaster-2.3.4-1.3.3
simscan-toaster-1.3.1-1.3.6
clamav-toaster-0.92-1.3.16
spamassassin-toaster-3.1.8-1.3.8.DC1
qmailadmin-toaster-1.2.9-1.3.3
qmailmrtg-toaster-4.2-1.3.2
daemontools-toaster-0.76-1.3.3
courier-authlib-toaster-0.59.2-1.3.6
ezmlm-toaster-0.53.324-1.3.3
isoqlog-toaster-2.1-1.3.4
ripmime-toaster-1.4.0.6-1.3.3



[qmailtoaster] archive-iterator perl problem

2008-04-08 Thread Janno Sannik

I get some weird errors in qmail send log:

2008-04-06 17:34:19.656061500 new msg 1159482
2008-04-06 17:34:19.656101500 info msg 1159482: bytes 2657 from 
[EMAIL PROTECTED] qp 11884 uid 89
2008-04-06 17:34:19.665640500 starting delivery 267927: msg 1159482 to 
local [EMAIL PROTECTED]

2008-04-06 17:34:19.665650500 status: local 1/10 remote 0/60
2008-04-06 17:34:20.673477500 delivery 267927: success: 
archive-iterator:_invalid_(undef)_format_in_target_list,_2_at_/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/ArchiveIterator.pm_line_724,_STDIN_line_1./Learned_tokens_from_1_message(s)_(1_message(s)_examined)/vdelivermail:_valiases_processed/did_0+0+1/

2008-04-06 17:34:20.673573500 status: local 0/10 remote 0/60
2008-04-06 17:34:20.673632500 end msg 1159482

There are ~2500 lines a week. Any idea what's causing this and how to fix.






-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] spamassassin inconsistent points in mail queue and in console

2008-04-04 Thread Janno Sannik
I'm tightening up spam protection and I have a weird mismatch between 
points.



By running from console:
su vpopmail -c spamassassin -t  spammail.eml

it outputs this:

Content analysis details:   (7.0 points, 5.0 required)

pts rule name  description
 -- 
--

0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails
2.0 BAYES_80   BODY: Bayesian spam probability is 80 to 95%
   [score: 0.8157]
4.0 RCVD_IN_UCEPROTECT1RBL: Received via a blocked site in
   dnsbl-1.uceprotect.net
   [82.104.30.169 listed in dnsbl-1.uceprotect.net]
1.0 RCVD_IN_UCEPROTECT3RBL: Received via a blocked site in
   dnsbl-3.uceprotect.net
   [82.104.30.169 listed in dnsbl-3.uceprotect.net]

But mail in my inbox shows this:

X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_00,DK_POLICY_SIGNSOME,
RCVD_IN_UCEPROTECT1,RCVD_IN_UCEPROTECT3 autolearn=no version=3.1.8


Very interesting is the fact that it sees this email as BAYES_00, and in 
console test it recognises it as BAYES_80. Seems like in this case 
BAYES_00 probably gives negative value (-2.6 I presume) and that's why 
it doesn't get to the required 5.0 value. For info, this spam letter is 
very common and is very similar to bunch of others that have been 
learned manually before and that also have been identified correctly as 
spam in past. What could be the problem?


This is kinda spamassassin specific, but does anyone know if it's 
possible to configure that spamassassin puts scoretable into header, 
even thou it didn't exceed required hits (default 5.0).





-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] SPAM folder maintenance script

2008-03-22 Thread Janno Sannik
Doesn't spam maintenance script 
(http://wiki.qmailtoaster.com/index.php/Maintain_Trash_and_Spam_folder) 
break quota counting in imap? For me it seems if script delets .Spam 
folder contents, then quota will be still accounted for this folder 
nevertheless the files in this folder have been deleted.


Janno
.

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] fighting with spam...

2008-03-11 Thread Janno Sannik
Don't know if this is a good idea, but I popped the BAYES_99 Score to 
4.9 points (just almost 5points, but not quite ;). Any suggestions on 
this one would be appreciated.


Also changed some chickenpox values to creater ones. I presume 
DATE_96_XX could also be popped (mail sent 3 days and more in the future).




Jake Vickers wrote:

Bilgehan POYRAZ wrote:

Hello Everyone,

Have you any advice or suggestion for spam fighting?

  


Look at the stuff we put into Qmailtoaster-Plus and read the wiki. I'm 
down to 1 or 2 spam messages a week now.  I bounce on average 157,500 
messages a month on my server for my personal domains.


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] fixed IP address patch

2008-02-04 Thread Janno Sannik
I would be very interested in ip address patch since I probably be 
moving to 2-3  ip system soon. Of course using iptables to block all 
other ports is solution for now.


Erik A. Espinoza wrote:

Rene,

The QmailToaster does not include every single patch out there, it
only includes the best of breed combined with the most critical for
Qmail to be used in today's Internet. There is no reason why this
patch wasn't included, aside from the fact that it wasn't requested
very often.

As I rearchitect the current setup to the new binary distribution, I
will have time to revisit these patches and see if there are some
patches to consider.

The 1.4 branch is going slowly, but steady. I don't want to screw up
the upgrade for people, so I am trying to map things out and implement
things in the right way.

In the meantime 1.3 branch will stay frozen with only upstream
software changes happening.

Thanks,
Erik

On Feb 4, 2008 1:24 PM, Comunica2 s. coop. [EMAIL PROTECTED] wrote:
  

 On the Qmail.org website I read this:

Markus Stumpf has a pair of qmail patches, one to cause qmail-smtpd to log
its disposition of mail, and another to convince qmail-remote to use a fixed
IP address other than the one you get without binding to an address. Andy
Repton has ported the fixed IP address patch to qmail 1.03. I try to
convince some developers to recompile with this patch included, so that
outgoing SMTP is on a defined IP address, especially important on machines
with more IP addresses.

 The question is if there were any technical reasons why this patch was not
included in qmail-toaster? Any security issues that would have discouraged
to include it?

 René




-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] user with 2gb quota has 1gb left but inbound messages are quota bouncing

2008-01-25 Thread Janno Sannik
Try if setting the quota to somewhat below 2GB (1.8GB for example). Give 
me a note if that helps.



Todd W wrote:

Hi,

I have a user with a 2gb quota:

/home/vpopmail/bin/vsetuserquota [EMAIL PROTECTED] 2147483648

According to 'du -h -s' there is plenty of room left for messages:

du -h -s /home/vpopmail/domains/example.com/user/Maildir
1.1G/home/vpopmail/domains/example.com/user/Maildir

Qmailadmin reflects the info I see above. But vuserinfo says the user 
is at 100%


# /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
dir:   /home/vpopmail/domains/example.com/user
quota: 2147483648S
usage: 100%

Messages to this user are bouncing.

I tried deleting ./maildirsize and changing the quota to NOQUOTA and 
back, but neither helped. The only way the user can get mail is by 
setting the quota to NOQUOTA.


Any advice will be very much appreicated.

# rpm -qa | grep toaster
ucspi-tcp-toaster-0.88-1.3.5
qmail-toaster-1.03-1.3.15
autorespond-toaster-2.0.4-1.3.3
isoqlog-toaster-2.1-1.3.4
daemontools-toaster-0.76-1.3.3
vpopmail-toaster-5.4.17-1.3.4
libsrs2-toaster-1.0.18-1.3.3
qmail-pop3d-toaster-1.03-1.3.15
courier-imap-toaster-4.1.2-1.3.7
control-panel-toaster-0.5-1.3.4
ezmlm-cgi-toaster-0.53.324-1.3.3
qmailmrtg-toaster-4.2-1.3.3
maildrop-toaster-devel-2.0.3-1.3.5
vqadmin-toaster-2.3.4-1.3.3
spamassassin-toaster-3.1.8-1.3.8
ripmime-toaster-1.4.0.6-1.3.3
qmailadmin-toaster-1.2.11-1.3.4
clamav-toaster-0.92-1.3.16
libdomainkeys-toaster-0.68-1.3.3
courier-authlib-toaster-0.59.2-1.3.6
ezmlm-toaster-0.53.324-1.3.3
maildrop-toaster-2.0.3-1.3.5
squirrelmail-toaster-1.4.9a-1.3.6
simscan-toaster-1.3.1-1.3.6
qmailtoaster-plus-0.2.12-1.3.15

Thanks,

Todd W.


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Clean install, clamav not working

2007-11-16 Thread Janno Sannik

Resolved:
SELINUX was still enabled. My mistake.

Janno Sannik wrote:

System is centos 5, x86_64, 4GB ram, AMD 6000+
I Just got off with clean install of qmailtoaster but clamav won't start:

authlib: up (pid 22884) 32983 seconds
clamd: up (pid 24671) 0 seconds
imap4: up (pid 22936) 32983 seconds
imap4-ssl: up (pid 22948) 32983 seconds
pop3: up (pid 22877) 32983 seconds
pop3-ssl: up (pid 22891) 32983 seconds
send: up (pid 22890) 32983 seconds
smtp: up (pid 22937) 32983 seconds
spamd: up (pid 22914) 32983 seconds
submission: up (pid 22958) 32983 seconds
authlib/log: up (pid 22886) 32983 seconds
clamd/log: up (pid 22925) 32983 seconds
imap4/log: up (pid 22941) 32983 seconds
imap4-ssl/log: up (pid 22945) 32983 seconds
pop3/log: up (pid 22883) 32983 seconds
pop3-ssl/log: up (pid 22885) 32983 seconds
send/log: up (pid 22895) 32983 seconds
smtp/log: up (pid 22934) 32983 seconds
spamd/log: up (pid 22917) 32983 seconds
submission/log: up (pid 22915) 32983 seconds


The databse files seem to be ok and consistent, but:

@4000473d4c971e3540e4 clamd daemon 0.90.1 (OS: linux-gnu, ARCH: 
x86_64, CPU: 
x86_64)


@4000473d4c971e35834c Log file size limited to 1048576 bytes.
@4000473d4c971e358b1c Reading databases from /usr/share/clamav
@4000473d4c971e53fffc LibClamAV Error: cli_load(): Can't open file 
/usr/share/clamav/main.cvd

@4000473d4c971e543a94 ERROR: Unable to open file or directory

If i remove the definition files i get:

@4000473d4d1c00ebadfc clamd daemon 0.90.1 (OS: linux-gnu, ARCH: 
x86_64, CPU: 
x86_64)


@4000473d4d1c00ebf064 Log file size limited to 1048576 bytes.
@4000473d4d1c00ebf834 Reading databases from /usr/share/clamav
@4000473d4d1c0100dbdc LibClamAV Error: cli_loaddb(): No supported 
database files found in /usr/share/clamav

@4000473d4d1c0100dfc4 ERROR: Not supported data format



if I run freshclam from command prompt , i will get back to first 
error messages.

permissions:
[EMAIL PROTECTED] clamav]# ls -lah
total 11M
drwxr-xr-x  2 clamav clamav 4.0K Nov 16 09:58 .
drwxr-xr-x 59 root   root   4.0K Nov 16 00:44 ..
-rw-r--r--  1 clamav clamav 1.1M Nov 16 09:58 daily.cvd
-rw-r--r--  1 clamav clamav 9.8M Nov 16 09:58 main.cvd
-rw---  1 clamav clamav   52 Nov 16 09:58 mirrors.dat





-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Toaster on CentOS 4.5: Upgrade to 5.x Possible?

2007-11-16 Thread Janno Sannik
I'm quite sure that atleast some packages need to be rebuilt and 
furthermore to be sure...all of them.
This isn't actually such a big work, since I have upgraded from centos 
4.3 i386 to centos 4.5 x86_64.



[EMAIL PROTECTED] wrote:

Greetings,

I've got what's been so far a stable toaster install on a CentOS 4.5 
platform.


What I'm wondering is, if I were to upgrade the OS in place to CentOS 5.x,
would this break the toaster, forcing a fresh reinstall, or would
everything likely keep working?

TIA,

--Duncan


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Need help for backup mail server

2007-11-05 Thread Janno Sannik

Jake Vickers wrote:


For a caching backup server the ONLY configuration file you need to 
edit is rcpthosts.  Put the domain you want to accept mail for (and 
cache) in this file and it will start accepting mail for it, and 
sending it to the primary MX once it's able to receive it.


Do not put anything in smtproutes.



Does this behavior relay on dns so that if secondary is marked with 
higher number (lower priority) and it automagically sees that someone 
with higher priority ( lower number) also exists in dns and so it knows 
to send mail to him instead of making a local delivery?


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Bayes Learning ?

2007-10-26 Thread Janno Sannik

My solution is to have everyone make a folder called SpamLearn and HamLearn.
Then daily (weekly) run :
sa-learn --spam /home/vpopmail/domains/*/*/Maildir/.SpamLearn/cur/
sa-learn --spam /home/vpopmail/domains/*/*/Maildir/.SpamLearn/new/
sa-learn --ham  /home/vpopmail/domains/*/*/Maildir/.HamLearn/new/
sa-learn --ham  /home/vpopmail/domains/*/*/Maildir/.HamLearn/cur/

Users who have these folders, get their spam (and ham) learned.

After that it would be nice to delete those messages, but i haven't 
looked into it how to do it so quota doesn't break of something like that.






Jake Vickers wrote:

[EMAIL PROTECTED] wrote:

Hi guys,
I've been searching but can't find the best way with QMT to create a
folder then maybe run the bayes learning technic on it...
[sa-learn --showdots --mbox --spam spam-file]

I was thinking of have a [EMAIL PROTECTED] account for clients to 
forward

mail into if it is spam etc. Than run the bayes learn against that.

I'm new to all of this.
Can someone please point me in the right direction? Links? Howto?
  


There's some info on the wiki about this - most clients like Outlook 
and Thunderbird will rewrite the headers when you forward the message, 
so you're just teaching your Bayes that messages from you are spam.
You can use the spam box and run a check on that (there's a script in 
QTPlus to do this) or you can just copy the messages at the CLI to a 
separate folder.





-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Bayes Learning ?

2007-10-26 Thread Janno Sannik
This Spam/Ham version is for people who complain about spam misdetection 
and also who want to help to improve the service.

Thank you for the deletion reference. I'll certanly look into it.



Jake Vickers wrote:

Janno Sannik wrote:
My solution is to have everyone make a folder called SpamLearn and 
HamLearn.

Then daily (weekly) run :
sa-learn --spam /home/vpopmail/domains/*/*/Maildir/.SpamLearn/cur/
sa-learn --spam /home/vpopmail/domains/*/*/Maildir/.SpamLearn/new/
sa-learn --ham  /home/vpopmail/domains/*/*/Maildir/.HamLearn/new/
sa-learn --ham  /home/vpopmail/domains/*/*/Maildir/.HamLearn/cur/

Users who have these folders, get their spam (and ham) learned.

After that it would be nice to delete those messages, but i haven't 
looked into it how to do it so quota doesn't break of something like 
that.


In the newer version of QMT,maildrop/mailfilter is used and it will 
create a Spam folder in the user's mailbox. I've never been able to 
get them to move messages into a Ham box, so I do that part manually 
right now.
Anyway, there's some scripts around and I've put a couple in QTPlus 
(scripts originally written by Erik Espinoza) that will automatically 
learn the Spam and then remove them. There's a script in there to 
delete messages in the Trash after a certain number of days as well.  
Hopefully those will help you or someone else out.



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Automated Sign up

2007-10-25 Thread Janno Sannik

I believe inter7 made something like that. Check theyr website.

[EMAIL PROTECTED] wrote:
Are there any decent automated sign up add on's for QMT? 



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] non-existant shell users

2007-10-24 Thread Janno Sannik

Yes we are making a webhosting solution.
We are coding the panel as we speak. After 6months+ development we have 
everything set up and were are making finishing touches for v1.0. It's a 
PHP, MySQL, Ajax solution.
System is designed to have multiple mysql, email and webservers. Every 
one of them in one or separate box. Since email server is separate 
server then it doesn't have shell users I was talking about. Checking 
and counting quota through filesystem seemed most accurate and best 
solution to use (considering the fact that admin panel needs to make and 
get all changes form email server remotely).


Problem with vpopmails builtin quota management is that it doesn't seem 
to support domain quotas( just email user quotas). Also with filesystem 
quotas I could bind 2 or more domains to sama user and therefore they 
effectevly share their quota.


Jake Vickers wrote:

Janno,
I am just curious
Are you going to make web+mail hosting solution in a box with 
qmailaster as mailserver ?

if so what domain control panel you use?

afaik, cpanel uses exim, virtualmin/vhcs uses posfix+davecot


Interworx uses qmail



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] non-existant shell users

2007-10-23 Thread Janno Sannik

By default all vpopmail domains run under user vpopmail:vchkpw (89:89).
I like to change it so some domains run under user1:user1, user2:user2.

You talk about email users. I'm talking about the users under which the 
whole domain run.


Situation:
/home/vpopmail/domains/example.com is owned by uid 5000:5000 (not 89:89 
as it's by default). So I cant implement filesystem quotas on that user 
(user means actually whole domain, since whole domain folder with all 
it's subfolders is owned by specific uid). These uid's are defined in 
/var/qmail/users/assign fle. I don't even go to domain user level.


just for info: I go back about 5 years since first installation of qmail 
toaster so I feel quite home how it works as standard solution, but now 
i want to push it a little further.



Jake Vickers wrote:

Janno Sannik wrote:

Is it possible to use qmail with non-existant shell user.
We have virtual hosting set up and i would like to implement 
filesystem quotas. So i'm using domains under differend uid's.

But I don't need shell users.
Is it possible to compile vpopmail/qmail/maildrop so that it wouldn't 
complain:

/usr/bin/maildrop:_Cannot_determine_my_username



It's already setup to not use shell users - they're stored in mysql 
and are virtual. You do need the vpopmail users for the vpopmail 
daemon to run under though. Maybe I just don't understand what you're 
asking.



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] /home/vpopmail/domains/0/* domain path

2007-10-23 Thread Janno Sannik
At some point suddenly new domains are created under 
/home/vpopmail/domains/0/*


Is this known behaviour for vpopmail?
(basically it's explainable for vpopmail to conserve some sanity in case 
of lot's of domains, but can someone veirify that this is the case?).


Janno

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] non-existant shell users

2007-10-23 Thread Janno Sannik

Thanks.

Toaster itself supports it. Don't see any problem.  You can add domain 
with different uid:

vadddomain: usage: vadddomain [options] virtual_domain [postmaster password]
-i uid (sets the uid to use for this domain)
-g gid (sets the gid to use for this domain)

If you don't specify it it will be marked as 89:89. I just haven't used 
it before. So by pushing it little further I didn't mean by re-compiling 
it with unknown features or alike, but using more features it has built in.



Jake Vickers wrote:

Janno Sannik wrote:

By default all vpopmail domains run under user vpopmail:vchkpw (89:89).
I like to change it so some domains run under user1:user1, user2:user2.

You talk about email users. I'm talking about the users under which 
the whole domain run.


Situation:
/home/vpopmail/domains/example.com is owned by uid 5000:5000 (not 
89:89 as it's by default). So I cant implement filesystem quotas on 
that user (user means actually whole domain, since whole domain 
folder with all it's subfolders is owned by specific uid). These 
uid's are defined in /var/qmail/users/assign fle. I don't even go to 
domain user level.


just for info: I go back about 5 years since first installation of 
qmail toaster so I feel quite home how it works as standard solution, 
but now i want to push it a little further.


You were not previously clear with what you wanted. I personally would 
just use the quota system built into Toaster - you would have 2 
quotas, 1 for their web pages and 1 for their email.
If you're going to run it as different users I think you'll need to 
stop using vpopmail. That's beyond the scope of what Toaster was setup 
for. You'd want to start at qmail.org or maybe lifewithqmail.org and 
basically start over. Toaster was meant to be exactly what it is - if 
you want to push it further, you'll want to move away from it and 
back to a source installation of qmail.



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] non-existant shell users

2007-10-23 Thread Janno Sannik
Jeah, now tested it. Maildrop can't access /etc/mailfilter file (its 
89:89, 600).

Maildrop internally protects itselt if you  make it group or world readable.
IMAP/POP work  as expected.

Thanks anyway.

Jake Vickers wrote:
vpopmail supports it, but I think this may break some functionality 
with other modules included with Toaster.  The permissions may not be 
amicable to allow other daemons to run on messages, such as 
spamassassin or simscan - you'd need to sit down and map out the mail 
flow with UID/GID's to make sure that all the data pipes could talk 
with each other.  Might be faster to setup a test server and just try 
it though. 



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] non-existant shell users

2007-10-22 Thread Janno Sannik

Is it possible to use qmail with non-existant shell user.
We have virtual hosting set up and i would like to implement filesystem 
quotas. So i'm using domains under differend uid's.

But I don't need shell users.
Is it possible to compile vpopmail/qmail/maildrop so that it wouldn't 
complain:

/usr/bin/maildrop:_Cannot_determine_my_username


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] maildir quota overIMAP-SSL

2007-10-20 Thread Janno Sannik

There seems to be a problem getting quota information over IMAP-SSL.
It works then no ssl is used (yes, account quota has been set).
But then ssl is used thunderbird doesn't show quotas. I contacted the 
author of the thunderbird plugin, and he confirmed that it will work 
with ssl connections also, so problem isn't the plugin itself.



Have anyone else noticed something like that?

Any solutions?



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Share tokens created for sa-learn

2007-10-17 Thread Janno Sannik

you shoild be ably dump the whole db. and then import it.
sa-learn --help shows appropriate commands.

[EMAIL PROTECTED] wrote:

Is there a way to train spamassassin with sa-learn and then copy those
tokens to other servers?  Thanks.


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Is 64BIT OS reliable and fast or not needed?

2007-10-04 Thread Janno Sannik
Mailserver is too uneven process to compare it if it's faster 32bit vs 
64bit. But for me, extra feature was to be able to manage mailbox quotas 
beyond 2048MB (limitation of qmailadmin and 32bit).



bb. wrote:

So,

Can you give an example please? Like: while your 32
bit server processes thosands of emails an hour and 
the queue was long, after 64 bit install it was

faster, is it so?

By the way, CentOS 5.0 wiki still says add domainkeys
but at somewhere else do not run domainkeys until a
fix would be, now which is the updated info and let we
use domainkeys or not and so any one would correct the
info on site (For one server)...

Thanks to God and to good programmers...



--- A M [EMAIL PROTECTED] wrote:

  

Hi,


2007/10/2, bb. [EMAIL PROTECTED]:


Thanks A M,

I am about to update and testing new 64 bit but
  

got


this error while connecting via Thunderbird and
  

also


Outlook Express that i think it is because of 64
version, but also i could connect via Nokia S60
  

series


telephone and send email and could get it in other
account.

Thunderbird gave this error while connection:

/vpopmail/bin/vchkpw error while loading shared
libraries: libgssapi_krb5.so2: failed to map
  

segment


from shared object: Cannot allocate memory
  


You have to update your packages... and incresase
the softlimit


Thanks, probably i will give up 64 bit for now...


to bad... it really boost up  on clamav and spamd...

--- A M [EMAIL PROTECTED] wrote:


Hi,

I'm currently running most of my systems in


64bits


(mainly AMD now...)


Only troubles so far minor misc libraries in


some


web related apps that some
of my customers try run on it and some times


they


don't work... qmail is as
steady as rock and everything else is just


running


fine.

I've also setup some virtualization with 64bits
linuz as base and have had
no problems, at least none that a good night


sleep


wouldn't fix :)


2007/9/24, bb. [EMAIL PROTECTED]:


Hi,

I think, if OS and application are both 64bit,
  

they


would run feelable faster but...

Is there any experienced person and is 64bit
problemless choice?

Thanks to God and good programmers...



--- Jake Vickers [EMAIL PROTECTED] wrote:

  

bb. wrote:


Yes Jake Helper,

I am still trying on the new install and i
  

have


already formated the previous installs and
  

logs.


Now, is this the good (~same like) way:

1- Install CentOS 5 x64
2- Follow the instructions in:

  

www.qmailtoaster.com/centos/cnt5064/very-quick-install.txt
  

Or do you recommend ISO because it is more
  

fine


tuned


(So stable) and 32bit because of more
  

people


uses


(And


tested) 32 instead of 64bit OS  QMT?

Oh that is complex work for weekend and
  

thanks


for


your kindly replies...


  

That will be entirely up to you. I


personally


think


64-bit is not needed
for a mail server, and also think Cent5 is


very


bloated.
Those instructions should get you up an


running.


I


have not used them
myself, but others on the list are running


the


same


scenario that you
are.  The ISO is only meant to make the


installation


easier for new folks.







  
  


  

Moody friends. Drama queens. Your life? Nope!
  

-


their life, your story.


Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/


  

-
  

 QmailToaster hosted by: VR Hosted
  

http://www.vr.org


-
  

To unsubscribe, e-mail:
  

[EMAIL PROTECTED]


For additional commands, e-mail:
  

[EMAIL PROTECTED]

  

--
AM
agmsoft(at)gmail.com





 
  


  

Tonight's top picks. What will you watch tonight?
  

Preview the hottest


shows on Yahoo! TV.
http://tv.yahoo.com/



  

-
  

 QmailToaster hosted by: VR Hosted
  

http://www.vr.org


-
  

To unsubscribe, e-mail:
  

[EMAIL PROTECTED]


For additional commands, e-mail:
  

[EMAIL PROTECTED]

  

--
AM
agmsoft(at)gmail.com






  

Fussy? 

Re: [qmailtoaster] smtp-auth

2007-10-02 Thread Janno Sannik

port 25 doesn't require but accepts authentication.
That means if youre not in tcprules then you need to auth. If you are , 
you don't need to auth and can relay as you just asked.



slamp slamp wrote:

quick question, does the standard port 25 in qmailtoaster
support/requires authentication? i know port 587 requires
authentication.

so if i add my local network in tcp.smtp, i should be able to relay
without authentication?

like so:

192.168.1.:allow,RELAYCLIENT=,RBLSMTPD=,SENDER_NOCHECK=1,NOP0FCHECK=1

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Problem with qmail-pop3

2007-09-28 Thread Janno Sannik
Yes. Just wait long enough (few minutes) and you should still get the 
greeting. That means it's DNS problem.


Natalio Gatti wrote:

Paulo:
Check DNS. POP3 slowness is generally produced by misconfigured/failed
dns servers.

On 9/27/07, Paulo Sousa [EMAIL PROTECTED] wrote:
  



Hello,

Last days I' have been having problems with my qmailtoaster
installation. Sometimes the pop3 daemon stops response, it's strange, the
connect to server on port 110 work, but after connect I don't receive the
line with identification from the server.



Normal situation:

telnet server 110

Trying 127.0.0.1

Connected to server

Escape character is '^]'.

+OK [EMAIL PROTECTED]



Strange situation:

telnet server 110

Trying 127.0.0.1

Connected to server

Escape character is '^]'.





Does anyone can help me?



Thanks,

Paulo Sousa



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Maximum Quota?

2007-09-19 Thread Janno Sannik

Actually you can get over 2gb limit :D
By having x86_64 operating system the limit is much higher. Don't know 
whats the limit but it seems to be that 64bit systems get compiled with 
64bit intergers, so it handles bigger values automagically.


I have handed out as much as 4096MB so far. And yes. if you go over 
limit it will actually set the limit to 0, so it's over quota instantly.




Roxanne Sandesara wrote:
Does anyone out there know specifically which piece or pieces are 
actually imposing the limit? I'd like to figure out whether or not 
there is some way to get around this, either now, or some time in the 
near-ish future with some work or future development.


Currently, it appears that qmail-admin won't allow a specified size 
greater than 2gb. Meanwhile, the actual upload is choking at 1gb.



On Sep 18, 2007, at 12:24 PM, Adam Cantwell wrote:


On Tue, September 18, 2007 8:45 am, Roxanne Sandesara wrote:

Is there something with qmailadmin, or anything else anyone can think
of or point me to, that determines an absolute maximum for allowable
quota for a user's account?

When I attempt to raise a quota on my system above 2gb (2048mb), the
system sets a quota of 2048. I have users with a good bit more than
that in their email stores currently on their computers.

Now that I've managed to build a successful Horde installation, I've
been seriously considering moving everyone to using Horde rather than
Outlook (and a smattering of other clients). But if I can't bump
their quota up any higher than 2048, I won't be able to do that, as
I'll max them out just moving their email up onto the server.

Roxanne



The max quota size per user is 2GB.  I can't remember if this is a
limitation of qmail itself, vpopmail, courier-imap, or a combination of
all of those.  At any rate, you can't exceed 2GB to my knowledge.

Adam


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster]Segmentation fault

2007-08-31 Thread Janno Sannik
Same here. But this has happened to me only few times

Sebastian Soh wrote:

 hi all

 i am getting this error message

 /usr/share/toaster/isoqlog/bin/cron.sh 21  /dev/null
 /usr/share/toaster/isoqlog/bin/cron.sh: line 20: 26316 Segmentation
 fault $ISOQLOG /dev/null 2/dev/null


 from /var/log/messages

 I got this

 Aug 31 02:58:01 smtp1 kernel: isoqlog[25760]: segfault at
 0014 rip 0040272b rsp 007fb6b0 error 4


 Any advise?



 
 Live Search: Better results, fast Try it now!
 http://get.live.com/search/overview


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Private IP causes POP3 timeout

2007-08-28 Thread Janno Sannik

it seems more like network/routing/nat problem than qmail toaster problem.


Andrew Niemantsverdriet wrote:

I have a few customers that have a private IP and are getting timeouts
when they try to check their POP3 account.

What can I do to stop this from happening?

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] updated spamassassin on devel

2007-08-15 Thread Janno Sannik
For everyone to now that fuzzyocr doesn't (yet) support SA 3.2.x. So be 
careful. Those  who use it should stick to 3.1.x version


Erik A. Espinoza wrote:

Greetings,

I have released an updated package for spamassassin on the devel page:
http://devel.qmailtoaster.com/

This one is just released and tested today and is of v3.2.3.

Thanks,
Erik

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] qmaillog backup script

2007-08-13 Thread Janno Sannik
Why not just change /var/qmail/logcount to something bigger (I use 100) 
and logsize to something reasonable (I use 3 000 000, but actually 10MB 
would be even nice i think).


PakOgah wrote:

Dear list,
since error 451 ... end status 256 happen to me this week and couple 
weeks ago.
I create this little script to backup qmail log, so if I am out of 
office and users complaining error about mailserver
I can trace what happen back w/o have to worry losing qmail log (of 
course the script should be ran daily)

hope this little script could be usefull also for you
note to Jake: I dont use tai64nlocal

Script name backupqmaillog.sh

#!/bin/bash
#
# qmaillog backup utility
# version 0.1
# [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
# 4 Aug 2007
# this qmaillog backup utility by default will backup
# today qmail's send and smtp log into /home/backuplog
# and keep it for the next 7 days
# enhancement are always welcome


# where your qmail log folder
# QMAILLOG=/var/log/qmail
QMAILLOG=/var/log/qmail
# what log is going to backup ?
# by default only smtp and send log only
# possible log to backup are:
# LOGS=authlib clamd imap4 imap4-ssl pop3 pop3-ssl send smtp spamd 
submission

LOGS=send smtp
# your backup destination
# folder will be created automatically
# BACKUP_DEST=/home/backuplog
BACKUP_DEST=/home/backuplog
# how long you will save the backup
# BACKUP_AGE=7 # days
BACKUP_AGE=7 # days

# 
# process
# 
DATE=`date +%Y%m%d`
TMPFILE=/tmp/backuplist
DAILY_AGE=1 # day
DAILY_AGE_MINS=$[ $DAILY_AGE * 60 * 24 ]
BACKUP_AGE_MINS=$[ $BACKUP_AGE * 60 * 24 ]

for i in $LOGS;
do
mkdir -p $BACKUP_DEST/$i
find $QMAILLOG/$i/* -cmin -$DAILY_AGE_MINS -exec ls -1 {} \;  $TMPFILE
tar czf $BACKUP_DEST/$i/$i-$DATE.tar.gz -T $TMPFILE
rm -f $TMPFILE
find $BACKUP_DEST/$i/*.tar.gz -cmin +$BACKUP_AGE_MINS -exec rm -f {} \;
done

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Problems sending emails

2007-08-07 Thread Janno Sannik

is should be /usr/sbin/sendmail (yes, even if you have qmail)

how your conversation with smtp ends (what error do you get)?

pablasso wrote:

Hello Everyone

First of all, excuse my newbness. I installed qmail toaster a few days 
ago following the CentOS install guide, everything but the smtp is 
working fine, i re-checked the guide several times and still can't 
find the problem, i just can't send emails connecting to my smtp with 
an external client, neither with php ( i have sendmail_path = 
/var/qmail/bin/qmail-inject in php.ini, is that right?).


I can see the smtp is running (netstat -lnp). I'm also using virtual 
domains with vpopmail.


i have a bunch of this message at /var/log/qmail/smtp/current

@400046b8bb1e1b6aaf34 tcpserver: status: 0/100
@400046b8bd2b21f5fe1c tcpserver: status: 1/100
@400046b8bd2b21f605ec tcpserver: pid 32331 from 64.233.184.251 
http://64.233.184.251
@400046b8bd2b21f609d4 tcpserver: ok 32331 denodoprs.theplanet.host 
:209.62.5.34:25 http://209.62.5.34:25 :64.233.184.251::63482
@400046b8bd2c0877984c CHKUSER accepted sender: from 
[EMAIL PROTECTED] 
:: remote wr-out-0708.google.com:unknown:64.233.184.251 rcpt  : 
sender accepted
@400046b8bd2c126c6c4c CHKUSER accepted rcpt: from 
[EMAIL PROTECTED] 
:: remote wr-out-0708.google.com:unknown:64.233.184.251 rcpt 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] : found 
existing recipient
@400046b8bd2c2179bd84 simscan:[32331]:CLEAN ( 
0.30/12.00):0.2251s:Alerta de Google_ 
easyjet:64.233.184.251:[EMAIL PROTECTED]:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:

@400046b8bd4a27358b54 tcpserver: end 32331 status 0
@400046b8bd4a27359324 tcpserver: status: 0/100

I'm somewhat confused at this 
point, years ago i used qmail+vpopmail+(courier|dovecot) 
in Gentoo without problems, but now i'm pretty lost on CentOS 4.5.


How can i debug this?

Thanks




Re: [qmailtoaster] Problems sending emails

2007-08-07 Thread Janno Sannik
1) you should use submission port (587) for sending mail. It works just 
as port 25 exept it doesn't check for blacklists.it's quite common for 
dynamic isp pools to be blacklisted and submission port is made just for 
working around it.

2) don't have any ideas why /usr/sbin/sendmail isn't working though.


pablasso wrote:
yeah, getting removed spamhaus solved my problem sending email from 
desktop clients! squirrelmail also sends email without problems


now it's just php, i tried with this config, but none worked:

sendmail_path = /usr/sbin/sendmail -t -i
sendmail_path = /usr/sbin/sendmail
sendmail_path = /var/qmail/bin/sendmail
sendmail_path = /var/qmail/bin/qmail-inject

mail() just sends a false, any ideas?

On 8/7/07, *pablasso* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote:


It seems that spamhaus has my entire IP range blocked with PBL:

This IP range has been identified by Spamhaus as not meeting our
policy for IPs which should deliver 'direct-to-mx' mail to PBL users.

I manually removed that static IP from their list (but that IP is
not any of my server's IP ??) as i'm sure my server is not an open
relay (tested with http://www.abuse.net/cgi-bin/relaytest),
anything else i must take in account?

I hope being removed from spamhaus solves my problem


On 8/7/07, * pablasso* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

/usr/sbin/sendmail is just a link to /var/qmail/bin/sendmail
that's fine right?

Thunderbird stops with this alert when trying to send email:

An error ocurred while sending email. The mail server responded:

http://www.spamhaus.org/?query/bl?ip=189.169.61.104. Please
verify that your email address is correct in your mail
preferences again.

php just outputs a false for mail()

What is blocking the email? something like assassin or clamav?
if so, how can i disable them?


On 8/7/07, *Janno Sannik * [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

is should be /usr/sbin/sendmail (yes, even if you have qmail)

how your conversation with smtp ends (what error do you get)?


pablasso wrote:

Hello Everyone

First of all, excuse my newbness. I installed qmail
toaster a few days ago following the CentOS install
guide, everything but the smtp is working fine, i
re-checked the guide several times and still can't find
the problem, i just can't send emails connecting to my
smtp with an external client, neither with php ( i have
sendmail_path = /var/qmail/bin/qmail-inject in php.ini,
is that right?).

I can see the smtp is running (netstat -lnp). I'm also
using virtual domains with vpopmail.

i have a bunch of this message at /var/log/qmail/smtp/current

@400046b8bb1e1b6aaf34 tcpserver: status: 0/100
@400046b8bd2b21f5fe1c tcpserver: status: 1/100
@400046b8bd2b21f605ec tcpserver: pid 32331 from
64.233.184.251 http://64.233.184.251
@400046b8bd2b21f609d4 tcpserver: ok 32331
denodoprs.theplanet.host :209.62.5.34:25
http://209.62.5.34:25 :64.233.184.251::63482
@400046b8bd2c0877984c CHKUSER accepted sender: from
[EMAIL PROTECTED]
::
mailto:[EMAIL PROTECTED]::
remote wr-out-0708.google.com
http://wr-out-0708.google.com:unknown:64.233.184.251
rcpt  : sender accepted
@400046b8bd2c126c6c4c CHKUSER accepted rcpt: from
[EMAIL PROTECTED]
::
mailto:[EMAIL PROTECTED]::
remote wr-out-0708.google.com
http://wr-out-0708.google.com:unknown:64.233.184.251
rcpt [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] : found existing recipient
@400046b8bd2c2179bd84 simscan:[32331]:CLEAN (
0.30/12.00):0.2251s:Alerta de Google_
easyjet:64.233.184.251:[EMAIL PROTECTED]:
mailto:easyjet:64.233.184.251:[EMAIL PROTECTED]:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
@400046b8bd4a27358b54 tcpserver: end 32331 status 0
@400046b8bd4a27359324 tcpserver: status: 0/100

I'm somewhat confused at this
point, years ago i used qmail+vpopmail+(courier|dovecot)
in Gentoo without problems, but now i'm pretty lost on CentOS
4.5.

How can i debug this?

Thanks









Re: [qmailtoaster] no Valid MX

2007-08-03 Thread Janno Sannik
your mailservers should have some kind of name besides localhost by what 
others know you.
if you set your linux box hostname and domainname correctly ( for 
example: hostname: mail.domain.com, domainname: domain.com) then you are 
able to use the commands wiki provides to set the contents of files.




PakOgah wrote:

Janno,
how about these files
defaultdomain
defaulthost
locals
plusdomain

all of them have localhost as the content
compare to QMT (which build using install script) it quite differs
look at the wiki 
http://wiki.qmailtoaster.com/index.php/Control_Files_by_Name

still dont know what those mean?

Janno Sannik wrote:

shouldn't it be /var/qmail/control/me
and /var/qmail/control/smtpgreeting is the smtp greeting message.

note that RFC requires that your hostname is in smtp greeting, so you 
can write there whatever you want but also include hostname.


if there is something else to modify please someone make additions.


PakOgah wrote:

Ya..
try to run hostname -s
is it display localhost ?

try to run telnet localhost 25
is it display 220 localhost.localdomain ?

if both question yes then..
QMTISO cant setup your hostname
so you have setup by yourself
for setup linux hostname I think its in /etc/sysconfig/network

but for setup qmail hostname I dont what files are need to modify

Naveen wrote:


Thanks, its working now.

But the problem was when I try to send a mail to Yahoo or hotmail, 
the mails

were going to spam folder. Any idea?

Regards,
Naveen
-Original Message-



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] no Valid MX

2007-08-02 Thread Janno Sannik

shouldn't it be /var/qmail/control/me
and /var/qmail/control/smtpgreeting is the smtp greeting message.

note that RFC requires that your hostname is in smtp greeting, so you 
can write there whatever you want but also include hostname.


if there is something else to modify please someone make additions.


PakOgah wrote:

Ya..
try to run hostname -s
is it display localhost ?

try to run telnet localhost 25
is it display 220 localhost.localdomain ?

if both question yes then..
QMTISO cant setup your hostname
so you have setup by yourself
for setup linux hostname I think its in /etc/sysconfig/network

but for setup qmail hostname I dont what files are need to modify

Naveen wrote:


Thanks, its working now.

But the problem was when I try to send a mail to Yahoo or hotmail, 
the mails

were going to spam folder. Any idea?

Regards,
Naveen
-Original Message-
From: PakOgah [mailto:[EMAIL PROTECTED] Sent: Wednesday, 
August 01, 2007 11:09 PM

To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] no Valid MX

on /etc/resolv.conf
add this line

nameserver 192.168.31.2

replace that with your own ip

on /etc/named.conf
add these lines

zone test.com IN {
   type master;
   file test.com;
   allow-update { none; };
};

then create a new file on /var/named/test.com with these lines

$TTL86400
@   IN SOA  @   root (
2007; serial (d. 
adams)

3H  ; refresh
15M ; retry
1W  ; expiry
1D ); minimum

@   IN NS   mail.test.com.
@   IN MX 5 mail.test.com.
mailIN A127.0.0.1


saved and restart bind

try dig mx test.com it supposed came out with mail.test.com

hope it help
 

Thanks, I will be waiting for your post of DNS conf,

Regards,
Naveen

-Original Message-
From: PakOgah [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 3:41 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] no Valid MX

as I said before

   

but QMTISO already installed with bind
so all you have to do is configure a test.com zone along with A and
MX record which point to your mailserver IP address


yes you may need to setup local DNS on your private network. no need to
ask your ISP to create the dns zone for you as it could take some time
or you use bind which is included on qmtiso as dns server

I hope you are familiar with bind on how to create domain zone.
if not I got the same domain (test.com) in my devel qmtiso server at 
home.

tomorrow I'll paste you the dns zone for test.com, if I am not forgot





-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Spam Help

2007-08-02 Thread Janno Sannik

Jake Vickers wrote:

List Admin wrote:


My server is just getting slammed with spam. I wanted to see if 
anyone could throw out some pointers or perhaps I am missing something.
 

1.   I recently upgrade to the latest version of QTP. I ran 
qtp-sa-update. Now when I run it, it just says Already installed! 
Exiting. Am I suppose to be running something else now?


2.   I have spambox enabled via QmailAdmin for each mailbox. All 
mails marked as spam are sent to this box for each user. That spam is 
dealt along with the next step


3.   On a daily basis I have my users forward non-spam to 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] and spam to 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]. Every morning my script 
moves all mail from each users spambox into the same directory as 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]. I then run the following 
command:


 


This is my process yet still lots of spam gets through unmarked.

Am I missing something here? I now have fake PDFs coming through 
which are also causing problems for users


Can anyone recommend anything on top of what I am doing or perhaps I 
am doing something wrong.


 


Thanks




It takes a while to train the Bayes.  Give it a few days.  It needs 
200 hams AND spams to function correctly.  The more you train it, the 
better it will be.
As far as qtp-sa-update.  That script installed a cron for you that 
will update your Spamassassin rules automatically or you. Nothing else 
to do.
Having the users forward the messages to an account like that is a 
bad thing to do according to the guys on the spamassassin mailing 
list.  You need to bounce the messages to those address, not forward.  
By forwarding, programs like Outlook rewrite the headers, so your 
Bayes thinks that the spam messages are being sent from the user that 
is sending them.  DSpam is supposed to work around this by keeping a 
local cache of the original email, and when the user forwards it, it 
will look up the original message by a serial number (for lack of a 
better way to put it - I'm doing this from memory so bear with 
mistakes) and learns from it that way.
Your biggest bangs for your buck are adding blacklists and enabling 
SURBL. 
The PDF spams are a new addition to the spam world.  They've been 
going on for several weeks now.  The boys over at Rules Emporium have 
some rules written specifically for them that work okay, but you need 
to ask for access to these rules - they're not open to everyone. 
There's also a place to get additional rules for clamav that everyone 
on the spamassassin mailing list is saying works really well on those 
PDF emails.  I have not tried them yet - maybe when things calm down 
in a couple weeks here.

Good luck!

For picturespam fuzzyocr seems very effective. Really reccomend it. 
Probably takes more juice than other methods, but that seems best way to 
nail those stock spam. You should really get the giftext-segfault.patch 
since it segfaults alot on centos 64bit 4.5 without it. There are quite 
a lot of limits and optimizations you can tune so you don't have to be 
all paranoid and save some cpu clocks [http://fuzzyocr.own-hero.net/]


X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on sun.xservu.com
X-Spam-Level: 
X-Spam-Status: Yes, score=12.4 required=5.0 tests=AWL,DATE_IN_FUTURE_12_24,
   FUZZY_OCR,HTML_MESSAGE,SUB_HELLO autolearn=unavailable version=3.1.8
X-Spam-Report:
   *  1.8 SUB_HELLO Subject starts with Hello
   *  2.3 DATE_IN_FUTURE_12_24 Date: is 12 to 24 hours after 
Received: date

   *  0.0 HTML_MESSAGE BODY: HTML included in message
   *  9.0 FUZZY_OCR BODY: Mail contains an image with common spam 
text inside

   *  Words found:
   levitra in 1 lines
   cialis in 1 lines
   viagra in 2
   *  lines
   (6 word occurrences found)
   * -0.6 AWL AWL: From: address is in the auto white-list


Right now I'm using calmav PDF spam signatures for 3rd day so I can't 
really say what's the state, since I haven't got any PDF spam after 
clamav update and i get them only ~3 a week. 
[http://www.sanesecurity.co.uk/clamav/usage.htm]. Nice tutorial 
[http://www.howtoforge.com/ispconfig_sanesecurity_clamav_debian_ubuntu].






Re: [qmailtoaster] vpopmail

2007-07-20 Thread Janno Sannik
That number is memory limit for pop3 daemon. It should be big enough for 
daemon to run, but this limit is made to limit daemon memoy usage if 
something goes wrong or someone is abusing the system ( program error, 
DDOS).



Richard Lopez wrote:


This worked perfectly, but what does /var/qmail/supervise/pop3/run   
used for or what does this mean  If i raise the value ,, 
would it be better? ?


 

 




2007/7/19, Johannes Weberhofer, Weberhofer GmbH [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:


Hello Richard!

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

Best regards,
Johannes

Richard Lopez schrieb:
 I have centos5

 when a user tries to enter www.example.com/webmail
http://www.example.com/webmail
 http://www.example.com/webmail  there is not a problem
entering  but
 when  his Outlook account is configured he does not
recognize  the User
 or the Password.

 the error that appears Is the following:

 The server response was:/home/vpomail/bin/vckpw:error while
searching
 shared libraries:libgssapi_krb5.son.2:failed to map segment from
shared
 object. cannot allocate memory

 thanking you in advance for your help


--


|-
|  weberhofer GmbH   | Johannes Weberhofer
|  information technologies
|  Austria, 1080 Wien, Blindengasse 52/3
|---

-
QmailToaster hosted by: VR Hosted  http://www.vr.org
-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]






Re: [qmailtoaster] Software Raid with Qmail?

2007-07-18 Thread Janno Sannik
yes it is possible to boot from software raid 5 (by making boot 
partition raid 1 and other partitions raid 5).
but i don't recommend raid 5 for mailservers. Performance hit seems to 
be too big. Switched from raid 5 to 10 and performance boost is noticeable.


P.V.Anthony wrote:

On this day, 17-July-2007 12:54 PM,  P.V.Anthony wrote:

On this day, 17-July-2007 11:58 AM,  Gabriel Lai wrote:
Thanks guys for the input. I'll test it out. Another question, if 
one of the hard disk failed, can the OS boot normally? Previously I 
tested, when I plugged out one of the hard disk, it just can't 
boot... I'm not sure why


Had a similar issue. With lilo no problem. With grub had a problem.

Here is the link that helped me with grub and seems to work well.
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID

Remember to grub both drives. Then it will boot up with any one of 
the drives.


Please note that with sata, the drive name changes when the drive is 
taken out. For example from sdb1 will change to sda1 when sda1 is 
taken out.


P.V.Anthony


Forgot to mention. Was using raid 1.

I think it is not possible to boot from software raid 5.

P.V.Anthony


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] vpopmail mysql domain limits

2007-07-17 Thread Janno Sannik


why isn't vpopmail using mysql based domainlimits?
It would be much simpler to manage domain limits that way.



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Maildrop / mailfiter and .qmail-default contents

2007-07-17 Thread Janno Sannik
shouldn't adding a line (|/var/qmail/bin/preline /usr/bin/maildrop -A 
'Content-Filter: maildrop-toaster' /etc/mail/mailfilter ) to 
.qmail-default do the same trick?


A M wrote:

only way I know is to manualy copy .qmail to every user folder.

2007/7/17, aledr [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:


Just another question...
Is there a way to enable this for an entire domain at once?

2007/7/17, aledr [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
 Yes! It was exactly that!

 Thanks

 2007/7/17, A M [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:
  Hi,
 
  did you issue rpm -Uhv qmail-toaster-*.rpm?
 
  then you have to reselect the flag for spam detection.
 
  afterwards the virtual users .qmail file will look like this:
 
  |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:
  maildrop-toaster' /etc/mail/mailfilter
 
 
  hope it helps,
 
  A M
 
  2007/7/17, aledr  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
  
   And It was Jake.
   I built it under SuSE SLES 10 SP1 with:
   rpmbuild --rebuild --with sus101 --define 'spambox 1'
   qmailadmin-toaster-*.src.rpm
  
   2007/7/17, Jake Vickers  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
aledr wrote:
 Good day!

 Some users said that the spams wasn't going to the spam
folder. I saw
 my .qmail-default files for all domains and the content
of all is:

 | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

 Shouldn't be there entries for mailfilter and spamc?
   
You needed to enable this feature during the compile.
   
 

http://wiki.qmailtoaster.com/index.php/FAQs#I_upgraded_my_QmailToaster_to_the_latest_and_I_no_longer_have_the_.22Spam_Detection.22_box_in_Qmailadmin
  .
   --
   [ ]'s
   Aledr - Alexandre
   OpenSource Solutions for SmallBusiness Problems
  
  
 
-
QmailToaster hosted by: VR Hosted  http://www.vr.org
  
 
-
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  
  
 
 
 
  --
  AM
  agmsoft(at)gmail.com
 --
 [ ]'s
 Aledr - Alexandre
 OpenSource Solutions for SmallBusiness Problems

--
[ ]'s
Aledr - Alexandre
OpenSource Solutions for SmallBusiness Problems

-
 QmailToaster hosted by: VR Hosted  http://www.vr.org
-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]




--
AM
agmsoft(at)gmail.com 



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-17 Thread Janno Sannik

I got mixed results:
about 10% of domains have cur_users maxed out to 2147483647
about 15% have values rangin 1-16
all others have values of 0

what to think of it and to reset it to 0 for all domains?
Actually nothing weird does not seem to be happening ..

What for is this dir_control used...i haven't still got it (sorry)?
can it just be cleaned up (emptyed) and it will recover itself?
i have noticed, that then you first create a domain, it doesn't have 
entry, but if you use vdominfo for getting domain info, it also adds 
value to dir_control table.




Helmut Fritz wrote:
In any case cur_users is always 0 in the DB, regardless of the number 
of users.
 
is that not odd/wrong?  where does the cur_users get pulled from 
then?  or is it actually a deprecated field (well, maybe not 
officially!) and not used?



*From:* A M [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, July 17, 2007 4:05 AM
*To:* qmailtoaster-list@qmailtoaster.com
*Subject:* Re: [qmailtoaster] Domain bouncing mail, vuser says user is 
fine


OK,

cur_users on dir_control, some times, gets maxed up. usualy after 
adding users if I recall correctly. Not necessarily with vqadmin, but 
with qmailadmin also (I think).


I googled it arround and and didn't get much, so I assumed a vqadmin 
bug at first. But in some of my systems this happens when adding users 
to domains. Couldn't trace it to a single point.


It's not a every time thing though so I figure some bug between mysql5 
and vqadmin.


In any case cur_users is always 0 in the DB, regardless of the number 
of users.


2007/7/17, Jake Vickers [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:

A M wrote:
 you should install phpMyAdmin. This will allow you to use the
 interface to edit the values in dir_control table.

 FWIW I think QMT had this issue since, at least, ver 1.3... prior to
 that I don't know.

 The field is allaways 0 but at some point , after qmailadmin I
think,
 it gets maxed out.

Can you elaborate on that some? If it's a consistent problem, I
was not
aware of it.
Thanks.




--
AM
agmsoft(at)gmail.com 



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Janno Sannik
what's your assign file says about user whois domain it is. It might be 
that (for some odd reason) the domain user is somebody else than 
vpopmail (#89) and you still got permission problem.

plaintext version of assign file will reveal it.


Dan McAllister wrote:

Thanks Tim... that's a start...

The domain's .qmail-default file is fine (matches what I would 
expect). Thinking it may be a permissions issue, I have copied all 
relevant permissions below:

/home755  owner=root group=root
-/vpopmail   700  owner=vpopmail group=vchkpw
-/domains700  owner=vpopmail group=vchkpw
-/userdomain.com 700  owner=vpopmail group=vchkpw
-/.qmail-default  600  owner=vpopmail group=vchkpw
  (file contents: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox)
-/username(s) 700  owner=vpopmail group=vchkpw
(no users in this domain are forwarding messages, so there are no user 
.qmail files)


These match up with my other servers (that are working fine)

how would I check to see if this process (I am assuming it is not 
qmails) is running as the right user?


Dan
Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!


Tim Mancour wrote:

Dan,
 
The error message that you included from your previous post 
is generated by the following snip of code from the qmail-local.c file:
 
 qmesearch(fd,flagforwardonly);

 if (fd == -1)
   if (*dash)
 strerr_die1x(100,Sorry, no mailbox here by that name. (#5.1.1));
 
The qmesearch function appears to fail only if it cannot locate one 
of the .qmail files (either for the individual user or the domain's 
default).
 
Regards,
Tim 


*From:* Dan McAllister [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, July 17, 2007 10:36 AM
*To:* qmailtoaster-list@qmailtoaster.com
*Subject:* Re: [qmailtoaster] Domain bouncing mail, vuser says user 
is fine -- still a problem


I'll put my responses up here this time:

1) Yes, the MySQL server is local (same machine as qmail-toaster)
2) If qmail-send is having trouble looking up names, it must be a 
MYSQL problem... as root, I can perform the following:

# vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User Name
uid:0
gid:0
flags:  0
gecos: My User Name
limits: No user limits set.
dir:   /home/vpopmail/domains/domain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 10:23:51 2007
last auth ip: imap

(I have removed personal data from the above snippet)

Florida definitely has its share of growing pains these days... 
hard to fathom the folks over in Orlando letting things get so outta 
hand that the home of Disney World is considered to be too dangerous 
to raise a family! (You shoulda come to St. Pete/Clearwater! Then 
again, no -- I don't need the competition! :-))


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!


Jake Vickers wrote:

Dan McAllister wrote:
You can use recordio to see what qmail-smtp is doing, and maybe 
see where the break is. I've been traveling the last few days so I 
haven't kept up on the threads much. What OS and version? Behind a 
NAT firewall or public? Are just the /home and /backup dirs on NFS?

Thanks.
Turns out the error is now coming from qmail-send (earlier it was 
qmail-smtp, but the MySQL fix seems to have gotten it thru 
qmail-smtp and on to qmail-send.

The exact error message in QMLOG send is:
2007-07-17 10:06:40.201173500 new msg 2261131
2007-07-17 10:06:40.201177500 info msg 2261131: bytes 1551 from 
[EMAIL PROTECTED] qp 21254 uid 89
2007-07-17 10:06:40.211859500 starting delivery 9: msg 2261131 to 
local [EMAIL PROTECTED]

2007-07-17 10:06:40.211864500 status: local 1/10 remote 0/60
2007-07-17 10:06:40.215288500 delivery 9: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

2007-07-17 10:06:40.215294500 status: local 0/10 remote 0/60
2007-07-17 10:06:40.229608500 bounce msg 2261131 qp 21257
2007-07-17 10:06:40.229613500 end msg 2261131


I still missed some details, so if you put them in the email, I 
apologize.  Was the mysql DB on a different machine?
It would seem that it's having issues looking up the names in the DB 
at first glance. Can you turn on recordio and see what exactly is 
going on?
I'll be away from a PC for most of the day, but I'll try and check 
in later.




You're not that far from me. My office is in Orlando, but I'm 
moving to North Carolina this month. I'll still be in Orlando a 
couple days a month 

Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Janno Sannik
If i'm correct then this file is used for deliveries. 89:89 can be 
changed to somethin else so the domain files are owned by somebody else 
(and use filesystem quota on separate domains).
i have a hunch on other variables (they are quite obvious :) ), but i'm 
not guessing and reading the docs would be right thing to do.


Dan McAllister wrote:
The value of the assign file matches entries on other (working) 
servers...

---
+userdomain.com-:userdomain.com:89:89:/home/vpopmail/domains/userdomain.com:-:: 


.
---

An interesting attempt -- I've never had to examine this file before 
(didn't even know it existed!)

Am curious what its used for

Thanks,

Dan

Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jake Vickers wrote:

Natalio Gatti wrote:

The content of /var/qmail/user/assign reflects your current domains?
I had a corrupted assign file, which lead me to a similar problem:
qmail-smtpd accepted the messages (I guess here is where mysql plays
its role), but qmail-send didn't identified them as local accounts.

The assign file must be compiled once modified, is a cdb file. It is
compiled with qmail-newu. If your assign file is correct, running this
command won't affect your installation.
Jake, can this command be included in service qmail cdb?


I do not see why not. I'll make a note and remind Erik when the new 
version gets ready to roll.


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Software Raid with Qmail?

2007-07-16 Thread Janno Sannik
Well it removes sendmail and since mdadm depends on mail-client then it 
wipes off mdadm also. You could remove sendmail with --dodeps option or 
after installing qmail reinstall mdadm (since qmail provides mail-client 
dependency) . As far as I know mdadm is only utility for managing raid 
devices and software raid will function without it.


I bet many of us (including me) run mailservers on software raid.


Gabriel Lai wrote:

Hi all,

Is it okay that I configure Software Raid with Qmail? I saw in the 
dependency checking script that it will actually remove mdadm 
packages, am i right?


Please advice.

Gabriel



Food fight? 
http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=asksid=396545367 
Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA. 
http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=asksid=396545367




Re: [qmailtoaster] Duplicate emails again (New toaster on Centos 5)

2007-07-16 Thread Janno Sannik

you probably have 2 lines for incoming mail forwarding.
Check .qmail file in your vpopmail/domains/yourdomain.com/youruser
if it has two identical line then you need to remove one.

to be sure you could paste the contents of it back here.




Jake Vickers wrote:

Mark Piekos wrote:

I recently built a new toaster on Centos 5 with all packages from the
production site.

All has been well until I changed the password of my mail account and 
I am

suddenly getting duplicate emails for thi saccount only.  It doesn't
matter whether I am sending a message to myself or receiving them from
external sources.

I've copied full headers from 'two' that I sent to myself.  (just one
sent, two received).  I've noticed that the Delivered-To: address is
different for the two headers.

I'd be really grateful for any help/advice.
  

Do you have a .qmail file hiding in there somewhere?
And id the address you're sending to an alias for other email addresses?




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] local root account

2007-07-10 Thread Janno Sannik

how to verify what's default domain for qmail?


A M wrote:
by default msgs will go to [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]



2007/7/10, Felipe Ceglia [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:


Hi folks,

This may be a dumb question, but how do I setup my server to send
service messages (crontab, etc) when I have qmailtoaster installed?

I created root and admin aliases, but I got no messages.

Thank you,

Felipe

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]




--
AM
agmsoft(at)gmail.com 



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] help with v-webmail

2007-07-01 Thread Janno Sannik

seems like : http://v-webmail.sourceforge.net/

Jake Vickers wrote:

[EMAIL PROTECTED] wrote:

hello colleagues Excuse my language badly! I am dealing with forming
v-webmail but when I open the navigator always I obtain a page in 
target.

I never see the page of login

  
What is v-webmail? If it's another webmail package, can you provide a 
link?
If you're talking about Squirrelmail, do you mean you see a directory 
listing and never see the login screen?



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] i get bombed with mail please help

2007-06-30 Thread Janno Sannik

Do you host websites also on same server?

Full headers of the letter would be neccesary to pinpoint where it 
originates.



Espen wrote:

Hi,

Im using centos 5 and qmailtoaster.
Everything  worked fine untill jun 28 then i got bombed with mails on 
the 28 i got 3461 on 29 i got  3041 today 30 i got 3152 and counting.


I tailed the smtp/current file and this shows all the time  CHKUSER 
accepted null sender: from :: remote 
smtp1.cessniq.com:unknown:80.248.34.120 rcpt  : accepted null 
sender always.

What does accepted null sender allways mean ?

The mails i get are Delivery Status Notification (Failure) they are 
from postmaster@ different domains and they claim its sent by 
Linette [EMAIL PROTECTED] a user that does not exist on my 
server.


I did the open relay test over at 
http://www.southcomputers.com/relaytest.php and there i get  
Congratulations! mail.dataen.com *Does not appear to be* an open relay 


I realy need help here and yes i am a newb :-)

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] qmail and mysql relation and some inner life

2007-06-29 Thread Janno Sannik
1) I'm making a php based administrative panel to manage qmail server, 
but i was wondering how much is qmail using sql tables and what need's 
to be done outside db to get maildomain/user  added/deleted.


2 ) Could I add a column to domain_com tables without breaking anything?

3) What lies in mysql tables :
   dir_control (no idea)
   vlog (seems like connection log, is it used anymore?)
   valias ( i'm quite sure this holds mailbox aliases)
   relay

4) user quota column seems inconsistent:
   3 examples (pw_shell column) :
   3000S,5C  ( my guess is 30 000 000 byte file quota, 50 
000 message quota)

   104857600S ( my guess is 100MB file quota, no message quota)
   20971520 ( my guess is 20MB file quota, no message quota)

Explanation would be nice, but referring to specific documentation is 
also apreciated.


Thank you in advance.






-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to disable ezmlm warning message...

2007-05-22 Thread Janno Sannik
Just an idea: maybe modify exmlm-warning message to state amongst 
others  if you are a salesman then .



Dan Herbon wrote:

Here's my problem, which I have posted before. One of my servers has 500
users setup on it, 400 of those are sales people. They are all members of a
list called sales setup via QmailAdmin. Now when holidays come they all
setup their Out Of Office replies. When they return they receive an Ezmlm
warning with a list of bounced messages that were sent to them while they
were gone.

The mailing list messages bounce because their Out Of Office reply is on.
This in turn causes the Ezmlm warning to send a response to the user.
Sometimes as many as 400 ezmlm warnings are sent out in 1 day. Now I have
400 sales people sending me emails, calling me or forwarding the Ezmlm
warning panicing asking me if they lost email from a client or what is the
warning about, etc. etc.

It's becoming a pain because they never remember what I told them before.





-Original Message-
From: PakOgah [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 22, 2007 7:07 AM

To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] How to disable ezmlm warning message...

ezmlm-warning must be sent if something goes wrong...
try to look the error more detail.. and might you find what's wrong

Dan Herbon wrote:
  

I've been trying to figure this out also. I to have a 2000 person list and
when the warnings go out it will cause problems.

-Original Message-
From: Bilgehan POYRAZ [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 21, 2007 5:13 AM

To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] How to disable ezmlm warning message... 


I have 3 mail list on QmailToaster.And we mailing some times these
lists.
We have a problem with ezmlm warning message.
Qmail toaster sending sametimes this list ezmlm warning message.
Also this list has 3000 person...(only one list)

How to disable ezmlm warning message on the QmailToaster... 
  




-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] vpopmail reistalled now can't connect to servers

2007-05-22 Thread Janno Sannik
Do you have the basic vpopmail sql table in place (containing aliases 
table for example).
is database user correctly configured in 
/home/vpopmail/etc/vpopmail.mysql according to mysql db itself?




John Carlson wrote:
OK so I was looking around last night at my server.. using webmin and 
I was updating some sites.


I wanted to remove a table for an old site in the vpopmail 
database well when I deleted the table it actually deleted the 
whole vpopmail database. NO BACKUP... it is a fairly new install... 
anyway.. so I did some looking and I seen that the easiest way to get 
the vpopmail database back was to just re-install vpopmail.. so I 
removed vpopmail and then re-installed it.. I had to create the 
vpopmail:vchkpw user and group.. and everything seems to be in order.. 
but now I can't connect to the pop server.. or use squirrelmail.. so 
does anyone have any ideas how I can fix it without having to 
re-install the whole qmailtoaster system..


thanks in advance..
John
--
Minnesota Webworks



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] CentOS 4.5

2007-05-22 Thread Janno Sannik

I'm running centos 4.5 .

installed/upgraded toaster on 4.4 and now upgraded centos to 4.5. Not 
the latest qmail-toaster but not too old either.


[EMAIL PROTECTED] ~]# cat /etc/redhat-release
CentOS release 4.5 (Final)
[EMAIL PROTECTED] ~]# rpm -qa | grep toaster
ezmlm-cgi-toaster-0.53.324-1.3.2
maildrop-toaster-devel-2.0.3-1.3.4
courier-authlib-toaster-0.59.1-1.3.5
control-panel-toaster-0.5-1.3.3
qmail-pop3d-toaster-1.03-1.3.14
qmailtoaster-plus-0.2.9-1.3.11
libdomainkeys-toaster-0.68-1.3.2
courier-imap-toaster-4.1.2-1.3.6
autorespond-toaster-2.0.4-1.3.2
ezmlm-toaster-0.53.324-1.3.2
maildrop-toaster-2.0.3-1.3.4
isoqlog-toaster-2.1-1.3.2
ripmime-toaster-1.4.0.6-1.3.2
vpopmail-toaster-5.4.13-1.3.3
ucspi-tcp-toaster-0.88-1.3.4
spamassassin-toaster-3.1.8-1.3.7
simscan-toaster-1.3.1-1.3.5
qmailadmin-toaster-1.2.9-1.3.3
daemontools-toaster-0.76-1.3.2
libsrs2-toaster-1.0.18-1.3.2
qmailmrtg-toaster-4.2-1.3.2
vqadmin-toaster-2.3.4-1.3.2
qmail-toaster-1.03-1.3.14
clamav-toaster-0.90.1-1.3.11

slamp slamp wrote:

CentOS 4.5 just came out, I'm not sure if anyone has upgraded their
4.4 boxes yet but if you did please do tell if it went smoothly and if
toaster is affected or not

Thanks.

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] how to fix queue

2007-05-02 Thread Janno Sannik
I had huge spam leak. I had 5 email in queue. And grepped and 
deleted all spam messages (leaving me with 96 legal messages) from /mess 
folder.

Now (as I expected) I get something like :
warning: unable to stat mess/18/350952
for all 5 emails. I know it will go away eventually ( isnt it?), but 
is there a way to clean it up manually right away?




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] how to fix queue

2007-05-02 Thread Janno Sannik
Well yeah. But since i didn't know anything better to do FAST then it 
seemed good enough solution.
To get it fixed we wrote a shell script what would look into /info and 
/remote folders to get the corresponding message id and would check 
against /mess folder. If it doesn't match it would delete /info/id and 
/remote/id file. I hope it work out.


Also thanks for the qmhandle script. It seems to be almost what i need, 
except to filter out messages that match any specific string, so we 
added it :)
Added feature is in bold. If anyone needs it, wave a hand and I'll put 
it up somwhere.


[EMAIL PROTECTED] cleaner]# ./qmhandle-1.2.2
qmHandle v1.2.2
Copyright 1998-2003 Michele Beltrame

Available parameters:
 -a : try to send queued messages now (qmail must be running)
 -l : list message queues
 -L : list local message queue
 -R : list remote message queue
 -s : show some statistics
 -mN: display message number N
 -dN: delete message number N
 -Stext : delete all messages that have/contain text as Subject
*  -Utext : delete all messages that have/contain in source*
 -D : delete all messages in the queue (local and remote)
 -V : print program version

Additional (optional) parameters:
 -c : display colored output
 -N : list message numbers only
  (to be used either with -l, -L or -R)

You can view/delete multiple message i.e. -d123 -v456 -d567

***

Thanks for help


Jake Vickers wrote:
You normally don't want to mess with the queue. That's a dangerous 
area. Using a tool to manage the queue (like qmhandle) is the 
preferred method of doing that. You may be able to fix it with the 
queue-repair tool or qmhandle (there are a couple other queue fixing 
tools as well). You can search for them or download the QTP package 
which has a couple queue tools included (qtp.qmailtoaster.com)






Re: [qmailtoaster] Slow connecting pop3 server

2007-04-26 Thread Janno Sannik
This is a dns issue. I have had lot's of them in early days of qmail 
installation.
Your dns is not resolving correctly incoming ip addresses and thus it 
takes a lot of time (until timeout occurs) when connecting to pop3


Ole J wrote:

Hello,
When i am trying to connect pop3 server, usual it is ve slow.
I have tested telnet to the pop3 server with very mixed result.

Any ideas? I have not :(

The box:
Xeon, lots of the rest, raid and blabla.
Fresh installed Centos 5 with QT

This might popup by telnet after 30 seconds, telneiting to the box via 
LAN

+OK [EMAIL PROTECTED]

SMTP works as it should.
Incoming email drops in but usual outlook 2003 ends with a timeout to 
the server.


I run QT on several other boxes with Centos 4 without problems.
Only difference is the djbdns stuff and package versions ...

Thanks in advance for any help.

Best regards
Ole




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   >