RE : Courier configuration
Hello
If you are using Debian unstable , you're using Exim4 i suppose....
Ok...
You want to fetch some mail from your isp mailbox and deliver it on your
private network...
Firstable you have to configure correctly Exim or it won't work ...
I use Exim4-daemon-heavy + fetchmail + courier-imap-ssl + procmail +
spamassassin...
You have to configure Procmail for local delivering (maildir or mbox...)
or you won't receive mail in your mailbox
Maybe you didn't configure procmail correctly i guess
Have a look here:
http://hurring.com/linux/raid1-server/mail-server/
http://talk.trekweb.com/~jasonb/articles/exim_maildir_imap.shtml
http://www.ii.com/internet/robots/procmail/qs/
For me i didn't make a lot of configuration, just answering the debconf
questions used vi not more than 2 times...
Goo luck ;-)
Hervé
P.S: my configuration for Fetchmail:
I use a global configuration= i don't use .fetchmailrc in /home/user/
I create a non-root user for fetching the mail like : fetchmail with
nogoup for the user group and /var/run/fetchmail for its home directory
Then change the owner of the file /etc/fetchmailrc to fetchmail:nogroup
Chmod 600 /etc/fetchmail
Change owner of /var/run/fetchmail to fetchmail:nogroup
Chmod 700 /var/run/fetchmail
In /etc/default/fetchmail SERVICE=true
CONFFILE=/etc/fetchmailrc
OPTIONS="--daemon 300 --syslog"
RUNASROOT=false
Then in /etc/fetchmailrc:
#begin of fetchmailrc
set postmaster "postmaster"
set nobouncemail
set no spambounce
set properties ""
poll imap.foo.xx with proto IMAP
user 'foo1' there with password 'XXXXXXX' is 'foo' here options
keep
poll pop.foo.xx with proto POP3
user 'foo2' there with password 'XXXXXXX' is 'foo' here options
keep
#end of fetchmailrc
Rem :"keep" option is important during the test phase if you don't want
loosing mail
This example is for 1 maildir ans multi account
You can put all the params for all the users of your computer
-----Message d'origine-----
De : Martin Saturka [mailto:msat6526@kolej.mff.cuni.cz]
Envoyé : samedi 25 octobre 2003 17:36
À : Shane Hickey
Cc : debian-user@lists.debian.org
Objet : Re: Courier configuration
Hello,
thank you and sorry. I try to play with courier at my desktop and I use
exim as default. Thus I cyclicly reinstall smtp packages and it takes
time.
By now, I am able to send email from my desktop through courier, but I
do receive messages neither by SMTP nor by IMAP to localhost nor IMAP to
remote site.
Error message by fetchmail to localhost:
-----------
Enter password for mehere@localhost:
fetchmail: mailbox selection failed
fetchmail: socket error while fetching from localhost
fetchmail: Query status=2 (SOCKET)
-----------
Error message by fetchmail to remote site:
-----------
Enter password for user@remote.com:
1 message for user at remote.com
reading message user@remote.com:1 of 1 ((706 header octets) fetchmail:
SMTP error: 513 Syntax error.
fetchmail: mail from FETCHMAIL-DAEMON@my.desktop.com bounced to
myfriend@somewhere.com
fetchmail: can't even send to mehere!
flushed
-----------
Below are two lines from my /var/log/mail/mail.err
-----------
Oct 22 19:03:47 localcompname courieresmtpd:
error,relay=::ffff:127.0.0.1,from=<msat6526@kolej.mff.cuni.cz>,to=<meher
e@localhost>:
513 Syntax error.
Oct 25 17:15:28 localcompname courieresmtpd:
error,relay=::ffff:127.0.0.1,from=<myfriend@somewhere.com>,to=<mehere@lo
calhost>:
513 Syntax error.
-----------
I have Maildir with INBOX present at my home directory and they are
writable for me. The things work under exim usage. I use
Debian/unstable. Thank you for any help. Martin
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: