TechTalkz.com Technology & Computer Troubleshooting Forums

TechTalkz.com Technology & Computer Troubleshooting Forums (http://www.techtalkz.com/)
-   Linux & Opensource (http://www.techtalkz.com/linux-opensource/)
-   -   Archiving mail passing through (http://www.techtalkz.com/linux-opensource/257491-archiving-mail-passing-through.html)

Damian Walker 01-12-2007 08:05 PM

Archiving mail passing through
 
Hello there,

I'd like to know if it's possible to archive mail passing through my
Linux mail server from a specific range of addresses.

The situation is: I write work-related mail on a Psion PDA, which I then
send through my Linux server on to the wider world. The Psion has a
sent-mail folder, but has limited memory and no easy way to archive sent
mail. So currently I BCC every message to a particular address on my
Linux machine, and let procmail handle the archiving. Apart from when I
forget, or mistype the archiving email address.

Is there any way sendmail or some other tool can handle this
automatically? I can persevere with manually BCCing my mail but a more
automated solution would be better. The Linux box in question is
running RedHat 7.2 and sendmail 8.11.6.

--
Damian - http://damian.snigfarp.karoo.net/
Put "sausage" in the subject of email replies to avoid my spam trap.

Tony Houghton 01-12-2007 08:06 PM

Re: Archiving mail passing through
 
In Pine.LNX.4.64.0711250734220.15573@ne... arp.karoo.net
Damian Walker <damian@snigfarp.karoo.co.uk> wrote:

> I'd like to know if it's possible to archive mail passing through my
> Linux mail server from a specific range of addresses.
>
> The situation is: I write work-related mail on a Psion PDA, which I
> then send through my Linux server on to the wider world. The Psion
> has a sent-mail folder, but has limited memory and no easy way to
> archive sent mail. So currently I BCC every message to a particular
> address on my Linux machine, and let procmail handle the archiving.
> Apart from when I forget, or mistype the archiving email address.
>
> Is there any way sendmail or some other tool can handle this
> automatically? I can persevere with manually BCCing my mail but a
> more automated solution would be better. The Linux box in question
> is running RedHat 7.2 and sendmail 8.11.6.


Isn't that a bit ancient? ISTR briefly using Red Hat 9 several years
ago.

Anyway, does the Psion support IMAP? You could run a Linux IMAP server
and get the Psion to use that for its Sent folder. You might find my own
mailmng script (see URL in sig) handy for managing the folder although I
wouldn't be surprised if it uses python features too new for the version
of Linux you're using.

--
TH * http://www.realh.co.uk


Tony Houghton 01-12-2007 08:09 PM

Re: Archiving mail passing through
 
In Pine.LNX.4.64.0711250734220.15573@ne... arp.karoo.net
Damian Walker <damian@snigfarp.karoo.co.uk> wrote:

> I'd like to know if it's possible to archive mail passing through my
> Linux mail server from a specific range of addresses.
>
> The situation is: I write work-related mail on a Psion PDA, which I
> then send through my Linux server on to the wider world. The Psion
> has a sent-mail folder, but has limited memory and no easy way to
> archive sent mail. So currently I BCC every message to a particular
> address on my Linux machine, and let procmail handle the archiving.
> Apart from when I forget, or mistype the archiving email address.
>
> Is there any way sendmail or some other tool can handle this
> automatically? I can persevere with manually BCCing my mail but a
> more automated solution would be better. The Linux box in question
> is running RedHat 7.2 and sendmail 8.11.6.


Isn't that a bit ancient? ISTR briefly using Red Hat 9 several years
ago.

Anyway, does the Psion support IMAP? You could run a Linux IMAP server
and get the Psion to use that for its Sent folder. You might find my own
mailmng script (see URL in sig) handy for managing the folder although I
wouldn't be surprised if it uses python features too new for the version
of Linux you're using.

--
TH * http://www.realh.co.uk


Damian Walker 03-12-2007 08:29 AM

Re: Archiving mail passing through
 
Quoting Tony Houghton's message of Friday:

[RedHat 7.2]
> Isn't that a bit ancient? ISTR briefly using Red Hat 9 several years
> ago.


Yes. I'd like to update it, but I'll have to clear at least a couple of
consecutive days from my schedule to upgrade it as (a) that's the level
I'm at and (b) it's my main server, so while it's down, I do no
"proper" work. So far those days haven't arrived but I'm hoping the
Christmas break might provide them.

> Anyway, does the Psion support IMAP? You could run a Linux IMAP server
> and get the Psion to use that for its Sent folder. You might find my own
> mailmng script (see URL in sig) handy for managing the folder although I
> wouldn't be surprised if it uses python features too new for the version
> of Linux you're using.


It does, actually, if I install an upgrade. I'll have to look into IMAP
as I'm almost entirely ignorant about it. As long as the Psion can
still work autonomously (i.e. I can still read and write mail when not
connected) it sounds the most sensible solution.

--
Damian - http://damian.snigfarp.karoo.net/
Put "sausage" in the subject of email replies to avoid my spam trap.

Damian Walker 03-12-2007 08:29 AM

Re: Archiving mail passing through
 
Quoting Martin Gregorie's message of Friday:

> I don't know about sendmail (I retired frustrated after trying to learn it
> from the O'Reilly book - easily the worst one they sell) and installed
> Postfix instead. I found it easy to install and configure. Generally speaking
> it "just works".


Yes, I'll be exploring other software if sendmail (or my level of
sendmail expertise) isn't up to the job, but if I go down that route, I
ought to think about waiting till I've upgraded the server first.

> The reason I installed it was to automatically archive all incoming and
> outgoing mail. That was easy: just add an "always_bcc foo" directive to
> main.cf and a copy of every inbound and outbound message is sent to foo where
> I use procmail to organize it into mbox files.


This might well work for me. I'd thought about the MTA doing the
filtering, but that isn't really appropriate if it can just copy
everything that comes into the server to an account that has procmail
working.

Thanks to you and Tony for your help.

--
Damian - http://damian.snigfarp.karoo.net/
Put "sausage" in the subject of email replies to avoid my spam trap.

Damian Walker 03-12-2007 08:58 AM

Re: Archiving mail passing through
 
Quoting Tony Houghton's message of Friday:

[RedHat 7.2]
> Isn't that a bit ancient? ISTR briefly using Red Hat 9 several years
> ago.


Yes. I'd like to update it, but I'll have to clear at least a couple of
consecutive days from my schedule to upgrade it as (a) that's the level
I'm at and (b) it's my main server, so while it's down, I do no
"proper" work. So far those days haven't arrived but I'm hoping the
Christmas break might provide them.

> Anyway, does the Psion support IMAP? You could run a Linux IMAP server
> and get the Psion to use that for its Sent folder. You might find my own
> mailmng script (see URL in sig) handy for managing the folder although I
> wouldn't be surprised if it uses python features too new for the version
> of Linux you're using.


It does, actually, if I install an upgrade. I'll have to look into IMAP
as I'm almost entirely ignorant about it. As long as the Psion can
still work autonomously (i.e. I can still read and write mail when not
connected) it sounds the most sensible solution.

--
Damian - http://damian.snigfarp.karoo.net/
Put "sausage" in the subject of email replies to avoid my spam trap.

Damian Walker 03-12-2007 08:58 AM

Re: Archiving mail passing through
 
Quoting Martin Gregorie's message of Friday:

> I don't know about sendmail (I retired frustrated after trying to learn it
> from the O'Reilly book - easily the worst one they sell) and installed
> Postfix instead. I found it easy to install and configure. Generally speaking
> it "just works".


Yes, I'll be exploring other software if sendmail (or my level of
sendmail expertise) isn't up to the job, but if I go down that route, I
ought to think about waiting till I've upgraded the server first.

> The reason I installed it was to automatically archive all incoming and
> outgoing mail. That was easy: just add an "always_bcc foo" directive to
> main.cf and a copy of every inbound and outbound message is sent to foo where
> I use procmail to organize it into mbox files.


This might well work for me. I'd thought about the MTA doing the
filtering, but that isn't really appropriate if it can just copy
everything that comes into the server to an account that has procmail
working.

Thanks to you and Tony for your help.

--
Damian - http://damian.snigfarp.karoo.net/
Put "sausage" in the subject of email replies to avoid my spam trap.

Damian Walker 03-12-2007 09:07 AM

Re: Archiving mail passing through
 
Quoting Tony Houghton's message of Friday:

[RedHat 7.2]
> Isn't that a bit ancient? ISTR briefly using Red Hat 9 several years
> ago.


Yes. I'd like to update it, but I'll have to clear at least a couple of
consecutive days from my schedule to upgrade it as (a) that's the level
I'm at and (b) it's my main server, so while it's down, I do no
"proper" work. So far those days haven't arrived but I'm hoping the
Christmas break might provide them.

> Anyway, does the Psion support IMAP? You could run a Linux IMAP server
> and get the Psion to use that for its Sent folder. You might find my own
> mailmng script (see URL in sig) handy for managing the folder although I
> wouldn't be surprised if it uses python features too new for the version
> of Linux you're using.


It does, actually, if I install an upgrade. I'll have to look into IMAP
as I'm almost entirely ignorant about it. As long as the Psion can
still work autonomously (i.e. I can still read and write mail when not
connected) it sounds the most sensible solution.

--
Damian - http://damian.snigfarp.karoo.net/
Put "sausage" in the subject of email replies to avoid my spam trap.

Damian Walker 03-12-2007 09:07 AM

Re: Archiving mail passing through
 
Quoting Martin Gregorie's message of Friday:

> I don't know about sendmail (I retired frustrated after trying to learn it
> from the O'Reilly book - easily the worst one they sell) and installed
> Postfix instead. I found it easy to install and configure. Generally speaking
> it "just works".


Yes, I'll be exploring other software if sendmail (or my level of
sendmail expertise) isn't up to the job, but if I go down that route, I
ought to think about waiting till I've upgraded the server first.

