Ubuntu Mail Server
From ViciWiki
Revision as of 20:59, 13 January 2015 by Bill (talk | contribs) (Created page with "= Add new entries = === Add New Domain === At GoDaddy/ExpertSRS/DomainMonster (whoever the registrar is): * Set MX record to "mail.skpro.com" * Note that DNS resolution can take ...")
Contents
Add new entries
Add New Domain
At GoDaddy/ExpertSRS/DomainMonster (whoever the registrar is):
- Set MX record to "mail.skpro.com"
- Note that DNS resolution can take anywhere from 30 seconds to four hours. Less time if the domain has NEVER had a request
- _(ie: do not try to access this domain name before configuring DNS, then wait five minutes, this should avoid cache problems)._
In webmin, Postfix Mail Server => Virtual Domains
- "Domains to perform virtual mapping for" -> Add domain name (comma delimited) to end of list
To Add A New Catch-All email account
- In all cases the email MUST first pass through a local user account on this server. Required.
Sending to an Internal user (Required for external as well)
In webmin, Postfix Mail Server => Virtual Domains
- "Add a new mapping"
- Description: DOMAINNAME Catch-All (or any other descriptive phrase)
- Name: @DOMAINNAME.com (the actual domain)
- Maps to: bill (or other user name for a user on this server)
Sending to an External email account
Complete the internal setup above (yes, this requires a User on the local system dedicated to this forward account!)
- Do not forget to set SPF records since this forward may qualify as a new email generated on behalf of the domain.
In webmin, Postfix Mail Server => Mail Aliases
- "Create a new alias"
- Description: DOMAINNAME Catch-All Forward (or any other descriptive phrase)
- Name: username from internal setup above
- Maps to: [email protected] (external email address goes here)
Add New User
In webmin, System: Users and Groups => Create new user
Home directory will be /home/NEWUSERNAME (automatic)
If forwarding to an external email address, Password can be "No Login allowed" and shell can be "usr/sbin/nologin" to avoid actual login to ssh.
But if accepting the email (individual or catch all), password must be set, but shell can still be nologin.
Add new email addresses
Webmin -> Postfix -> Virtual Domains -> Add a new mapping
- Description: (doesn't matter: BoobledeeGooGoo)
- Name: (email address: [email protected])
- Maps to...: (user name: bill)