sendmail
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sendmail [2011/11/28 18:32] – [Rebuild aliases] k2patel | sendmail [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 18: | Line 18: | ||
</ | </ | ||
OR\\ | OR\\ | ||
- | run ' | + | run ' |
- | OR\\ | + | OR |
<code bash> | <code bash> | ||
sendmail -bi | sendmail -bi | ||
Line 47: | Line 47: | ||
NOTE : change 192.168.1.22 with your IP. | NOTE : change 192.168.1.22 with your IP. | ||
+ | |||
+ | ==== Clear queue ==== | ||
+ | |||
+ | Check if you want to delete all mail. | ||
+ | <code bash> | ||
+ | mailq | ||
+ | OR | ||
+ | sendmail -bp | ||
+ | </ | ||
+ | |||
+ | Now if you want to delete everything in queue just delete everything inside mqueue folder.\\ | ||
+ | In CentOS it is located at **/ | ||
+ | <code bash> | ||
+ | rm -rf / | ||
+ | </ | ||
+ | |||
+ | If there is too many files to remove you better use option like xargs with find. | ||
+ | <code bash> | ||
+ | find / | ||
+ | </ |
sendmail.1322505154.txt.gz · Last modified: 2020/08/10 02:29 (external edit)