Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pygm2n(1) [debian man page]

pygm2n(1)						    Python Gateway mail to news 						 pygm2n(1)

NAME
pygm2n - Python Gateway mail to news SYNOPSIS
pygm2n -n newsgroups [ -s newsserver ] [ -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. pygm2n reads from stdin an email, sending it to newsgroups, a comma separated list without spaces of newsgroup names (at least one), rfc799 compliant. If pygm2n reads from stdin a sigle line starting with /, it is considered an absolute path to a single-email mailbox, so pygm2n will open and read it. Note that now pyg can't read a real mailbox, with many emails. If you give it in input, pyg will post the whole mailbox as a single email. EXAMPLES
There is some documetation in /urs/share/doc/pyg I created mailgate user (moderator of local.moderated ng). Subscribe to a list with this user (or simply email one message to). Every email posted to this user will send to newsgroups, in its .procmailrc I've put something like: :0 bh * ^From *mailinglist-request@lists.debian.org | $HOME/pygm2n -n local.debian.mailinglist AUTHORS
Cosimo Alfarano <alfarano@students.cs.unibo.it> BUGS
Boh. send any bug, advice or opinion to the author, please. Sun Sep 12 18:10:00 CEST 2000 pygm2n(1)

Check Out this Related Man Page

SUBSCRIPTIONS(5)					    InterNetNews Documentation						  SUBSCRIPTIONS(5)

NAME
subscriptions - Default recommended subscriptions DESCRIPTION
The pathetc/subscriptions file contains a list of newsgroups that is returned by the NNTP command LIST SUBSCRIPTIONS. Clients that support this command usually send it the first time they connect to a new news server. They use the returned list to initialize the list of subscribed newsgroups. The subscriptions file therefore should contain groups intended for new users, for testing, or that contain FAQs and other useful information for first-time Usenet users. The syntax of the subscriptions file is trivial; it is a simple list of newsgroup names, one per line. The order of newsgroups may be significant; the news reading client may present the groups in that order to the user. EXAMPLE
A typical subscriptions file may look like: news.announce.newusers news.newusers.questions local.test local.general local.talk misc.test misc.test.moderated news.answers news.announce.newgroups This gives the client the FAQs and question newsgroup for new users first, then a local newsgroup for testing and various commonly-read local discussion groups, followed by the world-wide test groups, all the FAQs, and announcements of new world-wide newsgroups. If there is a local new users group, one might want to list it first. HISTORY
Written by Bettina Fink <laura@hydrophil.de> for InterNetNews. $Id: subscriptions.pod 8822 2009-11-20 17:34:15Z iulius $ SEE ALSO
nnrpd(8). INN 2.5.2 2010-02-08 SUBSCRIPTIONS(5)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Shell to run query, encrypt and send email

Hello To do : 'automate the process of generating report and send it to client every 15 days after encrypting the report file' Did so far : - generate Java program to encrypt the file. - generate SQL query to run the report. Is there any body who can help me to go further ? ... (7 Replies)
Discussion started by: cub
7 Replies

2. UNIX for Dummies Questions & Answers

how to send mail from server to client's email-id

i want to send email from server to the client's email-id. server is solaris. please help me out.i want to send mail to the email-id not to the var/spool/mail. (8 Replies)
Discussion started by: parmeet
8 Replies

3. UNIX for Dummies Questions & Answers

sending mail

i want to send an email from the unix machine to the windows machine. now windows dont have any specified folder for the mail. mail has to be sent to the email-id like abc@xyz.com unix machine itself can not directly send mail. it has to be transferred via mail server. (11 Replies)
Discussion started by: parmeet
11 Replies

4. Shell Programming and Scripting

Finding a file delivery time and sending it as an email

Hello, i have a requirement where i need to create a script which would check for a file name called XX_YYYY_ZZ in the directory inbound and as soon as the file is delivered in this directory a email needs to be sent to a user abc@yahoo.com The plan is to put script in the core process to run... (8 Replies)
Discussion started by: rajasinn
8 Replies

5. Programming

Send an email with C/C++

HI, I have a requirement to send an email through C++ code. We are already using sockets. I like a reference point to how we proceed on it. Like in starting we like to send on gamil or yahoo account. Is it possible with C code? Thanks in advance. (9 Replies)
Discussion started by: Saurabh78
9 Replies

6. Shell Programming and Scripting

Sending email from Unix

I am using the following syntax to send an e-mail from Unix (Sun OS). mail -s "hello" abc@yahoo.com But, when I click enter after typing this command, its not exiting and after a while when I give ctrl+c it creates a dead.letter file in my $HOME dir. Can anyone please tell me, if I have to... (7 Replies)
Discussion started by: rajesh8s
7 Replies

7. UNIX for Dummies Questions & Answers

Help with reading link output

Hello folks; I have a script uses wget to query a link to get the temperature from sensor then email the results to me. Here's the script: "wget -q http://server/temp -O - | mail -s "Temp Update" moe@ocd.com" normally the output from using wget looks like this: Lab_1|69.8 | ... (8 Replies)
Discussion started by: Katkota
8 Replies

8. UNIX for Advanced & Expert Users

email file as attachment...

Hello all, i am on hp-ux 11.23...i am trying to send an email as an attachement but it dose not seem to work...after reading on google i found that we can use uuencode to send file at attachement...here is my file and the syntax $ cat test.txt NAME --------- TEST $ uuencode... (7 Replies)
Discussion started by: abdul.irfan2
7 Replies

9. UNIX for Dummies Questions & Answers

Possible to send an email to a Linux Server?

Hello All, I was curious if its possible to send an email (in reverse) to a linux server from an email client (like Lotus Notes, Outlook, etc...)? I know it's possible to send an email FROM a Linux Server TO a email address, but I tried to just 'reply' to the Linux Servers address that sent... (8 Replies)
Discussion started by: mrm5102
8 Replies

10. Shell Programming and Scripting

Changes of text in a file

Please advise i need to change a text in a file, what should i do.... original text 18011324 ; serial number YYMMDDNN m.abcd.com. 600 IN A 10.10.128.154 text need to replaced 18011325 ; serial number YYMMDDNN m.abcd.com. 600 ... (10 Replies)
Discussion started by: learnbash
10 Replies

11. Shell Programming and Scripting

Leanest way to send an email from bash

Is there a quick and dirty utility to send emails (does not need to be part of a package to receive and view email, in fact, I'd prefer if it wasn't). Ideally I would like to be able to send attachments as well. Mike ---------- Post updated at 04:29 PM ---------- Previous update was at... (9 Replies)
Discussion started by: Michael Stora
9 Replies

12. Shell Programming and Scripting

False alerts

Hi I have written a script to send email alerts when load of my linux server reaches max point I keep getting false emails thought the load is normal , looks like same email is generated again and again - called from cron tab checked if the tempfile is present , no it is not , cleaned... (22 Replies)
Discussion started by: anil529
22 Replies

13. Shell Programming and Scripting

How to send mail at specific calculated time interval?

Hi All, I want to send an email if the time difference from previous mail sent is more than or equal to 30 mins. I have written below code and it's working fine. In this script I am storing previous mail sent time in txt file. Instead of storing in txt file how to store in a variable.... (8 Replies)
Discussion started by: nalu
8 Replies