Mutt / IMAP question

2004-03-22 Thread Trey Sizemore
I've got a question...is it possible to retrieve mail from an IMAP
server (fetchmail or like) pass to procmail for filtering, then to mutt
(leaving messages on the server)?  The trick here being if I delete in
mutt I want to be able to have it deleted off the server.  I like what
procmail can do, but it seems that I have to use POP3 (and thus download
my messages locally off the server) instead of IMAP (where I can
retreive from anywhere) to do this.

Am I wishfully thinking here?
 
-- 
Cheers,
Trey
---

Adversity is the trial of principle.
Without it, a man hardly knows whether he is honest or not.
-- Henry Fielding 

19:14:17 up 2 days, 20:42, 1 user, load average: 0.07, 0.07, 0.04 



signature.asc
Description: This is a digitally signed message part


Re: Mutt / IMAP question

2004-03-22 Thread Louis LeBlanc
Why don't you just have mutt read mail from the imap server?

That's what I do.

Check the docs on the following configs:
set folder
set spoolfile
set imap_user
set imap_pass
set imap_home_namespace
set realname

My folder and spoolfile configs are set like this:
imaps://[EMAIL PROTECTED]/INBOX

For nonsecure IMAP, that would be
imap://[EMAIL PROTECTED]/INBOX

