Re: Why DNS request ?



RICCARDO <castellani.riccardo@xxxxxxxxxx> wrote:

I'm using internel Linux mail server (RIC) with sendmail-8.12.10-1.1.1
as MTA and I have this domain: "example"; this domain is divided into
another 2 subdomains:
"east.example.com" , "west.example.com".
RIC server uses another mail server as "smart_host" which is on both
public network and internal network (it has 2 network card) to send
mail to external domain.
RIC server uses also mailertable mechanism to redirect messages to
another "SRV" mail server (with recipient domain "west.example.com")
while it handles directly users for "east.example.com" domain.
I don't understand because there is DNS request (record A) every time
I send email to any recipient domain (both example.com and others
domains); email is always redirected to either "smart_host" or "SRV"
mail server, but why it's necessary to do DNS request ?
My opinion is this work should have be executed from smart_host or SRV
server !!!

For host names used as smart relay or in mailertable:
sendmail looks first for MX record unless you put the name in square
brackets ([hostname]).

Sendmail also may do DNS lookup for addresses mentioned in:
* envelope sender address ("MAIL FROM:" in SMTP session)
to reduce risk of getting "undeliverable bounces"
* addresses in "To:" and "From:" headers
to rewrite CNAME names

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@xxxxxxxxxxxx : anfi@xxxxxxxx
Open-Sendmail: http://open-sendmail.sourceforge.net/
There is no cure for birth and death other than to enjoy the interval.
-- George Santayana
.



Relevant Pages

  • PIX config , pls advice
    ... properly configured through static maps and conduits in PIX ... Network setup goes like this: ... PIX located in n/w1 and mail server is located in n/w5 which has internal IP ...
    (Security-Basics)
  • Exchange Topology
    ... We have a small Win2003 network. ... using a basic email program which uses SMTP/POP accessing their mail server. ... When we were testing we sent a message from the Exchange Server ...
    (microsoft.public.exchange.setup)
  • Re: Sending email failure - away from home
    ... network and not someone elses in order to send main. ... SMTP server of smtp.charter.net as your outbound mail server in mail ... the error get is "Task edgomez@xxxxxxxxxxx" - sending reported error ...
    (microsoft.public.outlook.installation)
  • Re: Email SMTP Sending
    ... Qmail, Qmail-Scanner, courierIMAP ... I can send email from my own network from my email client just fine. ... by the server. ... Now, I have static IP on my mail server, so this weird. ...
    (Fedora)
  • Re: Possible virus? But nothing detected
    ... deliberately target your network for attack anyway; ... could to exploit your server despite your current firewall configuration, ... Internet, you're running some risk. ... FreeBSD server in our network to host as a mail server? ...
    (microsoft.public.windows.server.sbs)