documentation-packages team mailing list archive
-
documentation-packages team
-
Mailing list archive
-
Message #00767
[Bug 1329561] [NEW] postsuper manual needs update
Public bug reported:
In the url
http://manpages.ubuntu.com/manpages/lucid/man1/postsuper.1.html in
section
--------
mailq | tail +2 | grep -v ’^ *(’ | awk ´BEGIN { RS = "" }
# $7=sender, $8=recipient1, $9=recipient2
{ if ($8 == "user@xxxxxxxxxxx" && $9 == "")
print $1 }
´ | tr -d ’*!’ | postsuper -d -
----------
Need to be change as it is not working in ubuntu.
A better approach is to use the code I wrote below for removing mails
from one user:
-----------
mailq | grep ^[A-Z\|0-9] | grep "user@xxxxxxxxxxx" | awk '{print $1}' | postsuper -d -
-------------
** Affects: ubuntu-docs (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
In the url
http://manpages.ubuntu.com/manpages/lucid/man1/postsuper.1.html in
section
--------
- mailq | tail +2 | grep -v ’^ *(’ | awk ´BEGIN { RS = "" }
- # $7=sender, $8=recipient1, $9=recipient2
- { if ($8 == "user@xxxxxxxxxxx" && $9 == "")
- print $1 }
- ´ | tr -d ’*!’ | postsuper -d -
+ mailq | tail +2 | grep -v ’^ *(’ | awk ´BEGIN { RS = "" }
+ # $7=sender, $8=recipient1, $9=recipient2
+ { if ($8 == "user@xxxxxxxxxxx" && $9 == "")
+ print $1 }
+ ´ | tr -d ’*!’ | postsuper -d -
----------
- need to be change as it is not working in ubuntu. First "tail +2" need to change to "tail --line=+2" but a better approach is to use the code I wrote below for removing mails from one user:
+ Need to be change as it is not working in ubuntu.
+
+ A better approach is to use the code I wrote below for removing mails
+ from one user:
-----------
mailq | grep ^[A-Z\|0-9] | grep "user@xxxxxxxxxxx" | awk '{print $1}' | postsuper -d -
-------------
--
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/1329561
Title:
postsuper manual needs update
Status in “ubuntu-docs” package in Ubuntu:
New
Bug description:
In the url
http://manpages.ubuntu.com/manpages/lucid/man1/postsuper.1.html in
section
--------
mailq | tail +2 | grep -v ’^ *(’ | awk ´BEGIN { RS = "" }
# $7=sender, $8=recipient1, $9=recipient2
{ if ($8 == "user@xxxxxxxxxxx" && $9 == "")
print $1 }
´ | tr -d ’*!’ | postsuper -d -
----------
Need to be change as it is not working in ubuntu.
A better approach is to use the code I wrote below for removing mails
from one user:
-----------
mailq | grep ^[A-Z\|0-9] | grep "user@xxxxxxxxxxx" | awk '{print $1}' | postsuper -d -
-------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/1329561/+subscriptions
Follow ups
References