On Saturday 25 March 2006 06:50, "Hiren Dave" <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] Sendmail virtusertable':
> Here I have used yahoo.com domain but it can be any domain lets say
> domain.com. My network is not connected to Internet. Still do you think
> that the following will not work if guru.com exists and domain.com does
> not exists physically.

Here's how mail delivery normally works:
1. Message is composed, and sending is initiatied.
2. (Optional) message is handed off to a MTA, this might be local, remote 
via SMTP, or a separate part of the same application.
3. The domain part of each of the destination addresses is queried for an 
MX record from DNS; if no MX record exists the A record is used instead.
4. An SMTP connection is made to the host (MX) or address (A) and the 
message is delivered there.
5. The MDA on that server decides what to do with the message.  The may 
involve forwarding (going back to step 2), local delivery (THIS IS WHERE 
THE VIRTUAL USER TABLE [or equivalent] IS QUERIED), or other actions.
6. Once final delivery is made to a mailbox (or the mailboxes), the 
recipients use POP, IMAP, Web, mbox, maildir, and/or other methods to read 
the mail.

Does that help?

If you are truly isolated from the internet, you can indeed make sure that 
the DNS MX record for yahoo.com points to your MDA and deliver 
[EMAIL PROTECTED] to a local mailbox, but it involves more than just your 
virtual user table.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list

Reply via email to