Начало Вход/Регистрация Помощ Tazi stranica s latinski bukwi
Области
 Новини
 Актуална тема
 Linux портали
 Какво е Линукс?
 Въпроси-отговори
 Форуми
   •Трудова борса
   •Конкурс
 Статии
 Дистрибуции
   •Поръчка на CD
 Made In BG
 Файлове
 Връзки
 Галерия
 Конференции
Настройки
 Външен вид
 Предложения
 Направи си сам
И още ...
 За нас
 Линукс за българи ЕООД
 Линк към нас
 Предложения

Подкрепяно от:
TelePoint - Място за хора със свободни идеи

SiteGround

initLab

Adsys Group

SAP Bulgaria

Въпроси отговори
Въпрос: qmil i squirellmail
[Търси: ]

ВНИМАНИЕ: Използвайте форумите на сайта за дa зададете вашите въпроси.

Към началото |Добави въпрос |Отговори
 
Въпрос
От: stok4o Дата: 08/22/2004
 Здравейте, имам инсталиран qmаil i squirellmail. Работят, но
 имам няколко въпроса. Не мога да стартирам qmail без файла
rcphosts. 
 Може ли да задам само ип 123.111.111.111 и 123.111.111.112
да могат да изпращат писма.
 И от squirellmail като дам сенд се чака около 45 секунди
 докато се изпрати писмото дори то да е само 1 думичка. А от
команден ред qmaila изпраща писмото веднага. Някакви идеи?
Благодаря предварително.


Отговор #1
От: @Djibmo Дата: 08/23/2004
1.rcpthosts
=========================================================================
Allowed  RCPT  domains.   If  rcpthosts is   supplied,
           qmail-smtpd will reject any envelope recipient
address
          with a domain not listed in rcpthosts.

           Exception:  If the environment variable
RELAYCLIENT is
           set, qmail-smtpd will ignore rcpthosts, and will
append
           the value of RELAYCLIENT to  each  incoming 
recipient





Nqma kak da stane bez rcphosts!!!!!

polzva se ot qmail-smtpd - receive mail via SMTP

============================================================


Може ли да задам само ип 123.111.111.111 и 123.111.111.112
да могат да изпращат писма.

Otgovora :

Setup the /etc/tcp.smtp file
 This file controls who is allowed to send and/or relay mail
on this server
An example configuration follows :

#------------------------------------------------------
 # DESCRIPTION OF THE RULES TO REMIND ME OF HOW THIS FILE
WORKS
#
 # If you set 'allow', this means that our mail server will
allow
 # the specified IP range to make a TCP connection to our
server
#
 # If you set 'deny', this means that our mail server will
not allow
 # the specified IP range to make a TCP connection to our
server
#
 # If you set RELAYCLIENT="", this means that the listed IP
range is 
# allowed to relay mail through our server
#
 # If you dont set RELAYCLIENT="", this means that the listed
IP range
# will not be able to relay mail through our server
#
 # If you set RBLSMTPD="", this means that the listed IP
ranges will
# not be checked against any of the RBL databases
#
 # If you set RBLSMTPD="some text here", this means that an
RBL lookup
 # wont be performed, but the mail will be rejected with the
specified
# text as a 4xx temp error message
#
 # If you set RBLSMTPD="-some text here", this means that an
RBL lookup
 # wont be performed, but the mail will be rejected with the
specified
# text as a 5xx perm error message
#
 # If you do not set RBLSMTPD="" or ="some text", then an RBL
lookup
 # will be performed. If the lookup is successful, then
RBLSMTPD will
 # return your custom error message (as specified in the -r
parameter
# in smtpd supervise script)
#
#-----------------------------------------------------
# HERE ARE THE RULES! :
#-----------------------------------------------------
# BYPASS OPEN RELAY CHECKING FOR THESE IPS :
#
 # These IPs are ones that we have setup so that they arent
RBL checked.
 # We have done this because these particular servers are RBL
