LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   empty outbox sendmail (https://www.linuxquestions.org/questions/linux-software-2/empty-outbox-sendmail-129187/)

spooge 12-27-2003 12:52 AM

empty outbox sendmail
 
i recently setup dns server/ mail server( sendmail).
my wife has a message with a bad address, and keeps
getting the error
"RECPT TO <balh@.com> failed <balh@.com>..User unknown"

question is: How do I clear this from her outbox?

thanks

J_Szucs 12-27-2003 02:32 AM

If the mail is in sendmail's mailspool (e.g. /var/spool/mqueue), delete the file(s) belonging to that mail from the mailspool, Or simply empty the spool like this:
rm /var/spool/mqueue/*

The latter is simpler as you need not identify which spool file belongs to the letter in question, but it is more risky since you can lose other mails which are being received or sent when you do the deletion.

spooge 12-27-2003 08:56 AM

both server, and client machines mqueue dirs are allready empty?

J_Szucs 12-27-2003 09:01 PM

If the mqueue dirs are empty, then the problem has nothing to do with sendmail.
Maybe your local mailer tries to send the mail periodically. What do you use to read and write mails? Kmail?

spooge 12-28-2003 10:27 AM

ximian evolution

J_Szucs 12-29-2003 06:22 PM

I do not know it.
Maybe someone else can help you how to remove the mail from ximian evolution's outbox.

spooge 12-29-2003 09:19 PM

well i've search'd , check'd all dir's on server/client box that my simple
knowledge knows and can't find a darn thing.


thanks J


All times are GMT -5. The time now is 06:01 AM.