Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Supporting multiple email clients from single POP3 mailbox

1 view
Skip to first unread message

Tim Day

unread,
Nov 22, 2002, 5:11:08 AM11/22/02
to
We now have 2 machines: an very old Windows95 box running Turnpike
(v4.01) and a new RH8.0 Linux box where I'd like to use Evolution or
KMail or similar, but with mail for certain users still going to the
Windows95 machine. (Both machines are sitting on a LAN behind a NAT-
translating ADSL router.)

However, when a pop3 client connects to our "bottlenose" mailbox on
pop3.demon.co.uk, it just downloads everything. If Turnpike gets there
first, then mail for me ends up on the W95 machine. If Evolution gets
there first, then my wife's email ends up in my inbox on the Linux
machine. So far as I can tell there's no way of specifying extra
filtering during POP3 collection (or am I wrong about that ?)

I'd like to set things up so just the Linux box downloads POP mail from
Demon. It would then have to sort things out by userid and put things
in a couple of local mailboxes, one accessible from the Windows machine
via POP3 (or maybe it can just be SMTP-ed straight over to the windows
machine) and one accessible by Evolution. However, of the zillions of
email related bits of software out there it's not clear at all what I
need to do this. (Or does sendmail actually already have everything I
need to do this ???)

[I guess another alternative would be to enable Turnpike's own POP3
server facilities, and have the Linux machine fetch my mail from the W95
machine. However, since the object of the exercise is to reduce my
dependency on all things Windowish I'm reluctant to go down this route.]

Thanks for any pointers and advice on this
Tim


David Killick

unread,
Nov 22, 2002, 4:40:15 PM11/22/02
to
Sendmail is a mail transport agent, and handles distribution of email to
and from your Linux box. For incoming mails, it directs them to the
correct inbox, and for outgoing mails, it passes them on to the correct
server.
After that you need a mechanism to give access to the inboxes to
clients. This is usualy done by POP3 or IMAP, or by clients on the local
machine reading your inbox directly.
Most distributions come with these tools already.
An important choice to make (if you have a dial up account) is whether
you want Demon to deliver you email by SMTP, so sendmail can receive and
processit directlym or whether you want to use an intermediary, such as
fetchmail, to pull your mail off the POP3 servers, and hand it on to
sendmail to deliver locally.
I have a cron job that runs fetchmail at regular intervals, After a
little trial and error, I was able to craft a fetchmailrc file that
picks up my mail and delivers it to the correct local accounts rather
than dumping it all in one place.
It is as follows:

set postmaster=postmaster
poll pop3.demon.co.uk proto SDPS aka mailstore no dns:
localdomains <domain>.demon.co.uk:
envelope Received
user <domain> is * fetchall
pass <password>

Huge wrote:
> In article <v8ZhLEA8...@bottlenose.demon.co.uk>, Tim Day <tim...@bottlenose.demon.co.uk> writes:
>
> [13 lines snipped]


>
>
>>I'd like to set things up so just the Linux box downloads POP mail from
>>Demon. It would then have to sort things out by userid and put things
>>in a couple of local mailboxes, one accessible from the Windows machine
>>via POP3 (or maybe it can just be SMTP-ed straight over to the windows
>>machine) and one accessible by Evolution. However, of the zillions of
>>email related bits of software out there it's not clear at all what I
>>need to do this. (Or does sendmail actually already have everything I
>>need to do this ???)
>
>

> I get all the mail delivered by SMTP to mailboxes on the mailhost (I run
> Postfix, rather than Sendmail) and then run Qpopper on the mailhost, so
> that those who wish to read their mail by POP3 can do so.
>
>

Tim Day

unread,
Nov 23, 2002, 9:05:58 AM11/23/02
to
In article <arm1j5$1l0$1...@anubis.demon.co.uk>, Huge
<hu...@nospam.huge.org.uk> writes

>I get all the mail delivered by SMTP to mailboxes on the mailhost (I run
>Postfix, rather than Sendmail) and then run Qpopper on the mailhost, so
>that those who wish to read their mail by POP3 can do so.

Unfortunately Demon don't do SMTP delivery over ADSL (not on the Solo
Express product anyway) for some reason, otherwise this would have been
the ideal solution.

