Robin Bowes wrote:
>
> I'm trying to setup a list<-->gateway at home. I am using DNews on
> RedHat 5.2 as the news server.
Hmmm. A second problem I'm having is that I'm using fetchmail to pull
mail from my ISP and deliver it locally. eg I'm subscribed to this list
as [EMAIL PROTECTED] I use
/home/news/.qmail-list-qmail to inject messages into my local news
system:
|/usr/local/dnews/drobot -dir /var/spool/dnews/mailnews -groups
local.list.qmail
The problem is that fetchmail pulls all mail from the server OK and
injects it locally into my mail system but it seems to use the "To:"
line and immediately re-send the message back to the list!!! eg This
is what happened to my previous message:
1999-03-13 20:15:55.553345 new msg 23851
1999-03-13 20:15:55.553466 info msg 23851: bytes 3580 from
<qmail-return-28456-news-list-qmail=skittle.demon.co.uk@list.
cr.yp.to> qp 9279 uid 80
1999-03-13 20:15:55.790641 starting delivery 34: msg 23851 to remote
[EMAIL PROTECTED]
1999-03-13 20:15:55.790900 status: local 0/10 remote 1/20
1999-03-13 20:16:30.430142 delivery 34: success:
131.193.178.181_accepted_message./Remote_host_said:_250_ok_921356162_qp
_4840/
1999-03-13 20:16:30.430530 status: local 0/10 remote 0/20
1999-03-13 20:16:30.430676 end msg 23851
Here's my setup:
locals:
localhost
grafter.local
skittle.demon.co.uk
rcpthosts:
localhost
grafter.local
skittle.demon.co.uk
.fetchmailrc: (in ~alias)
defaults
forcecr
mda "/var/qmail/bin/qmail-inject"
set syslog
poll pop3.demon.co.uk proto pop3 aka mailstore no dns:
localdomains home.local skittle.demon.co.uk
user skittle with pass <password> is *
Any ideas what I need to do to get the correct recipient address to be
used (ie so the messages are delivered locally to news-list-qmail rather
than being re-sent to [EMAIL PROTECTED]) or am I being bitten by one
of the inherent problems of using fetchmail in this manner?
R.
--
Two rules to success in life:
1. Don't tell people everything you know.
-- Sassan Tat