Arabic  Chinese (simplified)  Chinese (traditional)  French  German  Italian  Japanese  Korean  Portuguese  Russian  Spanish 

Plesk

From ASSPSMTP

Jump to: navigation, search
Plesk

On This Page


Background

Plesk is a hosting control panel, which is used by hosting companies all over the world for managing their hosting environment.

Plesk and assp

Installing ASSP on a Plesk server is exactly the same as the standard ASSP guidelines.

Scripts for Plesk and ASSP

To make use of all the ASSP validation functions (sender validation / recipient validation) it is best to use the scripts on this page, these scripts will make an export of all the e-mail addresses (mailman lists and aliases included) also the scripts exports the new domain aliases function of Plesk 8+, and uses the same addresses as the main domain.

These scripts can only be used in a Linux environment, or in Windows under Cygwin (NOT TESTED YET).

Version 0.2 (2007/07/21) Tested under Plesk 8.1.1 / ASSP 1.3.2+ / RHEL3ES/CENTOS3

Version 0.1 (2007/01/10) Tested under Plesk 8.1 / ASSP 1.2.7.1+ / RHEL3ES

Instructions

  1. Create a directory or use a directory on your server where you put these scripts in.
  2. Go to Plesk server page and select "Event manager", and select "add new event handler"
  3. Create new entries for:
    Domain alias created - <path>/virtualdomains.sh
    Domain alias deleted - <path>/virtualdomains.sh
    Domain created - <path>/virtualdomains.sh
    Domain deleted - <path>/virtualdomains.sh
    Mail name created - <path>/create_emails.sh
    Mail name deleted - <path>/create_emails.sh
    Mail name updated - <path>/create_emails.sh
    Mailing list created - <path>/create_emails.sh
    Mailing list deleted - <path>/create_emails.sh
    Put in Command: <path>/create_emails.sh
  4. Run your event under a user which has rights to create or modify files under the directory which you configured in the scripts (read guides in the scripts)!
  5. Optional you could run those 2 scripts in crontab (if you don't want to use the Event manager)
  6. You could also call the create_emails.sh script from within the virtualdomains.sh script.
  • The script will run for about 10 seconds in a 400 domains environment (Dual Xeon 3Ghz 4Gb internal memory)

SMTP-AUTH (Authenticated SMTP) & qmail

In Plesk:

  1. In server -> mail -> whitelist remove 127.0.0.0/8, and insert 127.0.0.1/32


In ASSP:

  1. Set SMTP Destination -> 125 (or whatever port you are using on qmail (you need to change /etc/services for this))
  2. Since you whitelisted 127.0.0.1/32, and e-mail is comming in on the public ip's qmail doesn't relay and when autheticated it does. Qmail SMTP Auth doesn't work when you can relay when anonymous.
These icons link to social bookmarking sites where readers can share and discover new web pages. Blinklist  del.icio.us  digg  Furl  Google  ma.gnolia  Reddit  Slashdot  Spurl  YahooMyWeb 
Personal tools