Tim

Tim Day

unread,
Nov 23, 2002, 9:17:35 AM11/23/02
to
In article <ma8mra...@Beauty.larkhall.bath.uk>, David Killick
<david....@metalicom.antispam.demon.co.uk> writes

>Sendmail is a mail transport agent, and handles distribution of email to
>and from your Linux box. For incoming mails, it directs them to the
>correct inbox, and for outgoing mails, it passes them on to the correct
>server.
>After that you need a mechanism to give access to the inboxes to
>clients. This is usualy done by POP3 or IMAP, or by clients on the local
>machine reading your inbox directly.
>Most distributions come with these tools already.
>An important choice to make (if you have a dial up account) is whether
>you want Demon to deliver you email by SMTP, so sendmail can receive and
>processit directlym or whether you want to use an intermediary, such as
>fetchmail, to pull your mail off the POP3 servers, and hand it on to
>sendmail to deliver locally.
>I have a cron job that runs fetchmail at regular intervals, After a
>little trial and error, I was able to craft a fetchmailrc file that
>picks up my mail and delivers it to the correct local accounts rather
>than dumping it all in one place.
>It is as follows:
>
>set postmaster=postmaster
>poll pop3.demon.co.uk proto SDPS aka mailstore no dns:
> localdomains <domain>.demon.co.uk:
> envelope Received
> user <domain> is * fetchall
> pass <password>

Unfortunately SMTP delivery is not an option as the Demon Express Solo
product technical specification says "We do not yet support SMTP mail on
Demon Express Solo". A shame 'cos it would have been by far the easiest
solution.

Looks like fetchmail from POP3 is the way to go then; thanks for the
example config. I think the tricky part is going to be setting up
sendmail to avoid infinite mail loops as I'm pretty sure it's currently
set up to punt absolutely everything (even local stuff) off via
post.demon.co.uk.

Tim
I

all mail refused

unread,
Nov 23, 2002, 10:12:08 AM11/23/02
to
In article <CUJqBEB$3439...@bottlenose.demon.co.uk>, Tim Day wrote:

>Unfortunately SMTP delivery is not an option as the Demon Express Solo
>product technical specification says "We do not yet support SMTP mail on
>Demon Express Solo". A shame 'cos it would have been by far the easiest
>solution.

I'm {massively unimpressed by,not going to use/not going to pay for}
any ADSL scheme that requires Windoze or Javascript.

If an ISP business model has the error-handling clause "and then we starve"
that sounds great to me.

--
decoy mail addresses: obtain username via 0x4f/tcp or 0x50/tcp
random words follow - don't take too seriously!
Harminc remarked that collection need not be counted unless the
author and develop test assets and dozens of loopholes are listed
in either house.

David Killick

unread,
Nov 23, 2002, 11:57:02 AM11/23/02
to
Yeah, I have Demon Express Solo, which is how I came to create the
fetchmail config.
I use a domain name on my internal network that is different from my
Demon domain name, and it was necessary to convince Sendmail to accept
mail for my Demon domain even though it thinks its something else when
it starts up.
I found Exim easier to set up in this respect since its configuration
uses plain English rather than some strange cryptic macros.
I've dug out my sendmail config file, the following are the settings
that I changed from the defaults that come with Slackware. This may not
be the best/only way, but it worked for me:

# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain. This is necessary since at server startup it picks up its
internal name rather than the Demon name.
Djdomain.demon.co.uk

# "Smart" relay host (may be null)
# Where I send all non-local mail.
DS post.demon.co.uk

# who I send unqualified names to (null means deliver locally)
DRmail.internal.domain

# who I masquerade as (null for no masquerading) (see also $=M)
DMdomain.demon.co.uk

ro...@mauve.demon.co.uk

unread,
Nov 23, 2002, 2:20:41 PM11/23/02
to
In demon.ip.support.unix Huge <hu...@nospam.huge.org.uk> wrote:
> In article <CUJqBEB$3439...@bottlenose.demon.co.uk>, Tim Day <tim...@bottlenose.demon.co.uk> writes:
>
> [33 lines snipped]

>
>>Looks like fetchmail from POP3 is the way to go then; thanks for the
>>example config. I think the tricky part is going to be setting up
>>sendmail
>
> The easiest way is;
>
> rm /usr/lib/sendmail
>
> And then install a sensible MTA.

But sendmail.cf is easy to understand.
You just need to sign a support contract with the nice guy in red, and
gain complete understanding.

--
http://inquisitor.i.am/ | mailto:inqui...@i.am | Ian Stirling.
---------------------------+-------------------------+--------------------------
Tad Williams has an interesting new fantasy: http://www.shadowmarch.com/

ro...@mauve.demon.co.uk

unread,
Nov 23, 2002, 2:26:58 PM11/23/02
to
In demon.ip.support.unix all mail refused <el...@notatla.demon.co.uk> wrote:
> In article <CUJqBEB$3439...@bottlenose.demon.co.uk>, Tim Day wrote:
>
>>Unfortunately SMTP delivery is not an option as the Demon Express Solo
>>product technical specification says "We do not yet support SMTP mail on
>>Demon Express Solo". A shame 'cos it would have been by far the easiest
>>solution.
>
> I'm {massively unimpressed by,not going to use/not going to pay for}
> any ADSL scheme that requires Windoze or Javascript.

Demon certainly doesn't.
There are a number of MTAs capable of pulling messages off a POP3 server,
and handing them to a local sendmail.
fetchmail comes to mind.
There are both advantages, and disadvantages over SMTP.

--
http://inquisitor.i.am/ | mailto:inqui...@i.am | Ian Stirling.
---------------------------+-------------------------+--------------------------

Acting is merely the art of stopping a large number of people from coughing
- Sir Ralph Richardson

all mail refused

unread,
Nov 23, 2002, 4:05:13 PM11/23/02
to
In article <arokq0$rel$2$8300...@news.demon.co.uk>,
ro...@mauve.demon.co.uk wrote:

>In demon.ip.support.unix all mail refused <el...@notatla.demon.co.uk> wrote:

>> I'm {massively unimpressed by,not going to use/not going to pay for}
>> any ADSL scheme that requires Windoze or Javascript.

>Demon certainly doesn't.


http://www.demon.net/adsl/faq/faq-compatibility-answ2.html

Can I use a Mac or Unix machine on the service?

Yes, with Demon Express Plus, Demon Express Pro, and Demon Express
Gold you can use any machine with an Ethernet adaptor and appropriate
TCP/IP software. As part of setting up the service you will need to
access a BT web page that makes use of JavaScript. You will therefore
need an appropriate web browser for that purpose, such as Internet
Explorer 5 or later.

Why can't I use my MacOS X or Unix machine with Demon Express?

Demon Express uses PPP over ATM with a USB interface. You will need
suitable software drivers for this, and at present BT are only
supplying them for Windows or MacOC 7.6 - 9 The device appears like a
modem at the interface level, so non-Windows machines would also
require suitable dialer software. We cannot provide any such software
for platforms other than Windows. However, if you are able to obtain
suitable software and drivers you may use any computer with a USB

--
decoy mail addresses: obtain username via 0x4f/tcp or 0x50/tcp
random words follow - don't take too seriously!

Verio)?" His answer: "Too bad for you, you should not know anything
about sanity checks in UBS's trading software.

Bob Goddard

unread,
Nov 23, 2002, 6:42:54 PM11/23/02
to
Tim Day wrote:


Demon don't do SMTP over ADSL for <hostname>.demon.co.uk, but they
certainly will alter the DNS to point to your host for any other
valid domain name.

Just pay Ł7, get your own domain and have the DNS point the MX records
to your own system, or if Huge really is at huge.org.uk, then again
just point the MX records for that domain to the Demon IP address.


