Re: [toaster] Domainkeys
Bill Shupp wrote: On Apr 3, 2008, at 11:36 AM, Dennis Erickson wrote: I found this is one of the archives and wanted to know if this is still current before I try any implementation. http://www.mail-archive.com/toaster@shupp.org/msg03892.html Wed, 26 Apr 2006 12:54:24 -0700 That post is very old. Building libdomainkeys and the qmail patch have been rolled into the toaster for a while now. Those directions are obsolete if you installed qmail via this toaster. Regards, Bill Thanks for the info wasn't sure. Dennis
[toaster] Domainkeys
I found this is one of the archives and wanted to know if this is still current before I try any implementation. http://www.mail-archive.com/toaster@shupp.org/msg03892.html Wed, 26 Apr 2006 12:54:24 -0700 Hello list: i've successfully (at the moment) implemented domainkeys with the toaster, here are the steps: # follow almos all instructions for installing domainkey from: # http://jeremy.kister.net/howto/dk.html # # to compile: cd /var/src/tar wget http://voxel.dl.sourceforge.net/sourceforge/domainkeys/libdomainkeys-0.68.tar.gz wget http://www.qmail.org/qmail-1.03-dk-0.53.patch wget http://jeremy.kister.net/code/qmail-dk-0.53-auth.patch cd /var/src/netqmail-1.05 tar xfz ../tar/libdomainkeys-0.68.tar.gz cd libdomainkeys-0.68 make cd .. cp -pr libdomainkeys-0.68/* . patch -d netqmail-1.05/ ../tar/qmail-1.03-dk-0.53.patch patch -d netqmail-1.05/ ../tar/qmail-dk-0.53-auth.patch cd netqmail-1.05 # edit the Makefile to resolve the hunk, just add qmail-dk in the end of the it: \ .. block, it should look like: # binm3 binm3+df spfquery update_tmprsadh qmail-dk make qmail-dk cp qmail-dk /var/qmail/bin/ cp qmail-dk.8 /var/qmail/man/man8/ #in tcp.smtp use this instead: :allow,DKVERIFY=DEGIJKfh,QMAILQUEUE=bin/qmail-dk,DKQUEUE=/var/qmail/bin/simscan #that's it. I'm still doing some testing though, at least the messages get signed. regards, -- *Ingo Claro F.* Gerente de Operaciones [EMAIL PROTECTED] [EMAIL PROTECTED] (+56-2) 43 00 155 NetRed S.A. http://www.netred.cl Certificado ISO 9001:2000
Re: [toaster] Port 587
Maxwell wrote: Hi there - I recently setup a new mail server based around the Toaster ( http://shupp.org/toaster/ ) to great success. I just have one main issue at this point - many of our users were set to port 587 due to their home ISP blocking port 25. However, the toaster does not seem to respond to requests on this port. I'm sure this is relatively easy - but can someone instruct me on how to have SMTP respond to requests on port 587 as well as 25? Thanks! Here is what I am using to get around that. iptables -t nat -A PREROUTING -p tcp --dport 587 -i eth0 -j REDIRECT --to-ports 25 Simple command to start listening on port 587. Dennis.
Re: [toaster] Port 587
Maxwell wrote: Dennis Thanks - works like a charm. I'm using RedHat so I stuck this in my /etc/sysconfig/iptables file and set iptables to load on start. Should be good to go : ) On 5/5/06, *Dennis Erickson* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Maxwell wrote: Hi there - I recently setup a new mail server based around the Toaster ( http://shupp.org/toaster/ ) to great success. I just have one main issue at this point - many of our users were set to port 587 due to their home ISP blocking port 25. However, the toaster does not seem to respond to requests on this port. I'm sure this is relatively easy - but can someone instruct me on how to have SMTP respond to requests on port 587 as well as 25? Thanks! Here is what I am using to get around that. iptables -t nat -A PREROUTING -p tcp --dport 587 -i eth0 -j REDIRECT --to-ports 25 Simple command to start listening on port 587. Dennis. Glad I could help.
[toaster] Emails stuck in local queue
My users send emails with attachments that are usually around 10 to 12 mb per file to each other. The problem I am running into is that these emails are taking in upwards of an hour or more to be delivered to each other. These are strictly local emails. I've googled a few different ideas on this one and keep running into a brick wall... Any help or pointers in the right direction would be greatly appreciated. Dennis.
Re: [toaster] Emails stuck in local queue
Bill Shupp wrote: Dennis Erickson wrote: My users send emails with attachments that are usually around 10 to 12 mb per file to each other. The problem I am running into is that these emails are taking in upwards of an hour or more to be delivered to each other. These are strictly local emails. I've googled a few different ideas on this one and keep running into a brick wall... Any help or pointers in the right direction would be greatly appreciated. What do the logs say? Are they actually in the queue, or is simscan/clamav spending time on them? Regards, Bill As far as I am able to tell the messages are actually in the queue -- log from /var/qmail/current 2006-03-14 09:00:24.043279500 new msg 343755 2006-03-14 09:00:24.043340500 info msg 343755: bytes 32743846 from [EMAIL PROTECTED] qp 7313 uid 89 2006-03-14 09:00:24.103954500 starting delivery 17712: msg 343755 to local [EMAIL PROTECTED] 2006-03-14 09:00:24.103962500 status: local 1/10 remote 0/20 2006-03-14 09:00:24.103989500 starting delivery 17713: msg 343755 to local [EMAIL PROTECTED] 2006-03-14 09:00:24.104001500 status: local 2/10 remote 0/20 2006-03-14 09:00:24.446413500 delivery 17712: success: did_0+0+1/ 2006-03-14 09:00:24.446418500 status: local 1/10 remote 0/20 As far as simscan/clamav is concerned I don't see that the message is being scanned - 2006-03-14 08:59:49.050831500 /var/qmail/simscan/1142348388.999847.7343/textfile1: OK 2006-03-14 09:00:41.999145500 /var/qmail/simscan/1142348440.340467.7470/textfile2: OK 2006-03-14 09:00:41.999348500 /var/qmail/simscan/1142348440.340467.7470/addr.1142348440.340467.7470: OK 2006-03-14 09:00:41.999374500 /var/qmail/simscan/1142348440.340467.7470/textfile0: OK 2006-03-14 09:00:42.034919500 /var/qmail/simscan/1142348440.340467.7470/msg.1142348440.340467.7470: OK 2006-03-14 09:00:42.036680500 /var/qmail/simscan/1142348440.340467.7470/textfile1: OK 2006-03-14 09:00:44.992867500 /var/qmail/simscan/1142348444.654535.7481/addr.1142348444.654535.7481: OK 2006-03-14 09:00:45.047193500 /var/qmail/simscan/1142348444.654535.7481/textfile0: OK 2006-03-14 09:00:45.127615500 /var/qmail/simscan/1142348444.654535.7481/msg.1142348444.654535.7481: OK 2006-03-14 09:01:01.277392500 /var/qmail/simscan/1142348461.224297.7514/addr.1142348461.224297.7514: OK 2006-03-14 09:01:01.287150500 /var/qmail/simscan/1142348461.224297.7514/msg.1142348461.224297.7514: OK 2006-03-14 09:01:01.293323500 /var/qmail/simscan/1142348461.224297.7514/textfile0: OK 2006-03-14 09:01:14.164088500 /var/qmail/simscan/1142348474.18816.7550/textfile0: OK 2006-03-14 09:01:14.164092500 /var/qmail/simscan/1142348474.18816.7550/addr.1142348474.18816.7550: OK 2006-03-14 09:01:14.166126500 /var/qmail/simscan/1142348474.18816.7550/msg.1142348474.18816.7550: OK 2006-03-14 09:01:26.308033500 /var/qmail/simscan/1142348486.166495.7613/addr.1142348486.166495.7613: OK 2006-03-14 09:01:26.308384500 /var/qmail/simscan/1142348486.166495.7613/textfile0: OK 2006-03-14 09:01:26.310248500 /var/qmail/simscan/1142348486.166495.7613/msg.1142348486.166495.7613: OK Guessing on the time-stamp the message doesn't appear to be hitting simscan - however I am not sure on this guess. output from /var/qmail/bin/qmail-qread 14 Mar 2006 15:00:24 GMT #343755 32743846 [EMAIL PROTECTED] done local [EMAIL PROTECTED] local [EMAIL PROTECTED]
Re: [toaster] Emails stuck in local queue
Dennis Erickson wrote: Bill Shupp wrote: Dennis Erickson wrote: My users send emails with attachments that are usually around 10 to 12 mb per file to each other. The problem I am running into is that these emails are taking in upwards of an hour or more to be delivered to each other. These are strictly local emails. I've googled a few different ideas on this one and keep running into a brick wall... Any help or pointers in the right direction would be greatly appreciated. What do the logs say? Are they actually in the queue, or is simscan/clamav spending time on them? Regards, Bill As far as I am able to tell the messages are actually in the queue -- log from /var/qmail/current 2006-03-14 09:00:24.043279500 new msg 343755 2006-03-14 09:00:24.043340500 info msg 343755: bytes 32743846 from [EMAIL PROTECTED] qp 7313 uid 89 2006-03-14 09:00:24.103954500 starting delivery 17712: msg 343755 to local [EMAIL PROTECTED] 2006-03-14 09:00:24.103962500 status: local 1/10 remote 0/20 2006-03-14 09:00:24.103989500 starting delivery 17713: msg 343755 to local [EMAIL PROTECTED] 2006-03-14 09:00:24.104001500 status: local 2/10 remote 0/20 2006-03-14 09:00:24.446413500 delivery 17712: success: did_0+0+1/ 2006-03-14 09:00:24.446418500 status: local 1/10 remote 0/20 As far as simscan/clamav is concerned I don't see that the message is being scanned - 2006-03-14 08:59:49.050831500 /var/qmail/simscan/1142348388.999847.7343/textfile1: OK 2006-03-14 09:00:41.999145500 /var/qmail/simscan/1142348440.340467.7470/textfile2: OK 2006-03-14 09:00:41.999348500 /var/qmail/simscan/1142348440.340467.7470/addr.1142348440.340467.7470: OK 2006-03-14 09:00:41.999374500 /var/qmail/simscan/1142348440.340467.7470/textfile0: OK 2006-03-14 09:00:42.034919500 /var/qmail/simscan/1142348440.340467.7470/msg.1142348440.340467.7470: OK 2006-03-14 09:00:42.036680500 /var/qmail/simscan/1142348440.340467.7470/textfile1: OK 2006-03-14 09:00:44.992867500 /var/qmail/simscan/1142348444.654535.7481/addr.1142348444.654535.7481: OK 2006-03-14 09:00:45.047193500 /var/qmail/simscan/1142348444.654535.7481/textfile0: OK 2006-03-14 09:00:45.127615500 /var/qmail/simscan/1142348444.654535.7481/msg.1142348444.654535.7481: OK 2006-03-14 09:01:01.277392500 /var/qmail/simscan/1142348461.224297.7514/addr.1142348461.224297.7514: OK 2006-03-14 09:01:01.287150500 /var/qmail/simscan/1142348461.224297.7514/msg.1142348461.224297.7514: OK 2006-03-14 09:01:01.293323500 /var/qmail/simscan/1142348461.224297.7514/textfile0: OK 2006-03-14 09:01:14.164088500 /var/qmail/simscan/1142348474.18816.7550/textfile0: OK 2006-03-14 09:01:14.164092500 /var/qmail/simscan/1142348474.18816.7550/addr.1142348474.18816.7550: OK 2006-03-14 09:01:14.166126500 /var/qmail/simscan/1142348474.18816.7550/msg.1142348474.18816.7550: OK 2006-03-14 09:01:26.308033500 /var/qmail/simscan/1142348486.166495.7613/addr.1142348486.166495.7613: OK 2006-03-14 09:01:26.308384500 /var/qmail/simscan/1142348486.166495.7613/textfile0: OK 2006-03-14 09:01:26.310248500 /var/qmail/simscan/1142348486.166495.7613/msg.1142348486.166495.7613: OK Guessing on the time-stamp the message doesn't appear to be hitting simscan - however I am not sure on this guess. output from /var/qmail/bin/qmail-qread 14 Mar 2006 15:00:24 GMT #343755 32743846 [EMAIL PROTECTED] done local [EMAIL PROTECTED] local [EMAIL PROTECTED] This may be of interest - I ran - ps axu - the following caught my eye... vpopmail 7458 0.0 0.0 2780 300 ?S09:00 0:00 bin/qmail-local -- domain.com /home/vpopmail/domains/domain.com domain.com-user - user domain.com [EMAIL PROTECTED] ./Maildir could this be a vpopmail issue?
Re: [toaster] Emails stuck in local queue
Rick Macdougall wrote: Dennis Erickson wrote: Dennis Erickson wrote: Bill Shupp wrote: Dennis Erickson wrote: My users send emails with attachments that are usually around 10 to 12 mb per file to each other. The problem I am running into is that these emails are taking in upwards of an hour or more to be delivered to each other. These are strictly local emails. I've googled a few different ideas on this one and keep running into a brick wall... Any help or pointers in the right direction would be greatly appreciated. This may be of interest - I ran - ps axu - the following caught my eye... vpopmail 7458 0.0 0.0 2780 300 ?S09:00 0:00 bin/qmail-local -- domain.com /home/vpopmail/domains/domain.com domain.com-user - user domain.com [EMAIL PROTECTED] ./Maildir could this be a vpopmail issue? What version of vpopmail are you running and what options was it compiled with ? Rick vpopmail-5.4.13 patched with vpopmail-5.4.13-cumulative-1.patch configured with enable-logging=v Its pretty much a standard toaster install. The only things I added were qmHandle and added qmailtap. Thanks Dennis.
Re: [toaster] chkuser
tonix (Antonio Nati) wrote: At 05.14 09/02/2006, you wrote: Is there a way to close a connection after 3 or 4 invalid mailboxes are reached on a single connection? When spammers hit my production server I see multiple emails in the log account that if they could be blocked after 3 or 4 invalid address are reached. It's all already inside the box. Check carefully toaster documentation or look in http://www.interazioni.it/opensource/chkuser/documentation/chkuser_settings.html#Tarpitting for more info on chkuser settings. Ciao, Tonino Thanks Dennis According to your documents all I should have to do is change out the CHKUSER_WRONGRCPTLIMIT to lets say 4 then recompile? #define CHKUSER_WRONGRCPT_LIMIT_VARIABLE CHKUSER_WRONGRCPTLIMIT Dennis
[toaster] chkuser
Is there a way to close a connection after 3 or 4 invalid mailboxes are reached on a single connection? When spammers hit my production server I see multiple emails in the log account that if they could be blocked after 3 or 4 invalid address are reached. Thanks Dennis