9 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: Mail relaying...
FromSent OnAttachments
Alex BederovJan 4, 2002 6:33 pm 
Sam VarshavchikJan 4, 2002 7:00 pm 
Alex BederovJan 4, 2002 10:08 pm 
Sam VarshavchikJan 5, 2002 7:28 am 
Alex BederovJan 5, 2002 12:18 pm 
Sam VarshavchikJan 5, 2002 12:42 pm 
Alex BederovJan 5, 2002 1:37 pm 
Sam VarshavchikJan 5, 2002 5:00 pm 
Alex BederovJan 5, 2002 9:55 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:Re: [courier-users] Re: Mail relaying problemsActions...
From:Alex Bederov (cour@bederov.com)
Date:Jan 5, 2002 12:18:38 pm
List:net.sourceforge.lists.courier-users

Hello Sam,

It does not look like the client is the problem. (Netscape 4.78) I have an older version of Courier (courier-0.32.0) running on a different box and messages are accepted for relaying from the same Netscape client (provided I change the SMTP server in client settings)

Here is what reported by Netscape:

An error occured while sending mail. The mail server responded: Relaying denied. Please check the message recepients and try again.

Here is what server says:

220 mail.example.com ESMTP 250-mail.example.com Ok. 250-XVERP 250-XEXDATA 250-XSECURITY=NONE,STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 250 DSN 250-mail.example.com Ok. 250-XVERP 250-XEXDATA 250-XSECURITY=NONE,STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 250 DSN 250 Ok. 513 Relaying denied. 513 Relaying denied. 221 Bye.

Shouldn't it say AUTH LOGIN CRAM-MD5 somewhere?

Thanks. Alex.

Saturday, January 05, 2002, 7:28:26 AM, you wrote:

Message: 12 From: "Sam Varshavchik" <mrs@courier-mta.com> To: cour@lists.sourceforge.net Date: Sat, 05 Jan 2002 10:28:26 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <cour@ny.email-scan.com> Subject: [courier-users] Re: Mail relaying problems Sender: cour@lists.sourceforge.net Precedence: bulk List-Help: <mailto:cour@lists.sourceforge.net?subject=help> List-Post: <mailto:cour@lists.sourceforge.net> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/courier-users>, <mailto:cour@lists.sourceforge.net?subject=subscribe> List-Id: Courier mail server mailing list <courier-users.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/courier-users>, <mailto:cour@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://www.geocrawler.com/redir-sf.php3?list=courier-users>

Alex Bederov writes:

Sorry, I forgot this part:

Relaying is denied:

/var/log/maillog: Jan 4 22:48:48 host1 courieresmtpd: started,ip=[::ffff:12.236.70.128] Jan 4 22:48:49 host1 courieresmtpd: error,relay=::ffff:12.236.70.128,from=<sm@localhost.com>,to=<courier@bederov.c om>: 513 Relaying denied.

So? The mail client did not authenticate, and that's what you go.

If the mail client did try to authenticate, but failed, that error would've been reported by your mail client.

Check your mail client's configuration.

Hi,

I am out of my wits here. I am trying to setup up SMTP authentication so that authenticated users could send e-mail using my server.

I have following set in ~courier/etc/esmtpd:

AUTHMODULES="authdaemon" ESMTPAUTH="LOGIN CRAM-MD5"

I do not use PAM -- ~courier/etc/authdaemonrc has authmodulelist="authcram authuserdb"

~courier/etc/userdb: foo

home=/courier/mail/foo|mail=/courier/mail/foo/Maildir/|uid=55555|systempw=hCobVq 3VC/6WY|gid=55555

imapd is working fine, so I assume that there are no problems with authdaemon and userdb.

What gives?

TIA Alex