[EMAIL PROTECTED] ~]# head -n 3 /var/qmail/supervise/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vchkpw`[EMAIL PROTECTED] ~]# İyi çalışmalar... mesutgl writes:
Merhabalar İsmail hocam, Dediğiniz gibi söz konusu chkuser yamasını sisteme uygulamaya çalıştım. test makineme kurdupumda şu şekilde bir sorun ile karşılaştım. yeni derlenen qmail-smtpd dosyasını çalıştırarak test ettiğimde varolmayan kullnıcıya gelen mail olduğunda bağlantının kabul edilmediğini gördüm. ancak localhost 25 e telnet çekerek yaptığım denemede varolmayan kullanıcıya giden mail kabul edildi. Bunun nedeni ne olabilir ve nasıl düzeltebilirim. Bir kaç dosyayı gönderiyorum.[EMAIL PROTECTED] /var/qmail/supervise/qmail-smtpd]# /var/qmail/bin/qmail-smtpd 220 mail.mydomain.com - Mail Server. ESMTP ehlo 250-mail.mydomain.com - Mail Server. 250-PIPELINING 250-8BITMIME 250-SIZE 20971520 250 AUTH LOGIN PLAIN CRAM-MD5 mail from: [EMAIL PROTECTED]CHKUSER accepted sender: from <[EMAIL PROTECTED]::> remote <:unknown:unknown> rcpt <> : sender accepted250 ok rcpt to: [EMAIL PROTECTED]CHKUSER rejected rcpt: from <[EMAIL PROTECTED]::> remote <:unknown:unknown> rcpt <[EMAIL PROTECTED]> : not existing recipient511 sorry, no mailbox here by that name (#5.1.1 - chkuser) quit 221 mail.mydomain.com - Mail Server.[EMAIL PROTECTED] /var/qmail/supervise/qmail-smtpd]#[EMAIL PROTECTED] /var/qmail/supervise/qmail-smtpd]# telnet localhost 25 Trying 127.0.0.1... @40000000467e6f290860ad1c tcpserver: status: 1/150 Connected to localhost.mydomain.com. Escape character is '^]'. @40000000467e6f290880142c tcpserver: pid 60654 from 127.0.0.1@40000000467e6f290897d634 tcpserver: ok 60654 0:127.0.0.1:25 :127.0.0.1::59985220 mail.mydomain.com - Mail Server. ESMTP mail from: [EMAIL PROTECTED]@40000000467e6f321f5f557c CHKUSER accepted sender: from <[EMAIL PROTECTED]::> remote <:unknown:127.0.0.1> rcpt <> : sender accepted250 ok rcpt to: [EMAIL PROTECTED]@40000000467e6f3b1179b394 CHKUSER accepted rcpt: from <[EMAIL PROTECTED]::> remote <:unknown:127.0.0.1> rcpt <[EMAIL PROTECTED]> : found existing recipient250 ok quit 221 mail.mydomain.com - Mail Server. @40000000467e6f402e11924c tcpserver: end 60654 status 0 @40000000467e6f402e15a544 tcpserver: status: 0/150Connection closed by foreign host. [EMAIL PROTECTED] /var/qmail/supervise/qmail-smtpd]# cat /var/qmail/supervise/qmail-smtpd/run#!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`head -1 /var/qmail/control/concurrencyincoming`exec /usr/local/bin/softlimit -m 8000000 /usr/local/bin/tcpserver -v -H -R -l 0 -x /usr/local/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -r psbl.surriel.com /var/qmail/bin/qmail-smtpd mail.mydomain.com /usr/local/vpopmail/bin/vchkpw /usr/bin/true 2>&1 [EMAIL PROTECTED] /var/qmail/supervise/qmail-smtpd]# Ismail YENIGUL writes:Merhaba Mesut Hocam,Konu hakkıda yardımcı olabilir misiniz? Amacım olmayan kullanıcılara gelen maileri kuyruğa girmeden geri çevirmek.Bu chkuser yamasi ile de yapabilirsin aslinda. Tum yamalari toplu halde shupp.org daki toaster'da bulabilirsin. Her ne kadar linux icinyazsada FreeBSD'de de gayet guzel calisiyor. Kolay gelsin. Saturday, June 23, 2007, 9:38:14 PM, you wrote:merhaba Murat bey, aynı hataya benzer başka bir hata verdi bu sefer.[EMAIL PROTECTED] /usr/ports/distfiles/magicmail-0.8.4-2]# gmake make -C common "../Makefile.inc", line 62: Need an operator "../Makefile.inc", line 64: Need an operator "../Makefile.inc", line 66: Need an operator "../Makefile.inc", line 68: Need an operator "../Makefile.inc", line 70: Need an operator "../Makefile.inc", line 72: Need an operator "../Makefile.inc", line 74: Need an operator "../Makefile.inc", line 76: Need an operator "../Makefile.inc", line 78: Need an operator "../Makefile.inc", line 80: Need an operator "Makefile", line 42: Need an operator "Makefile", line 44: Need an operator "Makefile", line 46: Need an operator "Makefile", line 49: Need an operator "Makefile", line 51: Need an operator "Makefile", line 54: Need an operator "Makefile", line 57: Need an operator "Makefile", line 59: Need an operator make: fatal errors encountered -- cannot continue gmake: *** [all] Error 1 [EMAIL PROTECTED] /usr/ports/distfiles/magicmail-0.8.4-2]#Murat Balaban writes:Merhaba Mesut bey, gmake'le deneyin. make yerine gmake yazin.Saturday, June 23, 2007, 7:04:04 PM, you wrote:Umarım konuyu yanlış yazmamışımdır. SMTP seviyesinde Qsheff benzeri bir yazılım. RCPTCHECK patch i ararken rastladım. Ancak FreeBSD de derleyemedim. Hatalar alıyorum. Konu hakkıda yardımcı olabilir misiniz? Amacım olmayan kullanıcılara gelen maileri kuyruğa girmeden geri çevirmek. Birkaç yama dosyası hata verdi. O sebeple bunu denemek istedim. Bahsettiğim yama dosyalarını bulabileceğim link verilebilirse bu konu ile ilgili ( valid user check ) diğer yamaları da denemek isterim.[EMAIL PROTECTED] /usr/ports/distfiles/magicmail-0.8.4-2]# make "Makefile.inc", line 62: Need an operator"Makefile.inc", line 64: Need an operator "Makefile.inc", line 66: Need an operator "Makefile.inc", line 68: Need an operator "Makefile.inc", line 70: Need an operator "Makefile.inc", line 72: Need an operator "Makefile.inc", line 74: Need an operator "Makefile.inc", line 76: Need an operator "Makefile.inc", line 78: Need an operator "Makefile.inc", line 80: Need an operator "Makefile", line 13: Need an operator "Makefile", line 15: Need an operator "Makefile", line 16: Need an operator "Makefile", line 22: Need an operator "Makefile", line 37: Need an operator"Makefile", line 38: warning: duplicate script for target "ifdef" ignored"Makefile", line 39: Need an operator "Makefile", line 40: Need an operator"Makefile", line 41: warning: duplicate script for target "ifndef" ignored "Makefile", line 42: warning: duplicate script for target "ifndef" ignored "Makefile", line 43: warning: duplicate script for target "ifndef" ignored "Makefile", line 44: warning: duplicate script for target "ifndef" ignored "Makefile", line 45: warning: duplicate script for target "ifndef" ignored "Makefile", line 46: warning: duplicate script for target "ifndef" ignored"Makefile", line 47: Need an operator make: fatal errors encountered -- cannot continue [EMAIL PROTECTED] /usr/ports/distfiles/magicmail-0.8.4-2]#Complete support packages are also available. The magic-smtpd's main philosophies were:To protect against SPAM and other unwanted activity at the smtpd level, before burdening the mailer processes Pro-Active protection against spammers by returning a 'USER DOES NOT EXIST' to the offender, hopefully to remove the address frombulk mailer lists To refuse to accept mail for users that do not exist, why burden the mailer with the requirement to process bouncesTo remain RFC compliant To be able to provide this same ability to other users of Qmail and Qmail/VPOPMAIL, as Dan Bernsteins code has helped so many others. (Can you tell we like Qmail? :) To provide it in a form which can be redistributed by others. To make it as efficient as possible. (We deal with a lot of high volume mail servers) Ability to handle scanning at the SMTPD level, rather than handling them as bounces. Make theAnti-Spam and Virus protection easy to configure and maintain. Still keep the code in sync with our commercial version where possible. Queueing a message twice always takes more resources than stopping it dead if we don't want it. The rest of this page should get updated as we add features, butfor now, make sure you look at the ChangeLog for the latestenhancements. The 'magic-smtpd' daemon comes complete with the following features.Drop in replacement for qmail-smtpd Support for stock qmail installations, qmail/vpopmail installations, and database installations. Valid User Checking Anti-Spam and Virus checks can be enabled at the user or email level. (ISP's like that as they can charge extra for the service) Ability to Set Various Tarpitting Rate Limits on SMPTD connections (Stops those spammers who try to send to a million addresses on your server) Simple Rule Based system, designed to work with any system, andprovide simple integration into Web Based User Defined Rule Systems, so that users can set their own policies Support for global Rule Sets as well Ability to set sane defaults easily Support for the BMS&153; "Blacklist Mastering System" Supportfor TLS, SMTPD AUTH, Valid User Checking, SMTPD Spam ProtectionSome low level rule checks you can set are: By reverse name lookups By double DNS verification By forcingMAILFROM By validating MAILFROM By validating connection IP By Blacklists By WhiteLists By Domain Extension requirements By country of Connecting IP By country of MAILFROM By syntax By checking HELO signatures By Language http://www.linuxmagic.com/opensource/magicmail/magic-smtpd/http://www.linuxmagic.com/opensource/magicmail/magic-smtpd/manual.html #cha:Versionsİyi çalışmalar...Mesut GÜLNAZ-- Murat,http://www.enderunix.org/murat/Siradan degil, "kullanisli" web sitesi tasarlayin:http://www.acikakademi.com/catalog/dontthink/---------------------------------------------------------------------Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.Cikmak icin, e-mail: [EMAIL PROTECTED] Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkeyFreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6Mesut GÜLNAZ---------------------------------------------------------------------Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.Cikmak icin, e-mail: [EMAIL PROTECTED] Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey FreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6-- Ismail YENIGUL EnderUNIX Cekirdek Takimi Uyesi Acik Akademi Yayinlari Editoru [EMAIL PROTECTED]http://www.enderunix.orgYayinevi Sanal Magaza: http://dukkan.acikakademi.comendersys: http://www.endersys.comMesut GÜLNAZ---------------------------------------------------------------------Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.Cikmak icin, e-mail: [EMAIL PROTECTED] Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkeyFreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6
Mesut GÜLNAZ --------------------------------------------------------------------- Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz. Cikmak icin, e-mail: [EMAIL PROTECTED] Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey FreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6