segue abaixo algumas dicas para apagar mensagens do postfix:
postsuper -d ID #Apaga mensagem de ID postsuper -d ALL #Apaga todas mensagens postsuper -d ALL deferred #Apaga todas as mensanges com status deferred
Blog com conteúdo sobre os projetos que tenho trabalhado: SEGURANÇA DA INFORMAÇÃO, VOIP COM ASTERISK, VIRTUALIZAÇÃO DE SERVIDORES VMWARE SERVER, ESX, EMAIL, FIREWALL, WEB-PROXIES, VPN, MIGRAÇÕES, LDAP, SAMBA, AD, ORACLE, MySQL, RADIUS, DHCP, DNS, PHP, C++, AUTENTICAÇÃO WIFI, CAPTIVEPORTAL, SATELITE, NETWORK...
postsuper -d ID #Apaga mensagem de ID postsuper -d ALL #Apaga todas mensagens postsuper -d ALL deferred #Apaga todas as mensanges com status deferred
# update-alternatives --config editor
There are 5 choices for the alternative editor (providing /usr/bin/editor).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/vim.gnome 60 auto mode
1 /bin/ed -100 manual mode
2 /bin/nano 40 manual mode
3 /usr/bin/vim.basic 30 manual mode
4 /usr/bin/vim.gnome 60 manual mode
5 /usr/bin/vim.tiny 10 manual mode
Escolha o seu e pronto.
/etc/postfix/master.cf:
# ====================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ====================================================================
. . .
smtp inet n - - - 200 smtpd
/etc/postfix/master.cf:
# ====================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ====================================================================
. . .
smtp unix - - n - 200 smtp
disable_dns_lookups = yes
maximal_queue_lifetime = 1d bounce_queue_lifetime = 1d queue_run_delay = 300s minimal_backoff_time = 300s maximal_backoff_time = 1800s disable_vrfy_command = yes