Hi fellow Susers, another itty bitty question from me. I'm running a postfix mailserver with procmail...all ticking nicely thank you :) However I'm a bit confused about procmail...I'd like the other linux machines to be able to recieve email into their local spools, i.e not the spool on the mailserver...is this a config issue for fetchmail or procmail on the local machine or a config issue on the server..and yes I know fetchmail does pop fetching... Is there a way to fetch mail - copies - on an imap server that dumps a copy on the local machine, and what program might do that? I realize maybe I'm being unclear but I'd be happy to answer questions if anyone has any. Anyway, hoping for a guiding hand. Thomas
On Mon, 2002-08-26 at 15:11, Thomas Nyman wrote:
Hi fellow Susers,
another itty bitty question from me. I'm running a postfix mailserver with procmail...all ticking nicely thank you :)
However I'm a bit confused about procmail...I'd like the other linux machines to be able to recieve email into their local spools, i.e not the spool on the mailserver...is this a config issue for fetchmail or procmail on the local machine or a config issue on the server..and yes I know fetchmail does pop fetching...
Is there a way to fetch mail - copies - on an imap server that dumps a copy on the local machine, and what program might do that?
I realize maybe I'm being unclear but I'd be happy to answer questions if anyone has any.
Anyway, hoping for a guiding hand.
Maybe you can explain why you want e-mail to be delivered to the other machines? As you said, you can either POP them from your mail server and that gets each user a local copy of their e-mail. Or, you can use IMAP to read the mail and leave the mail and mail folders all on the server. Procmail is really designed for mail filtering, though it can be twisted into doing many other things if need be. Best Regards, Keith -- LPIC-2, MCSE, N+ Right behind you, I see the millions Got spam? Get spastic http://spastic.sourceforge.net
Thomas Nyman wrote:
Is there a way to fetch mail - copies - on an imap server that dumps a copy on the local machine, and what program might do that?
You could fetchmail from a pop server with the -k (keep) option to not delete the original from the server, though to be honest I don't understand what you are wanting to do either. -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace God, I am what I am.
Hi, I guess I was a bit unclear...I use imap which works fine, however this has the drawback that if my laptop is not connected to the LAN I cannot read the mails on the server. I would like to be able to automatically download copies locally..ok, I guess I can always "save" each individual email in a local folder as well as in a imap-folder..but given a choice I would like to be able to automatically transfer mail from my imap-folders to a local folder without it affecting my imap-services...maybe it cant be done without "popping", I don't really know. But it would be neat if it could be done...I was thinking that procmail might be able to filter email to two differents spools, one being on the imap-server and the other being a spool on the newtork, i.e a local spool on my laptop. Anyway, thanks for the input. Thomas On Tue, 27 Aug 2002, Joe & Sesil Morris (NTM) wrote:
Thomas Nyman wrote:
Is there a way to fetch mail - copies - on an imap server that dumps a copy on the local machine, and what program might do that?
You could fetchmail from a pop server with the -k (keep) option to not delete the original from the server, though to be honest I don't understand what you are wanting to do either.
-- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace God, I am what I am.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Thomas Nyman wrote:
I guess I was a bit unclear...I use imap which works fine, however this has the drawback that if my laptop is not connected to the LAN I cannot read the mails on the server. I would like to be able to automatically download copies locally.
That is not easy to do and prone to error. Your mail server is 'permanent', its processing, rules, etc. are 'permanent', but your laptop is 'temporary'. It would have to automatically know you were connected, know to chage processing rules from when you were not connected, etc. What email client are you using?
.ok, I guess I can always "save" each individual email in a local folder as well as in a imap-folder..but given a choice I would like to be able to automatically transfer mail from my imap-folders to a local folder without it affecting my imap-services...maybe it cant be done without "popping", I don't really know. But it would be neat if it could be done...I was thinking that procmail might be able to filter email to two differents spools, one being on the imap-server and the other being a spool on the newtork, i.e a local spool on my laptop.
But that way seems impossible since there are two spools 'sometimes', sometimes not. -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace God, I am what I am.
Thomas Nyman wrote:
I guess I was a bit unclear...I use imap which works fine, however this has the drawback that if my laptop is not connected to the LAN I cannot read the mails on the server. I would like to be able to automatically download copies locally.
That is not easy to do and prone to error. Your mail server is 'permanent', its processing, rules, etc. are 'permanent', but your laptop is 'temporary'. It would have to automatically know you were connected, know to chage processing rules from when you were not connected, etc. What email client are you using?
.ok, I guess I can always "save" each individual email in a local folder as well as in a imap-folder..but given a choice I would like to be able to automatically transfer mail from my imap-folders to a local folder without it affecting my imap-services...maybe it cant be done without "popping", I don't really know. But it would be neat if it could be done...I was thinking that procmail might be able to filter email to two differents spools, one being on the imap-server and the other being a spool on the newtork, i.e a local spool on my laptop.
But that way seems impossible since there are two spools 'sometimes', sometimes not. -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace God, I am what I am.
On Tue, 2002-08-27 at 05:17, Thomas Nyman wrote:
Hi,
I guess I was a bit unclear...I use imap which works fine, however this has the drawback that if my laptop is not connected to the LAN I cannot read the mails on the server. I would like to be able to automatically download copies locally..ok, I guess I can always "save" each individual email in a local folder as well as in a imap-folder..but given a choice I would like to be able to automatically transfer mail from my imap-folders to a local folder without it affecting my imap-services...maybe it cant be done without "popping", I don't really know. But it would be neat if it could be done...I was thinking that procmail might be able to filter email to two differents spools, one being on the imap-server and the other being a spool on the newtork, i.e a local spool on my laptop.
Anyway, thanks for the input.
If you want your messages on your laptop, why not just POP them and manage them locally? If you really want a copy locally AND a copy on your IMAP server, you can still download them but leave them on the server. I think this will eventually confuse you if you do any kind of sorting in your mail folders unless you do the same thing in both places. You could use procmail to forward a copy of eash message to a different user on your server and POP those copies, OR, you could use procmail to forward each received message to your laptop if your laptop was running an SMTP server (like postfix). There are several options, but it seems you may end up with something that is more trouble than it is worth. Best Regards, Keith -- LPIC-2, MCSE, N+ Right behind you, I see the millions Got spam? Get spastic http://spastic.sourceforge.net
participants (3)
-
Joe & Sesil Morris (NTM)
-
Keith Winston
-
Thomas Nyman