• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Creating an email address without the web interface

M

MigCH

Guest
Hello everyone,

We have a DV server on mediatemple and for PCI compliance reasons, we made changes that made the web interface not usable. That was alright for a lot of things but creating an email seems to be quite tricky. Here is what I've done so far:

- Created the directories and files needed for the mail account (qmail):
-/var/qmail/mailnames/domain.com/accounts
-/var/qmail/mailnames/domain.com/accounts/Maildir
-/var/qmail/mailnames/domain.com/accounts/Maildir/cur
-/var/qmail/mailnames/domain.com/accounts/Maildir/new
-/var/qmail/mailnames/domain.com/accounts/Maildir/tmp
-/var/qmail/mailnames/domain.com/accounts/.qmail
- Set the permissions and the.qmail content based on what is used on other working accounts.
- Edited /var/qmail/users/assign to add a line for the new account
- Ran this command : /var/qmail/bin/qmail-newu
- Created an entry in the 'mail' table of the psa database for the new mail account as well as an entry in the 'accounts' table and the 'Permissions' table (all linked by IDs)
- Also replicated entries of the 'mn_param' table (based on other working accounts)
- Removed the mail name entry in the 'mail_aliases' table because it was an alias before.
- Ran : kill -HUP <qmail-send process ID>

For the moment, nothing happens when one send an email to the address (no mailer-daemon). It basically send it to the void silently. Or that is what I guess because the Maildir seems empty. And I cannot connect to it via POP (I've not tried IMAP).

Does anybody immediately spot a missing step in what I've done?

Thank you very much in advance.
Mig
 
Back
Top