Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Sendmail


  • Subject: Re: lug-bg: Sendmail
  • From: vlk@xxxxxxxxxxx (Vesselin Kolev)
  • Date: Mon, 10 Sep 2001 19:06:33 +0300



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mnogo interesno... znachi predpolaga se, che az sam client na mrezha
sas normalen admin i iskam da pratia pismo navan ot domaina... I sam
postavil smtp server server-a na dostavchika... i reshavam da pratia
mail do xyz@xxxxxx
i kogato zadam 

rcpt to: xyz@xxxxxx 

poradi tova che moeto IP go niama v /etc/mail/access poluchavam
vedroto saobshtenie

xyz@xxxxxx .... Relaying denied

Zatova si vdigam chukalata ot localnia mail-client i si puskam web-maila
i go prashtam prez Yahoo. Druga variant... az si teglia maila s POP3 ot
Dir.bg. No iskam da prashtam izhoden mail posredstvom SMTP, primerno
s Outlook Express. Pita se v zadachata, kak da prashtam tozi mail, prez
koi smtp-server da mina... Tezi dostavchici, koito sam vizhdal, dori v 
kartite si predlagat adresite si na SMTP-serverite si, koito mozhesh da
polzvash.. t.e. relay e pozvolen.

Neka posochim sega edna mrezha na nenormalen admin, koito e addnal
v /etc/mail/access

[vlk@linux vlk]$ telnet mx.bol.bg 25
Trying 193.200.15.129...
Connected to mx.bol.bg.
Escape character is '^]'.
220 mail.bol.bg ESMTP Sendmail 8.11.2/8.11.2; Mon, 10 Sep 2001 18:46:43 +0300
helo ltph.bol.bg
250 mail.bol.bg Hello ltph.bol.bg [193.200.14.172], pleased to meet you
mail from: vlk@xxxxxxxxxxx
250 2.1.0 vlk@xxxxxxxxxxx... Sender ok
rcpt to: vlk@xxxxxxxxxxxxxxxxxxxxxx
250 2.1.5 vlk@xxxxxxxxxxxxxxxxxxxxxx... Recipient ok
data
354 Enter mail, end with "." on a line by itself
This is my test message from Bol.Bg
.
250 2.0.0 f8AFl4V22621 Message accepted for delivery
quit
221 2.0.0 mail.bol.bg closing connection
Connection closed by foreign host.
[vlk@linux vlk]$ 

eto i rezultata:

Return-Path: <vlk@xxxxxxxxxxx>
Received: from su.uni-sofia.bg (ns.uni-sofia.bg [193.68.240.1])
 by ltph2digsys.ltph.chem.uni-sofia.bg (8.11.6/8.11.3) with SMTP id 
f8AG0Fp27518
 for <vlk@xxxxxxxxxxxxxxxxxxxxxx>; Mon, 10 Sep 2001 19:00:17 +0300
Received: (qmail 2595 invoked from network); 10 Sep 2001 16:03:23 -0000
Received: from misco.bol.bg (193.200.15.130)
 by ns.uni-sofia.bg with SMTP; 10 Sep 2001 16:03:23 -0000
Received: (from uucp@localhost) by misco.bol.bg (8.11.2/8.7.3) id 
f8AFlVI06309 for vlk@xxxxxxxxxxxxxxxxxxxxxx; Mon, 10 Sep 2001 15:47:31 GMT
Received: from mail.bol.bg (mx.bol.bg [193.200.15.129])
 by misco.bol.bg (AvMailGate-6.9.0.0) id 6284-686E3430;
 Mon, 10 Sep 2001 18:47:31 +0300
Received: from ltph.bol.bg (ltph.bol.bg [193.200.14.172])
 by mail.bol.bg (8.11.2/8.11.2) with SMTP id f8AFl4V22621
 for vlk@xxxxxxxxxxxxxxxxxxxxxx; Mon, 10 Sep 2001 18:47:15 +0300
Date: Mon, 10 Sep 2001 18:47:15 +0300
From: vlk@xxxxxxxxxxx
Message-Id: <200109101547.f8AFl4V22621@xxxxxxxxxxx>
X-AntiVirus: OK (checked by AntiVir Version 6.9.0.18)
Status: R 
Content-Type: 
X-Status: N

 

This is my test message from Bol.Bg

Imam domashen account kam Bol i toi mi go pozvoliava sashto. Imam
e-card i tam sam opitval s dostavchicite i te pozvoliavat ralay,
stiga da si im ot zonata. 

Prashtal sam mail ot dial-ip accounti v internet-bg.net, ot
zona, koiato e pri men s peering kam digsys (polzval sam
smtp server sofia.digys.bg) i t.n...

Vse pak az si plashtam na dostavchika i iskam ot nego uslugi,
a ne zabrani...

On Monday 10 September 2001 15:53, you wrote:
> Vesselin Kolev wrote:
> >Podobna postanovka raboti v sluchaite, kogato dostaviash mail OT hostove
> >zapisani v /etc/mail/access (politika RELAY) kam sveta i tova s
> > mailertable e
>
> Tova e napravo ludost!!!!1 Nito edin _normalen_ admin
> nqma da si ostavi smtp otvoren za RELAY! Dori i vutreshen.
>
> >tipichen primer za marshrutizacia na maila... idealno reshenie, stiga da
> >znaesh razbira se imenata na SMTP - serverite na poluchatelite...
> >
> >
> >Sashto taka tova se pravi togava, kogato razchitash na smart host za
> > dostavka. Naprimer zashto da hodish prez smart-hosta na dostavchika kato
> > mozhesh da predadesh na host-to-host connection maila za domaina,
> > namirasht se v sasednata sgrada, na kogoto znaesh imeto na mail-servera i
> > si go opisal v /etc/mail/mailertable?
> >Kogato v opashkata na sendmai popadne message za izprashtane
> >programata parvo gleda v /etc/mail/mailertable.db  za adresa na
> >servera na poluchatelia. Ako ne nameri nishto ili ne mozhe da dostavi
> >dirktno po esmtp ili uucp i pr. zapisi v /etc/mail/mailertable.db, prashta
> >vsichko prez smart-host-a koito si zadal pri zapisa
> >
> >DSsmart-host.your.isp.com
> >
> >v /etc/mail/sendmail.cf
> >
> >Ako si dostavchik, obache, riadko shte se nalozhi da izpolzvash zapisi
> >v /etc/mail/mailertable, togava ti ne polzvash smart-host, chiito traffic
> >da oblekchavash. Tam imash samo edno
> >
> >DS
> >
> >v /etc/mail/sendmail.cf i vsichko otiva kakto e opisano v MX RR.
> >
> >No pak povtariam, tova e za upravlenie na traffica OT tvoiata mrezha kam
> >vanshnia sviat... A az reshavam obratnata zadacha!

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBO5zlE/uPJWT12mvjEQJmpACfRRyGV7A239aK2PyRv06EmL0gstUAoPD3
XkwlXrpuGrPrlqRqm5M6HKoe
=93jt
-----END PGP SIGNATURE-----
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora


  • Във връзка с:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.