• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Delete Mail after Forwarding

magic_77

Basic Pleskian
Hi to all,

is it possible to configure Plesk (running Postfix) with the ability to delete Mails that where forwarded?
So if anyone could give me an hint

thxin advance
Marek
 
By default mail should be only forwarded and not stored in mailbox. You can check it in .qmail file. For example:

# cat ./qmail/mailnames/plesk10.domain.com/mail1/.qmail
| true
| /usr/bin/deliverquota ./Maildir

deliverquota indicate that mail will be stored in mailbox. For forwarding you will see something like &<mailname>@<domain> without deliverquota.
 
Hi IgorG,

thx for this hint - so is it possible to reconfigure this account to only forward emails - and where i have to do
this?

greets
Marek
 
You should add address for forwarding and disable "Mailbox" checkbox for email in Control Panel. In that case forwarding will be enabled without storing email in mailbox.

For example:

Usual mailbox:
# cat ./qmail/mailnames/plesk10.domain.com/mail1/.qmail
| true
| /usr/bin/deliverquota ./Maildir

Mailbox with forwarding:
# cat ./qmail/mailnames/plesk10.domain.com/mail1/.qmail
| true
| /usr/bin/deliverquota ./Maildir
&[email protected]

Mailbox with forwarding and disabled "Mailbox" checkbox:
# cat ./qmail/mailnames/plesk10.domain.com/mail1/.qmail
| true
&[email protected]
 
Back
Top