Lou
On 03/22/04 07:15 PM, Trey Sizemore sat at the `puter and typed:
 I've got a question...is it possible to retrieve mail from an IMAP
 server (fetchmail or like) pass to procmail for filtering, then to mutt
 (leaving messages on the server)?  The trick here being if I delete in
 mutt I want to be able to have it deleted off the server.  I like what
 procmail can do, but it seems that I have to use POP3 (and thus download
 my messages locally off the server) instead of IMAP (where I can
 retreive from anywhere) to do this.
 
 Am I wishfully thinking here?
  
 -- 
 Cheers,
 Trey
 ---
 
 Adversity is the trial of principle.
 Without it, a man hardly knows whether he is honest or not.
 -- Henry Fielding 
 
 19:14:17 up 2 days, 20:42, 1 user, load average: 0.07, 0.07, 0.04 
 



-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

The amount of weight an evangelist carries with the almighty is measured
in billigrahams.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


imap question

2004-02-23 Thread stan
I'm trying to help a firend of mine get an imap server running on one of
his FreeBSD 4.9 STABLE machines.

We have built the UW imapd port, and installed it. However we seem to be
habing a bit of a problem making it work. 

Tha man page, and the docs (which I only found in the ports work directory
for some reason, don't they get installed somewhere?) All seem to agree,
that it shoud juts work However in our case it does not :-(

Cruently we are gettin error messages like this in /var/log/mailog:

maillog.0:Feb 22 19:40:26 ops2 imapd[59881]: Unable to load certificate
from /usr/local/certs/imapd.pem, host=router.XXX.net [192.168.2.1]

As you can see, this box is located on a DMZ, behin an OpenBSD firweall
(running pf). WE have that box redirecting port 993 to teh FreeBSD box
running imap.

What am I missing here?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: imap question

2004-02-23 Thread Louis LeBlanc
On 02/23/04 07:38 PM, stan sat at the `puter and typed:
 I'm trying to help a firend of mine get an imap server running on one of
 his FreeBSD 4.9 STABLE machines.
 
 We have built the UW imapd port, and installed it. However we seem to be
 habing a bit of a problem making it work. 
 
 Tha man page, and the docs (which I only found in the ports work directory
 for some reason, don't they get installed somewhere?) All seem to agree,
 that it shoud juts work However in our case it does not :-(
 
 Cruently we are gettin error messages like this in /var/log/mailog:
 
 maillog.0:Feb 22 19:40:26 ops2 imapd[59881]: Unable to load certificate
 from /usr/local/certs/imapd.pem, host=router.XXX.net [192.168.2.1]
 
 As you can see, this box is located on a DMZ, behin an OpenBSD firweall
 (running pf). WE have that box redirecting port 993 to teh FreeBSD box
 running imap.
 
 What am I missing here?

You can't really accept secure connections without an SSL certificate.
Check the docs to find the details, but you probably want the OpenSSL
docs as well to tell you how to create an SSL key and PEM cert.  The
path provided in the error message tells you where the cert is
expected to be.  Chances are that if you check the imapd.conf you'll
also see where the key should be placed.

Unless you have it configured to block or simply not accept regular
IMAP connections, you might be able to connect on port 143, if you
just redirect that port.  Only problem is your connection won't be
secure.

HTH

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Chism's Law of Completion:
  The amount of time required to complete a government project is
  precisely equal to the length of time already spent on it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: imap question

2004-02-23 Thread stan
On Mon, Feb 23, 2004 at 08:02:22PM -0500, Louis LeBlanc wrote:
 On 02/23/04 07:38 PM, stan sat at the `puter and typed:
  I'm trying to help a firend of mine get an imap server running on one of
  his FreeBSD 4.9 STABLE machines.
  
  We have built the UW imapd port, and installed it. However we seem to be
  habing a bit of a problem making it work. 
  
  Tha man page, and the docs (which I only found in the ports work directory
  for some reason, don't they get installed somewhere?) All seem to agree,
  that it shoud juts work However in our case it does not :-(
  
  Cruently we are gettin error messages like this in /var/log/mailog:
  
  maillog.0:Feb 22 19:40:26 ops2 imapd[59881]: Unable to load certificate
  from /usr/local/certs/imapd.pem, host=router.XXX.net [192.168.2.1]
  
  As you can see, this box is located on a DMZ, behin an OpenBSD firweall
  (running pf). WE have that box redirecting port 993 to teh FreeBSD box
  running imap.
  
  What am I missing here?
 
 You can't really accept secure connections without an SSL certificate.
 Check the docs to find the details, but you probably want the OpenSSL
 docs as well to tell you how to create an SSL key and PEM cert.  The
 path provided in the error message tells you where the cert is
 expected to be.  Chances are that if you check the imapd.conf you'll
 also see where the key should be placed.

Sorry I wasn't clear here.

The _is_ a certificate there. Created (I assume by the port build process).
However it seesm that since the packes are being redirected _from_ th
router (OpenBSD) box, imapd wan'ts the certificate to be _for_ the router
box.

Any ideas how to fix this?

 
 Unless you have it configured to block or simply not accept regular
 IMAP connections, you might be able to connect on port 143, if you
 just redirect that port.  Only problem is your connection won't be
 secure.

And the passwords will be passed in the clear, right?

Might as well use POP, correct?

Thanks for the help.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: imap question

2004-02-23 Thread Louis LeBlanc
On 02/23/04 08:29 PM, stan sat at the `puter and typed:
 On Mon, Feb 23, 2004 at 08:02:22PM -0500, Louis LeBlanc wrote:
  On 02/23/04 07:38 PM, stan sat at the `puter and typed:
   I'm trying to help a firend of mine get an imap server running on one of
   his FreeBSD 4.9 STABLE machines.
   
   We have built the UW imapd port, and installed it. However we seem to be
   habing a bit of a problem making it work. 
   
   Tha man page, and the docs (which I only found in the ports work directory
   for some reason, don't they get installed somewhere?) All seem to agree,
   that it shoud juts work However in our case it does not :-(
   
   Cruently we are gettin error messages like this in /var/log/mailog:
   
   maillog.0:Feb 22 19:40:26 ops2 imapd[59881]: Unable to load certificate
   from /usr/local/certs/imapd.pem, host=router.XXX.net [192.168.2.1]
   
   As you can see, this box is located on a DMZ, behin an OpenBSD firweall
   (running pf). WE have that box redirecting port 993 to teh FreeBSD box
   running imap.
   
   What am I missing here?
  
  You can't really accept secure connections without an SSL certificate.
  Check the docs to find the details, but you probably want the OpenSSL
  docs as well to tell you how to create an SSL key and PEM cert.  The
  path provided in the error message tells you where the cert is
  expected to be.  Chances are that if you check the imapd.conf you'll
  also see where the key should be placed.
 
 Sorry I wasn't clear here.
 
 The _is_ a certificate there. Created (I assume by the port build process).
 However it seesm that since the packes are being redirected _from_ th
 router (OpenBSD) box, imapd wan'ts the certificate to be _for_ the router
 box.
 
 Any ideas how to fix this?

Ah.  Well, if imapd wants the cert to be for the router, remake it for
the router.  Check the OpenSSL docs.  It's not as complicated as it
will seem at first.  Cyrus doesn't really care what the cert is for,
but I guess if UW does, you might want to check the configs to make
sure the hostname doesn't need reconfiguring.

  Unless you have it configured to block or simply not accept regular
  IMAP connections, you might be able to connect on port 143, if you
  just redirect that port.  Only problem is your connection won't be
  secure.
 
 And the passwords will be passed in the clear, right?

Yup.

 Might as well use POP, correct?

Yes and no.  POP is fine if you only ever check mail from one system.
Otherwise, imap is more appropriate.  Security is a separate issue
altogether when you look at it this way.

Good luck.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Rudin's Second Law:
  In a crisis that forces a choice to be made among alternative courses
  of action, people tend to choose the worst possible course.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: imap question

2004-02-23 Thread stan
On Mon, Feb 23, 2004 at 09:28:09PM -0500, Louis LeBlanc wrote:
 On 02/23/04 08:29 PM, stan sat at the `puter and typed:
  On Mon, Feb 23, 2004 at 08:02:22PM -0500, Louis LeBlanc wrote:
   On 02/23/04 07:38 PM, stan sat at the `puter and typed:
I'm trying to help a firend of mine get an imap server running on one of
his FreeBSD 4.9 STABLE machines.

We have built the UW imapd port, and installed it. However we seem to be
habing a bit of a problem making it work. 

Tha man page, and the docs (which I only found in the ports work directory
 
 Yes and no.  POP is fine if you only ever check mail from one system.
 Otherwise, imap is more appropriate.  Security is a separate issue
 altogether when you look at it this way.
 
 Good luck.
 
Thanks for the help.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: imap question

2004-02-23 Thread Lucas Holt
Passwords would be sent in clear text if you compiled WITHOUT_SSL and 
connected to port 143.

make cert is used on that port to create the certificate file 
imap(d).pem and an symbolic link for pop3d.

 I suspect that there is something wrong with the certificate or the 
permissions are wrong.  It could also be an issue with the client mail 
app you are using.  For example, Apple' s mail.app in OSX does not 
handle self signed certificates well.

imapd doesn't want the cert from the openbsd router, its just reporting 
the client is coming from it since its your router.  The cert comes 
from the freebsd file system.

I suppose its possible that openssl thinks a man in the middle attack 
is happening since the request is coming for your router presuming its 
that smart.  if its just forwarding the packets, i don't see how 
though.

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'I try to think but nothing happens'
-- Homer Jay Simpson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: imap question

2004-02-23 Thread Shaun T. Erickson
Louis LeBlanc wrote:

Might as well use POP, correct?


Yes and no.  POP is fine if you only ever check mail from one system.
Otherwise, imap is more appropriate.  Security is a separate issue
altogether when you look at it this way.
Well, you also have to take into consideration where you want your email 
stored. If you want it on the server, use IMAP, if you want it on your 
local system (where it's more likely to get blown away), use POP.

	-ste

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wu-imap question

2002-10-28 Thread Vivek Khera
 BM == Brian McCann [EMAIL PROTECTED] writes:

BM Hi all.  I'm using wu-imapd and I have a small, but annoying, problem.
BM When I try to add a mailbox in Outlook Express, it of course downloads a
BM list of folders...however, it returns 65k+ folders...most are files in
BM the system.  How do I prevent it from searching everywhere, or tell it
BM specifically where to look for mail folders?  Any ideas?

In your home directory, create a file called .mailboxlist and in it
have your mailbox files one per line:

% cat ~vivek/.mailboxlist
nsmail/Mutual Funds
Trash
Sent
nsmail/Sent
INBOX
Deleted Messages
nsmail/Deleted Messages
%

For example.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



wu-imap question

2002-10-27 Thread Brian McCann
Hi all.  I'm using wu-imapd and I have a small, but annoying, problem.
When I try to add a mailbox in Outlook Express, it of course downloads a
list of folders...however, it returns 65k+ folders...most are files in
the system.  How do I prevent it from searching everywhere, or tell it
specifically where to look for mail folders?  Any ideas?

Thanks,
--Brian


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message