> The reason I installed it was to automatically archive all incoming and
> outgoing mail. That was easy: just add an "always_bcc foo" directive to
> main.cf and a copy of every inbound and outbound message is sent to foo where
> I use procmail to organize it into mbox files.


This might well work for me. I'd thought about the MTA doing the
filtering, but that isn't really appropriate if it can just copy
everything that comes into the server to an account that has procmail
working.

Thanks to you and Tony for your help.

--
Damian - http://damian.snigfarp.karoo.net/
Put "sausage" in the subject of email replies to avoid my spam trap.

Damian Walker 03-12-2007 09:21 AM

Re: Archiving mail passing through
 
Quoting Tony Houghton's message of Friday:

[RedHat 7.2]
> Isn't that a bit ancient? ISTR briefly using Red Hat 9 several years
> ago.


Yes. I'd like to update it, but I'll have to clear at least a couple of
consecutive days from my schedule to upgrade it as (a) that's the level
I'm at and (b) it's my main server, so while it's down, I do no
"proper" work. So far those days haven't arrived but I'm hoping the
Christmas break might provide them.

> Anyway, does the Psion support IMAP? You could run a Linux IMAP server
> and get the Psion to use that for its Sent folder. You might find my own
> mailmng script (see URL in sig) handy for managing the folder although I
> wouldn't be surprised if it uses python features too new for the version
> of Linux you're using.


It does, actually, if I install an upgrade. I'll have to look into IMAP
as I'm almost entirely ignorant about it. As long as the Psion can
still work autonomously (i.e. I can still read and write mail when not
connected) it sounds the most sensible solution.

--
Damian - http://damian.snigfarp.karoo.net/
Put "sausage" in the subject of email replies to avoid my spam trap.


All times are GMT. The time now is 02:50 AM.

vBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO