6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] 550 user unknown ...
FromSent OnAttachments
Donald FossDec 15, 2000 1:47 pm 
Donald FossDec 15, 2000 8:11 pm 
Donald FossDec 18, 2000 9:07 am 
Sam VarshavchikDec 18, 2000 2:44 pm 
Donald FossDec 18, 2000 8:21 pm 
Sam VarshavchikDec 19, 2000 4:44 am 
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] 550 user unknown issuesActions...
From:Donald Foss (foss@yahoo.com)
Date:Dec 18, 2000 9:07:46 am
List:net.sourceforge.lists.courier-users

Actually, colons are being used--I typo'd in my email.

I'm still having failures. Here is the current situation:

hosteddomains - 0 byte file locals - contains local domains aliasdir/* - files containing aliases by domain in the form of us@domain1.com:<tab>real_user userdb - contains output of `pw2userdb' userdb.dat - from makeuserdb esmtpacceptmailfor - no problems here, no relay problems

If I telnet to the local port for testing, I get: telnet localhost 25 Trying 127.0.0.1... Connected to scfw-www1 (127.0.0.1). Escape character is '^]'. 220 scfw-www1.coloexperts.com ESMTP helo coloexperts.com 250-scfw-www1.coloexperts.com Ok. 250-XVERP 250-XEXDATA 250-PIPELINING 250-8BITMIME 250-SIZE 250 DSN mail from: <<foss@yahoo.com>> 250 Ok. rcpt to: <<don@coloexperts.com>> 550 User unknown. rcpt to: <<mark@coloexperts.com>> 550 User unknown.

donald (me) is a real local account. If I send mail locally, using sendmail, it works fine. marketing is an alias and also works properly locally.

cat foo | sendmail works fine and I get the delivery. This also works properly for aliases.

I am not using ldap, mysql but only pam. Why is it that only esmtp fails on delivery?

Donald

--- Sam Varshavchik <mrs@courier-mta.com> wrote:

On Fri, 15 Dec 2000, Donald Foss wrote:

What I am trying should, in theory, be simple. I need to have email come to real accounts on the machine, with multiple domains.

I have multiple usernames that are the same, and go to different places, depending on the domain. I use aliases for this. For example, in@xyz.com would go to a user called xyz; in@abc.com would go to a user called abc.

Sendmail had no problem doing domain aliasing, except that it didn't like duplicate usernames.

I thought that I could use hosteddomains and aliases to effect this. I have aliases defined that say in@xyz.com<tab>xyz but this doesn't appear to be working. xyz is a local account.

That's because you do not need to use hosteddomains for this, and because you are not using the right syntax in aliases.

The right syntax is sysconfdir/aliases would be:

in@xyz.com: xyz

You forgot the colon.