1753792 Members
7058 Online
108799 Solutions
New Discussion юеВ

Re: kill a mail

 
Chushia
Frequent Advisor

kill a mail

How to kill a mail that's shown on mailq not delivered ?


Thanks,
Chushia
5 REPLIES 5
Ivan Krastev
Honored Contributor

Re: kill a mail

Chushia
Frequent Advisor

Re: kill a mail

I went into /var/spool/mquue and killed all.

Now when I sent, it shows as mailq output:

OAA29708 270179 Tue Dec 4 14:01 eis
(Deferred: Connection timed out with priszm.com.)
Chushia.Chen@priszm.com

OAA29780 (no control file)
OAA29827 (no control file)

No mail can be sent, how to fix this now ?
Chushia
Frequent Advisor

Re: kill a mail

I stop/start the mail daemon and it's working now. It turned out the last time I started the server, the priszm.com was commented out .

I'll chekc the scripts and thanks a lot!
nataraj.kn
Advisor

Re: kill a mail

Hai,

you want to kill the mailq please type the command,

ps -A which shows all the process which are running.

kill -9 process id Spamd is the process to kill the mailq process.
Chushia
Frequent Advisor

Re: kill a mail

Thanks for help.