.qmailfile and fills it with filters that have the chance to stop the mail bing delivered:
| /usr/local/psa/bin/psa-spamc accept | true ./Maildir/| /usr/local/psa/bin/psa-spamc accept runs the spam filter [sometimes this line is not enabled] | true NULL filter that is always successful. This is here in case there is nothing else in the file. If the filter file is empty it will fail and we don’t want that. ./Maildir/ save in the file system. In order to make our mailbox virtual we must create it, fill it with email addresses to forward to and then not save it on to the file system.
- Login to the Plesk UI as the domain administrator (or the box administrator and go to the admin area you wish to create the virtual email address in).
- Go into Services->Mail.
- Click Add New Mail Account.
- Fill in the Create mail account in the normal way, and click the Ok button.
- Log out of the Plesk UI.
- Log in to the Plesk machine and go to new users qmail folder:
- Edit the
.qmailfile in you favourite editor [which had better be Vim!]. Delete all the lines and replace it with
| /usr/local/psa/bin/psa-spamc accept &email@example.com &firstname.lastname@example.org
- Save the file and exit.
Hi - am I missing something (probably) or can’t you just create a new email address, enable it as a mail group and turn off its mailbox to achieve this?
Comment from: Christopher [Visitor]
Hi, I have done this but it seems that the .qmail file is oerverwritted by qmail.
Is there some update configuration agent or something like that in plesk?
How could I protect the file from updates ?
Thank in advance
Form is loading...