I recently came across Courier and I am hoping to replace Postfix with
it. I have read through the enormous installation document three or four
times and I am stuck on a problem with receiving mail.

I downloaded and configured Courier 0.38.1 using the following basic
steps (on a RedHat 7.3 system):

- Create a 'courier' user and group with shell /sbin/nologin and home
  directory /var/courier, like so:
      useradd -M -d /var/courier -s /sbin/nologin courier
- Configure with the following options:
      --prefix=/usr/local/courier \
      --sysconfdir=/etc/courier \
      --localstatedir=/var/courier \
      --enable-webpass=no \
      --without-authldap \
      --without-authmysql
- Compile and perform the 'make check'.
- Run 'make install' and 'make install-configure'.
- Edit the /etc/courier/authdaemonrc 'authmodulelist' to just have
  "authpam".
- Edit the /etc/courier/esmtpd config file, setting ESMTPDSTART to
  "YES".
- Edit the /etc/courier/imapd config file, setting IMAPDSTART to "YES".
  Comment out the IMAP_EMPTYTRASH line.
- Copy the courier.sysvinit to /etc/init.d (and make links) to start the
  daemons at bootup.

I then ran the init script and tested by sending an email to my yahoo
mail account. This worked fine. However, receiving a response from yahoo
did not work. In the maillog I see:

May 20 21:20:35 nuts courieresmtpd:
error,relay=::ffff:216.136.225.241,from=<[EMAIL PROTECTED]>,to=<[EMAIL PROTECTED]>:
 513 Relaying denied.

I am afraid I must be stupid, because it would appear many others are
able to set up Courier successfully. However, I cannot find an answer to
this problem. I searched the docs for 'relay' and read about
esmtpacceptmailfor and smtpaccess but I do not understand how those are
meant to be used. I searched www.geocrawler.com using Google as a means
of searching the courier-users list (if there is a better way, please
please tell me).  I could not find any reference to this problem.

nathan



_______________________________________________________________

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