LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Need Some Command about Mail (https://www.linuxquestions.org/questions/linux-networking-3/need-some-command-about-mail-478374/)

shipon_97 08-29-2006 05:41 AM

Need Some Command about Mail
 
Friends ,

Anybody plz help me to give the following answers ?

1 ) How can I Delete mail from the mail queue using

Sendmail
Postfix
Exim

2 ) How can I see the "Body" and "Log" view of a particular Mail using
Sendmail
Postfix
Exim

3) What is the difference between "mailq" and "mailq -Ac"

Waiting for ur reply ....... Thx . . .

ramram29 08-29-2006 07:59 AM

You can flush the mail queue with postfix using command 'postfix flush'

The mail log is usually in /var/log/maillog. You can view it by running 'less /var/log/maillog' or 'tail maillog'

I've only used mailq to view the message in the queue.


All times are GMT -5. The time now is 05:05 PM.