A PCRE internal error occured. This might be caused by a faulty plugin

**This is an old revision of the document!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

====== Postfix (Mail Transfer Agent) ====== In case you're planning to use your Linux Mint LMDE install as a development platform, or for any other reason you'd like to have an MTA running on your machine, here is the way to install and configure Postfix to do just that. You can also refer to [[https://wiki.debian.org/Postfix]] where most of the following information comes from. ===== Install Postfix ===== Install the Postfix package: <code> sudo apt-get update sudo apt-get install postfix </code> You'll be asked what type of installation you'd like to setup. In this example we'll go for an external relay, so , when asked, we choose "Internet with smathost" as the installation option. {{ :packages:postfix:install-type.png?direct&200 |}} You'll then be prompted to enter a domain name that will be used to qualify addresses WITHOUT A DOMAIN NAME, enter an adequate domain name here. Do this so others cannot abuse your mail system. You can later change this value using: <code> sudo postconf -e "myorigin = domainname.tld" </code> This value will be saved in// /etc/mailname/ //. Also a default relay host will be asked, leave it blank to route your mails directly to the SMTP service of the target address. ===== Configure Postfix ===== Your hostname (computer name) can be set with the following command. (Use command "hostname" at the command-line to display your hostname if not sure.) <code> postconf -e "myhostname=server1.example.com" </code> Add the domain names that your system will handle. <code> postconf -e "relay_domains = example.com, example2.com, example3.com" </code> Reload Postfix Server: <code> postfix reload </code> ===== Test Postfix =====