7 messages in net.sourceforge.lists.courier-users[courier-users] external mail bouncin...
FromSent OnAttachments
Nathan FiedlerMay 20, 2002 9:37 pm 
Roland SchneiderMay 20, 2002 11:01 pm 
Nathan FiedlerMay 20, 2002 11:33 pm 
Aly DharshiMay 21, 2002 12:06 am 
Roland SchneiderMay 21, 2002 12:11 am 
Nathan FiedlerMay 21, 2002 10:20 am 
Sam VarshavchikMay 21, 2002 12:35 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] external mail bouncing with 513Actions...
From:Nathan Fiedler (nfie@bluemarsh.com)
Date:May 20, 2002 9:37:40 pm
List:net.sourceforge.lists.courier-users

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=<nlfi@yahoo.com>,to=<nfie@bluemarsh.com>:
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