Configuration Layout

  • /srv/domain.com Directory for domain.com. This enables hosting for this domain. If the domain is a symlink to another domain directory in /srv, then web, and mail requests will be forwarded to that new domain.
  • /srv/domain.com/config Contains configuration items and flags
    • antivirus: If this file is present, then reject mail if it contains a virus. If the file starts with "tag" then just tag the mail. It will be tagged with *X-Anti-Virus: Infected (virus name)*
    • antispam: If this files is present, then reject mail as per the SpamAssassin? configuration for the user that owns /srv/domain.com, or the default as necessary. If the file starts with "tag" then tag the mail.
    • ftp-password: contains the FTP password for the domain domain.com
    • default-mailbox: This contains the email address to which all mail not delivered to local users will be addressed.
  • /srv/domain.com/mailboxes: This contains the users mailboxes, one file or directory per user. If the file is a directory, mail will be delivered to the directory Maildir inside it. If it is a file, then the file will be treated as an EximForwardFile? which can be used in the normal way. Inside the user directory, there will be a file password, which will store the password in plain text, which the user can use to access their email over IMAP or POP3, or the encrypted versions of those protocols. Similarly it will allow them to relay mail via the server. In all cases the username is their email address.
  • /srv/domain.com/public: Place where publicly accessible documents are store. These can be accessed over HTTP(s) or FTP.