B

ro...@mauve.demon.co.uk

unread,
Nov 23, 2002, 7:32:06 PM11/23/02
to
In demon.tech.unix all mail refused <el...@notatla.demon.co.uk> wrote:
> In article <arokq0$rel$2$8300...@news.demon.co.uk>,
> ro...@mauve.demon.co.uk wrote:
>
>>In demon.ip.support.unix all mail refused <el...@notatla.demon.co.uk> wrote:
>
>>> I'm {massively unimpressed by,not going to use/not going to pay for}
>>> any ADSL scheme that requires Windoze or Javascript.
>
>>Demon certainly doesn't.

The ADSL stuff from BT works under linux.
You may need to download some stuff, rather than getting it on a CD or
something.
Both netscape and mozilla (and a number of other browsers) support
javascript under linux.

--
http://inquisitor.i.am/ | mailto:inqui...@i.am | Ian Stirling.
---------------------------+-------------------------+--------------------------

The fight between good and evil, an epic battle. Darth vader and Luke,
suddenly in the middle of the fight, Darth pulls Luke to him, and whispers
"I know what you'r getting for christmas!" Luke exclaims "But how ??!?"
"It's true Luke, I know what you'r getting for christmas" Luke tries to ignore
this, but wrenches himself free, yelling "How could you know this?",
Vader replies "I felt your presents" -- The Chris Evans breakfast show ca. 94

ro...@mauve.demon.co.uk

unread,
Nov 24, 2002, 9:25:37 AM11/24/02
to
In demon.tech.unix Huge <hu...@nospam.huge.org.uk> wrote:
> In article <arp6m5$r7k$3$8302...@news.demon.co.uk>, <ro...@mauve.demon.co.uk> writes:
<snip>
> Tsk.

My sig averages 4 lines.

--
http://inquisitor.i.am/ | mailto:inqui...@i.am | Ian Stirling.
---------------------------+-------------------------+--------------------------

