While we try to delete mail from the Queue it showing "Line Mismatch Error" as below
If we try to delete that mail Id as below,Defenetely it will delete but may another mail id will occupies that place again.
Example:
This is very annoying for that we could delete mails from "<>" (mailnull) through the mails by,
Example:
:-)
root@mailserver [~]# exiqgrep -f "<>" -i| xargs exim -Mrm
Line mismatch: 5h 1Qmr1H-0005ql-So
If we try to delete that mail Id as below,Defenetely it will delete but may another mail id will occupies that place again.
Example:
root@mailserver [~]# exim -Mrm 1Qmr1H-0005ql-So
Spool data file for 1Qmr1H-0005ql-So does not exist
Continuing, to ensure all files removed
Message 1Qmr1H-0005ql-So has been removed or did not exist
This is very annoying for that we could delete mails from "<>" (mailnull) through the mails by,
root@mailserver [~]# exim -bpru | grep '<>' | awk '{print $3}'|xargs exim -MrmWe could add deleting mail by tim,
root@mailserver [~]# exim -bpru | grep '10h' | awk '{print $3}'|xargs exim -MrmDo add concerned parameter to delete mails from the Queue.
Example:
root@mailserver [~]# exim -bpru | grep 'user@domain' | awk '{print $3}'|xargs exim -Mrm
:-)