User Tools

Site Tools


software:controlpanels:ispconfig3:tricks

This is an old revision of the document!


ISPConfig 3 Tricks

Execute local command via e-mail

ISPConfig makes it difficult to send an e-mail to be interpreted by the local server. All e-mail addresses are handled by the information in the database. In order to do this, you need to create an alias to an e-mail alias on localhost.

  1. In ISPConfig, create a forwarder something@example.com, pointing to something@localhost
  2. From the server CLI, open /etc/aliases and add an alias like:
    something "|/full/path/to/script parameter parameter"
  3. Run
    newaliases ; service postfix reload

At this point, anything sent to something@localhost will be executed on the server by the command /full/path/to/script

software/controlpanels/ispconfig3/tricks.1594099196.txt.gz · Last modified: 2020/07/07 00:19 by rodolico