If you've been pounding nails with your forehead for years, it may feel strange
the first time somebody hands you a hammer.
But that doesn't mean that you should strap the hammer to a headband just to
give your skull that old familiar jolt. -- Wayne Throop, during the `TCL Wars'

ro...@mauve.demon.co.uk

unread,
Nov 24, 2002, 9:55:18 AM11/24/02
to
In demon.tech.unix Huge <hu...@nospam.huge.org.uk> wrote:
> In article <arqngq$g3o$2$8300...@news.demon.co.uk>, <ro...@mauve.demon.co.uk> writes:
>>In demon.tech.unix Huge <hu...@nospam.huge.org.uk> wrote:
>>> In article <arp6m5$r7k$3$8302...@news.demon.co.uk>, <ro...@mauve.demon.co.uk> writes:
>><snip>
>>> Tsk.
>>
>>My sig averages 4 lines.

> Tsk.
>
> Still, at least the seperator is correct. :o)

Actually, recounting, I find it averages 4.14 lines, I'll have to add
another couple of one-liners.

I'm arguing that the below is my signature, it happens to have a length
that is variable.
As that is the case, the only sensible way to measure it is to take the
average.
Anyway, I've had more positive comments in the few years I've been posting,
than negative ones.

--
http://inquisitor.i.am/ | mailto:inqui...@i.am | Ian Stirling.
---------------------------+-------------------------+--------------------------

Money is a powerful aphrodisiac, but flowers work almost as well.
-- Robert A Heinlein.

ro...@mauve.demon.co.uk

unread,
Nov 24, 2002, 2:13:59 PM11/24/02
to
In demon.ip.support.unix Huge <hu...@nospam.huge.org.uk> wrote:
> In article <arqp8l$e42$1$8302...@news.demon.co.uk>, <ro...@mauve.demon.co.uk> writes:
>
> [16 lines snipped]

>
>>I'm arguing that the below is my signature, it happens to have a length
>>that is variable.
>>As that is the case, the only sensible way to measure it is to take the
>>average.
>
> Err, no. Da rools says "no longer than 4 lines". No mention of averages.

>
>>Anyway, I've had more positive comments in the few years I've been posting,
>>than negative ones.
>>
>>--
> 1 >http://inquisitor.i.am/ | mailto:inqui...@i.am | Ian Stirling.
> 2 >---------------------------+-------------------------+--------------------------
> 3 >Money is a powerful aphrodisiac, but flowers work almost as well.
> 4 > -- Robert A Heinlein.
>
> See, that ain't so hard, is it? Even if it *is* a Heinlein quote!
>
> (BTW, I'm yanking your chain. As long as it's not stupidly long, who cares?)

I know :)

Though occasionally I have made rather embarassing mistakes.
If you setup tin to save its news downloads in the current directory,
have been editing sigs beforehand, you can end up with downloaded files
in the random sigs directory.
If you don't check carefully, then embarrasing things can happen :)


--
http://inquisitor.i.am/ | mailto:inqui...@i.am | Ian Stirling.
---------------------------+-------------------------+--------------------------

If God hadn't intended us to eat animals,
He wouldn't have made them out of MEAT! - John Cleese

all mail refused

unread,
Nov 24, 2002, 2:52:53 PM11/24/02
to
In article <arp6m5$r7k$3$8302...@news.demon.co.uk>,
ro...@mauve.demon.co.uk wrote:

>>>> I'm {massively unimpressed by,not going to use/not going to pay for}
>>>> any ADSL scheme that requires Windoze or Javascript.

>Both netscape and mozilla (and a number of other browsers) support
>javascript under linux.

So what ? I thought I said I wasn't going to use Javascript.

--
decoy mail addresses: obtain username via 0x4f/tcp or 0x50/tcp
random words follow - don't take too seriously!

Especially when the main server site.

ro...@mauve.demon.co.uk

unread,
Nov 24, 2002, 3:52:35 PM11/24/02
to
In demon.tech.unix all mail refused <el...@notatla.demon.co.uk> wrote:
> In article <arp6m5$r7k$3$8302...@news.demon.co.uk>,
> ro...@mauve.demon.co.uk wrote:
>
>>>>> I'm {massively unimpressed by,not going to use/not going to pay for}
>>>>> any ADSL scheme that requires Windoze or Javascript.
>
>>Both netscape and mozilla (and a number of other browsers) support
>>javascript under linux.
>
> So what ? I thought I said I wasn't going to use Javascript.

That's not a very rational position.
If you really don't want to use javascript, you can just read the source,
and enter the correct URL that the javascript would have done.

If you run big programs (netscape/mozilla) as an unpriviliged user, there
isn't much they can do, even if they are buggy, and someones coded an
eploit specifically for linux.

--
http://inquisitor.i.am/ | mailto:inqui...@i.am | Ian Stirling.
---------------------------+-------------------------+--------------------------

If it can't be expressed in figures, it is not science, it is opinion.
-- Robert A Heinlein.

David Killick

unread,
Nov 24, 2002, 6:47:33 PM11/24/02
to
When did this BT webpage with JavaScript come about?
I don't remember using it to set up my Express Solo account, or does it
just apply to the ethernet based systems?
Also, curiously enough, I've never used windoze to connect to Demon.

all mail refused

unread,
Nov 25, 2002, 12:31:49 AM11/25/02
to
In article <arre6b$ssl$1$8302...@news.demon.co.uk>,
ro...@mauve.demon.co.uk wrote:

>> So what ? I thought I said I wasn't going to use Javascript.
>
>That's not a very rational position.
>If you really don't want to use javascript, you can just read the source,
>and enter the correct URL that the javascript would have done.

It's more a case of boycotting sites that put toys in the path of real work.

>If you run big programs (netscape/mozilla) as an unpriviliged user, there
>isn't much they can do, even if they are buggy, and someones coded an
>eploit specifically for linux.

I don't run a graphical browser either. And SubDomain should keep the bugs
in check.

0 new messages