listed,
 # and for whatever reason they can't/won't fix their open
relay problem,
# and we still want to be able to receive mail from them.
# 
 # reminder text goes here for this entry so we know the
story...
111.111.111.111:allow,RBLSMTPD=""
 # reminder text goes here for this entry so we know the
story...
222.222.222.222:allow,RBLSMTPD=""
#
#-----------------------------------------------------------------
# DONT ALLOW THESE IPS TO SEND MAIL TO US :
#
 # mailXX.offermail.net connecting regularly and sending
invalid
 # format messages causing exit with status 256 (bare
linefeed normally)
# entry added 15/12/2001
 # after looking at the mail coming from these servers it was
found to be spam
 216.242.75.100-116:allow,RBLSMTPD="-Connections from this IP
have been banned."
#
 # heaps of spam from replyto of *@freeamateurhotties.com
dec2001
 64.228.127.:allow,RBLSMTPD="-Connections refused due to spam
from freeamateurhotties.com"
 154.20.94.:allow,RBLSMTPD="-Connections refused due to spam
from freeamateurhotties.com"
 209.151.132.:allow,RBLSMTPD="-Connections refused due to
spam from freeamateurhotties.com"
 216.18.85.:allow,RBLSMTPD="-Connections refused due to spam
from freeamateurhotties.com"
#
#-----------------------------------------------------------------
# ALLOW THESE IPS TO RELAY MAIL THROUGH OUR SERVER
#
# Local class-c's from our LAN are allowed to relay,
# and we wont bother doing any RBL checking.
123.123.123.:allow,RELAYCLIENT="",RBLSMTPD=""
123.111.111.:allow,RELAYCLIENT="",RBLSMTPD=""
#
# Connections from localhost are allowed to relay 
# (because the WebMail server runs on localhost),
 # and obviously there is no point trying to perform an RBL
check.
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD=""
#
#-----------------------------------------------------------------
# ALLOW EVERYONE ELSE TO SEND US MAIL
#
# Everyone else can make connections to our server,
# but not allowed to relay
# RBL lookups are performed
:allow

===========================================================

3. И от squirellmail като дам сенд се чака около 45 секунди

Problema ti e mojebi v courier-imap.

Za taq rabota ima logove

Uspeh


Отговор #2
От: stok4o Дата: 08/23/2004
 Благодаря за отговора. Аз опитах със courier-mta и това
 забавяне изчезна. Така че може би проблема е бил в
 настройките на qmail. Смятам пак да опитам с qmail да видим
какво ще се получи. :)))



Отговор #3
От: wency (wency __@__ bitex __точка__ bg) Дата: 08/24/2004
 Otnosno zabavianeto na prastaneto - edna vazmozna prichina e
 che se pravi reverse DNS query na adresa na izprastacha i
 ako toi e s falsiv adres ot lokalna mreza ste ima
zabaviane.
resenieto e prosto i e opisano tuk:
http://www.lifewithqmail.org/lwq.html#smtp-slow

hope this helps!



Отговор #4
От: stok4o Дата: 08/25/2004
Благодаря за отговорите.
Относно забавянето сложих и опцията за tcpserver:
 -H: Do not look up the remote host name in DNS; remove the
 environment variable $TCPREMOTEHOST. To avoid loops, you
must use this option for servers on TCP port 53. 

Сега няма проблеми със изпращането.
:)))



<< Network Problem (5 ) | Slackware пречи на Windows? (9 ) >>

 
© 2011-... Асоциация "Линукс за българи"
© 2007-2010 Линукс за българи ЕООД
© 1999-2006 Slavej Karadjov
Ако искате да препечатате или цитирате информация от този сайт прочетете първо това
Външния вид е направен от MOMCHE
Code Version: 1.0.8 H (Revision: 23-09-2011)
 
Изпълнението отне: 0 wallclock secs ( 0.07 usr + 0.00 sys = 0.07 CPU)