To see where the files go make a file .mailfilter in the users home dir with the 
following 
content:

logfile "mailfilter-log.txt"

log "========"

After fetching mail it will tell you where exactly it wrote the mailbox. If its the 
wrong 
folder add the following line to the .mailfiler

to "$HOME/Maildir"

with Maildir the exact name of your maildir folder

I use a similar setup with fetchmail but I use the following syntax

poll pop3adress protocol pop3 user "username" there with
password "pass" mda "USER=homeuser SENDER=%F RECIPIENT=%T 
/usr/bin/maildrop -V 1 -f '%F' -d homeuser"

It might help

On 4 Jun 2002 at 12:11, Samuel Penn wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Oops... this should have gone to the list, not just Juha...
> 
> 
> On Monday 03 June 2002 21:13, Juha Saarinen wrote:
> > On Mon, 3 Jun 2002, Samuel Penn wrote:
> > >  - From what I can gather, a sensible way of doing this is to
> > >  use fetchmail to get my email from various POP3 servers,
> > >  then filter the email through maildrop so that mailing lists
> > >  etc go into the correct IMAP folders.
> >
> > Why not just set up forwarding of mail on the other POP3 servers, to your
> > server?
> 
> I don't own the POP3 servers, the only way I can retrieve mail
> from them is via POP3, hence the use of fetchmail.
> 
> I could set up fetchmail to forward the email to the local SMTP
> port after it has been downloaded, but Courier smptd gives an
> error when I try this. e.g.:
> 
> sam@wotan:~> fetchmail
> 1 message for samuel.penn at mail1-gui.server.ntli.net (2191 octets).
> reading message 1 of 1 (2191 octets) ..fetchmail: SMTP error: 513 Syntax
> error.
> fetchmail: can't even send to sam!
> 
> 
> If I tell fetchmail to use the maildrop mda, then I get no error,
> but the email vanishes into (as far as I can tell) nowhere. Maildrop
> is run (I can tell from the debug), but the email is lost.
> 
> When using maildrop, fetchmail is set up as follows:
> 
> poll pop.cable.ntl.com proto pop3:
>         user samuel.penn with pass password
>         and wants mda '/opt/courier/bin/maildrop -v 5 -d sam'
> 
> Since the email is coming from a specific account, I always want
> it to go to mailbox of user sam (then get filtered into subfolders
> within that mailbox).
> 
> I'm not sure whether it needs to be running in embedded mode here.
> 
> - -- 
> Be seeing you,
> Sam.
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE8/KBQsRrcOEdQJ70RAtcQAKCJMMhBHupzOMIqMTOV38aHcf3aVACgvzD3
> BVr1C6vQNmQDwPTwAZYX/g4=
> =+dqR
> -----END PGP SIGNATURE-----
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to