I use softlimit to run qmail, I had only 9MB asigned, now I have 32MB, and now spamdyke answer with DENIED_RELAYING
----- Original Message ----- From: "nightduke" <[EMAIL PROTECTED]> To: "spamdyke users" <[email protected]> Sent: Wednesday, July 16, 2008 6:17 AM Subject: Re: [spamdyke-users] RCPTHOST not procesd,mail to NON local domains are accepted [ver 3 & 4] > Pablo what was the problem? > > 2008/7/15 Pablo Murillo <[EMAIL PROTECTED]>: >> NOW is working!!!, on version 4, not 3, but this is not a trouble right >> now >> And all was for memory limit!!!! >> I never think in that!!! >> Years don't come alone :D >> >> THANKS SAM! >> >> I will send some statics from our servers later (now, we have 6 MXs >> working!!!!) >> >> Debugin output for version 4 >> ------------------------------------------- >> 07/15/2008 18:27:14 LOG OUTPUT >> DEBUG(filter_recipient_relay()@filter.c:2176): checking relaying; >> relay-level: 3 recipient: [EMAIL PROTECTED] ip: xxxxxxxxxxxxxxxxx rdns: >> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx local_recipient: false relaying_allowed: >> false >> FILTER_RELAYING >> DEBUG(filter_recipient_local()@filter.c:2147): checking for unqualified >> recipient; recipient: [EMAIL PROTECTED] >> >> 07/15/2008 18:27:14 FROM SPAMDYKE TO REMOTE: 69 bytes >> 554 Refused. Sending to remote addresses (relaying) is not allowed. >> >> 07/15/2008 18:27:14 LOG OUTPUT >> DENIED_RELAYING from: (unknown) to: [EMAIL PROTECTED] origin_ip: >> xxx.xxx.xxx.xxx origin_rdns: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx auth: >> (unknown) >> >> >> >> >> ----- Original Message ----- >> From: "Sam Clippinger" <[EMAIL PROTECTED]> >> To: "spamdyke users" <[email protected]> >> Sent: Tuesday, July 15, 2008 5:41 PM >> Subject: Re: [spamdyke-users] RCPTHOST not procesd, mail to NON local >> domains are accepted [ver 3 & 4] >> >> >>> So with spamdyke 4.0.0, no one is ever blocked for relaying and it >>> doesn't matter whether you use the "access-file" option? >>> >>> I think the problem might be the memory limit. You're using "softlimit" >>> to set the maximum memory usage to 9 MB, which is pretty low. On my >>> server, for example, I use "softlimit" to allow 80 MB. A low limit can >>> cause some strange problems and it's rare to actually see an "out of >>> memory" error. >>> >>> If that doesn't do it, try turning on the "full-log-dir" and >>> "access-file" options and running your test with version 4.0.0. The log >>> file should show all of the debugging output and (hopefully) show what >>> the problem is. >>> >>> -- Sam Clippinger >>> >>> Pablo Murillo wrote: >>>> Hello >>>> >>>> I have the same probklem, but this time (with version 4), is worse >>>> I'm sending my .conf, tcp.smtp, rcpthost & run (supervise smtp) >>>> I will try to explain what I do. >>>> >>>> I DON'T use smtp-auth because these servers are MTA, no SMTP for >>>> clients. This servers "act" as OPEN RELAY, because there are my MX >>>> servers, these servers RECEIVE mail to my CLIENTS, these are not the >>>> SMTP servers that use my clients. This server (after receiving mail) >>>> use SMTPROUTES to redistribnute the mails inside the rest of my >>>> network (qmail-send - qmail-smtp - qmail-queue - qmail-local - MAILDIR) >>>> >>>> I don't know if I'm explaining well, this is a bit confusing >>>> >>>> Another 2 tips: >>>> 1.- this is running under FreeBSD 7 >>>> 2.- we receive around 1.000.000 CONNECTIOS!!! per day!, yes 1 millon, >>>> 50% direct spam to 3 account (blacklisted recipient), can you believe >>>> it ? >>>> >>>> A "graphical" explanation: >>>> >>>> USER --> SMTP --> INTERNET (servers without problems, smth auth or pop >>>> before smtp) >>>> INTERNET --> MX (smtp) --> MAILDIR (servers with problems) >>>> >>>> MX = SPAMDYKE - QMAIL-SMTP >>>> >>>> If you (any of you), send an email to me, you will use YOUR smtp >>>> server, and then YOUR server (qmail-send, by example), connect to MY >>>> MXs servers (another smtp) and sent the mail to me, BUT if yoy are a >>>> SPAMMER and look for MX records on any DNSs, youy can "test" if this >>>> MXs records (smtp servers) accept mail to "everybody", if this is the >>>> case, then this MXs will be used as OPEN RELAY >>>> Qmail control these with rcpthost, and I think that spamdyke do the >>>> same, but, I get sorprised when the a mail for NON local domain was >>>> accepted >>>> >>>> Please, do a manual test with this config files and then tell me if >>>> I'm wrong or what I have missconfigured >>>> >>>> Connected to [YOUR MX!!!! SERVER] >>>> >>>> Telnet xxxxxxxx 25 >>>> >>>> After : 220 response >>>> SEND: helo xxxx >>>> After : 250 response >>>> SEND: MAIL FROM: [EMAIL PROTECTED] (use any email account) >>>> After : 250 response >>>> SEND: RCPT TO: [EMAIL PROTECTED] (any email account that CAN'T be >>>> found on rcpthost) >>>> >>>> If qmail is controlling the session >>>> >>>> RESPONSE: 553 sorry, that domain isn't in my list of allowed rcpthosts >>>> (#5.7.1) >>>> >>>> If spamdyke 4 with or without access-file control the session >>>> >>>> RESPONSE: 220 OK >>>> >>>> Type QUIT to close >>>> >>>> I hope you can't help me >>>> >>>> Thanks in advance >>>> Pablo Murillo #!/bin/sh >>>> QMAILDUID=`id -u qmaild` >>>> NOFILESGID=`id -g qmaild` >>>> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` >>>> >>>> if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then >>>> echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in >>>> echo /var/qmail/supervise/qmail-smtpd/run >>>> exit 1 >>>> fi >>>> exec /usr/local/bin/softlimit -a 9000000 \ >>>> /usr/local/bin/tcpserver -v -H -R -l 0 -x >>>> /web/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ >>>> -u "$QMAILDUID" -g "$NOFILESGID" 0 25 /usr/local/bin/spamdyke -f >>>> /web/conf/spamdyke.conf \ >>>> /var/qmail/bin/qmail-smtpd 2>&1 >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> spamdyke-users mailing list >>>> [email protected] >>>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users >>>> >>> _______________________________________________ >>> spamdyke-users mailing list >>> [email protected] >>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users >>> >> >> _______________________________________________ >> spamdyke-users mailing list >> [email protected] >> http://www.spamdyke.org/mailman/listinfo/spamdyke-users >> > _______________________________________________ > spamdyke-users mailing list > [email protected] > http://www.spamdyke.org/mailman/listinfo/spamdyke-users > _______________________________________________ spamdyke-users mailing list [email protected] http://www.spamdyke.org/mailman/listinfo/spamdyke-users
