• Sanjay Santhosh
  • 707 Views
  • 0 Comment
  • No tags

Traditionally you use the "sendmail -q" command to flush mail queue under Sendmail MTA. Under Postfix MTA, just enter the following command to flush the mail queue: ========= # postfix flush ========= OR ========= # postfix -f ========= To see mail queue, enter: ========= # mailq ========= To remove all mail from the queue, enter: ========= # postsuper -d ALL ========= To remove all mails in the deferred queue, enter: ========= # postsuper -d ALL deferred =========

READ MORE
  • Sanjay Santhosh
  • 708 Views
  • 0 Comment
  • No tags

Spamming in Postfix : How to find the domains on which scripts are running in Postfix? APPLIES TO: Parallels Plesk Panel 11.x ,10.x Parallels Plesk Panel 10.x for Linux Parallels Plesk Panel 9.x for Linux/Unix ========================================= 1) Create a /usr/sbin/sendmail.postfix-wrapper script with the following content: ---------------------------- #!/bin/sh (echo X-Additional-Header: $PWD ;cat) | tee -a /var/tmp/mail.send|/usr/sbin/sendmail.postfix-bin "$@" ---------------------------- Note that it should be two lines, including "#!/bin/sh." 2) Create a log file, /var/tmp/mail.send, and grant it "a+rw" rights; make the wrapper executable;…

READ MORE
OUR SERVICES
OUR TECHNOLOGIES