38.3. Editing Local Domains

When Qmail receives an email message via SMTP or one of its programs, it needs to work out whether it should be delivered locally or forwarded to another server. This is done by looking at the message's To: address—specifically the domain part after the @. The domain is compared to a list of local domains and, if a match is found, the email is delivered to the mailbox of the user whose name is to the left of the @ in the To: address (if it exists).

If the domain is not local, Qmail will look up the mail server for the domain and attempt to connect to it in order to transfer the message. This is what usually happens when a client on the same network connects to send out email. A problem will occur, however, if your ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.