Unix and Linux Discussions Tagged with noob |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
1,592 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,252 |
Shell Programming and Scripting |
|
|
|
7 |
4,021 |
Homework & Coursework Questions |
|
|
|
2 |
1,663 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
19,939 |
UNIX for Dummies Questions & Answers |
|
|
|
21 |
337,147 |
Fedora |
|
|
|
3 |
2,618 |
Programming |
|
|
|
2 |
5,973 |
Infrastructure Monitoring |
|
|
|
1 |
2,419 |
Homework & Coursework Questions |
|
|
|
3 |
2,160 |
Programming |
|
|
|
1 |
2,529 |
Programming |
|
|
|
13 |
5,004 |
Shell Programming and Scripting |
|
|
|
7 |
3,658 |
Shell Programming and Scripting |
|
|
|
7 |
3,331 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,477 |
Linux |
|
|
|
11 |
3,574 |
Shell Programming and Scripting |
|
|
|
2 |
2,461 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,376 |
Shell Programming and Scripting |
|
|
|
16 |
151,607 |
Programming |
pygn2m(1) Python Gateway news to mail pygn2m(1)
NAME
pygn2m - Python Gateway news to mail
SYNOPSIS
pygs -t recipient@domain1 -s sender@domain2 [ -e envelope@domain3 ] [ -h ]
DESCRIPTION
IMPORTANT: this man page is to be continued. The Whole pyg gateway is in devel. state. try -h option for more detailed option.
pygn2m reads from stdin a nntp article, sending it to recipient@domain1 a rfc822 compliant email setting Resent-Sender: sender@domain2 and
envelope envelope@domain3 if exists, else sender@domain2.
If pygn2m reads from stdin a sigle line starting with /, it is considered an absolute path to an article (ie in a spool), so pygn2m will
open and read it.
EXAMPLES
There is some documetation in /urs/share/doc/pyg
I created mailgate user (moderator of local.moderated ng). Every article posted in local.moderated is sent to mailgate, in its .procmailrc
I've put:
:0 bhc * ^To: *local-moderated | $HOME/pygs -t kalfa@localhost -e mailgate@students.cs.unibo.it -s 'cosimo@students.cs.unibo.it'
where kalfa@localhost is the recipient (usually a mailing list)
Here is an header extract from kalfa@localhost mbox:
From mailgate@students.cs.unibo.it From: whosentnntparticle@domain4 To: kalfa@localhost Resent-Sender: cosimo@students.cs.unibo.it
note that sender and envelope are different. rfc822 says that Sender: have to be a human user (not a program or similia). envelope can
mailgate user.
AUTHOR
Cosimo Alfarano <alfarano@students.cs.unibo.it>
BUGS
Boh. send any bug to the author, please.
Sun Sep 12 22:40:00 CEST 2000 pygn2m(1)