566 tutoriels disponibles
Chercher un tutoriel
Bienvenue
sur Shareannonce
 
Empty mailbox managed by postfix with shell
Ecrit par: Shareannonce
Date création:  16-02-2022
Nombre de vues:  860
Catégorie:  informatique > gestion > ovh
Note: 
 
   Tutoriel N° 2f1

Empty mailbox managed by postfix with shell


Configuration:
UBUNTU SERVER with POSTFIX INSTALLED



For each domain on your linux server:

cd /home/domain/homes


/home/domain/homes/boxmail1
/home/domain/homes/boxmail2
/home/domain/homes/boxmail3


mean you have 3 pops on this domain with those e-mail adresses:

boxmail1@domain.com
boxmail2@domain.com
boxmail3@domain.com


Command to remove all e-mail for boxmail1, boxmail2, boxmail3:

sudo /usr/bin/doveadm expunge -u boxmail1@domain.com mailbox '*' all
sudo /usr/bin/doveadm expunge -u boxmail2@domain.com mailbox '*' all
sudo /usr/bin/doveadm expunge -u boxmail3@domain.com mailbox '*' all


Command to remove all e-mail for the posmaster@domain.com for the user domain:

sudo /usr/bin/doveadm doveadm search -u domain mailbox INBOX




 
 
   Autres tutoriels de la même catégorie >
 
ShareAnnonce version 2.0 Tous droits reserves. | Condition d'utilisation | Contact