Article View: news.software.nntp
Article #68052Re: mail2news question
From: Lolodirezo
Date: Tue, 10 Feb 2004 21:55
Date: Tue, 10 Feb 2004 21:55
52 lines
2581 bytes
2581 bytes
hello,
Thanks a lot for your very goods informations.
google: procmail lynx dump give me a marvellous article about
/etc/procmailrc.
my mail2news works when the mail sent with ximin evolution in html
mode but with mozilla mailer oo outlook express
i got an error (extract from /var/log/procmail.log):
munpack: reading from standard input
Can't send article to the server:
441 437 EMP rejected (ph/l)
(Article not posted.)
procmail: Program failure (1) of " munpack -t -C $DIR && \
lynx -dump -force_html $DIR/part1 | \
/mail2news.pl mygroup "$SUBJ" "$FROM" && \
rm -r $DIR/*"
my /etc/procmailrc:
SUBJ=`formail -c -xSubject:`
FROM=`formail -c -xFrom:`
DIR=/var/.../myemail/.procmail
:0w
* ^TOmyemail@mydomain.fr
{
:0wb
* ^Content-Type: text/html.*
| lynx -dump -foce_html -stdin | \
/mail2news.pl mygroup "$SUBJ" "$FROM"
:0w
* ^Content-Type: multipart/alternative.*
| munpack -t -C $DIR && \
lynx -dump -force_html $DIR/part2 | \
/mail2news.pl mygroup "$SUBJ" "$FROM" && \
rm -r $DIR/*
:0w
* ^Content-Type: multipart.*
| munpack -t -C $DIR && \
lynx -dump -force_html $DIR/part1 | \
/mail2news.pl mygroup "$SUBJ" "$FROM" && \
rm -r $DIR/*
}
i modified mail2news because after filters (munpack and lynx), i lost
the subject and the from (so i save the values in /etc/procmailrc to
restore then in mail2news.pl)
have you got an idea ?
Thanks again (;0)
Technical Details
Message-ID:
<92f11979.0402101355.76789454@posting.google.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mailReferences:
<92f11979.0402040345.125543fc@posting.google.com> <bvshvc.128.1@news.isolution.nl> <92f11979.0402050225.4fc95833@posting.google.com> <bvtshc.1k8.1@news.isolution.nl>Show Full Headers
Complete Article Headers
Message-ID: <92f11979.0402101355.76789454@posting.google.com> Subject: Re: mail2news question Date: Tue, 10 Feb 2004 21:55:51 +0000 From: laurent.bazin@free.fr (Lolodirezo) References: <92f11979.0402040345.125543fc@posting.google.com> <bvshvc.128.1@news.isolution.nl> <92f11979.0402050225.4fc95833@posting.google.com> <bvtshc.1k8.1@news.isolution.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com Lines: 52 NNTP-Posting-Host: 194.167.180.119 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1076450151 8032 127.0.0.1 (10 Feb 2004 21:55:51 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 10 Feb 2004 21:55:51 +0000 (UTC)