Re: authentication of multiple users for one mail server



Celejar, sorry, I thought I was asking just a generic question. Yes,
I'm running exim4 under debian squeeze, with SMTP authentication
required, and I do have an entry in my /etc/exim4/passwd.client file,
and my problem probably has to do with the syntax of the entries.

For years I've used a wild card for the mail server, entered my UID
for the mail server, which is my email address, and finally the
password for this account:

*:brownh@xxxxxxxxxxxxxxxxxxxxxxxxxx:password

Now I have a second box with a different user account name (which I'll
call user1 here), which wants to be authenticated by this same mail
server. On this second box, exim4 creates the From: line by attaching
the user account name (user1) to the domain name:
user1@xxxxxxxxxxxxxxxxxxxxxxxxxxx The aim is to have this sender
address authenticated.

I try various things in passwd.client:

Outgoing mail accesses my mail server account with a UID which is my
email address (brown@xxxxxxxxxxxxxxxxxxxxxxxxxx) and a password
(password).

So, for user1 on the new machine to use this email account, I put in
the line:

*:brownh@xxxxxxxxxxxxxxxxxxxxxxxxxx:password

This does not work because the From: line of the outgoing message is
user1@xxxxxxxxxxxxxxxxxxxxxxxxxx, and so the server wants to see if
this user1 is legit. So I add this line:

*:user1@xxxxxxxxxxxxxxxxxxxxxxxxxx:password

But this is not the UID of the account name, and so does not work. In
desperation I also tried a wild card to cover all users:

*:*@historicalmaterialism.info:password

In any ase, when user1 attempts to send a message, it immediately
bounces with this error message:

recipient@xxxxxxxxxxx
SMTP error from remote mail server after RCPT TO:
<recpient@xxxxxxxxxxx>:
host mail.historicalMaterialism.info [216,239...]:
553.5.7.1 <user1@xxxxxxxxxxxxxxxxxxxxxxxxxx>:
Sender address rejected: not onwed by user
brownh@xxxxxxxxxxxxxxxxxxxxxxxxxx

I took this to mean that the error message cames from my ISP's mail
server even though it seems
instantaneous. "mail.historical.materialism" is the mail account on
that server. I assume that the account on the mail server with UID
brownh@xxxxxxxxxxxxxxxxxxxxxxxxxx could not authenticate mail from
user1@xxxxxxxxxxxxxxxxxxxxxxxxxxx

Haines


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/87y6bc77ui.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Relevant Pages

  • Re: authentication of multiple users for one mail server
    ... I'm running exim4 under debian squeeze, with SMTP authentication ... For years I've used a wild card for the mail server, ... as well as the username of the account with the mail provider. ... call user1 here), which wants to be authenticated by this same mail ...
    (Debian-User)
  • Re: Mail could not be sent: relaying to <[...]> prohibited by administrator
    ... to one mail server and are asking to send via a second mail server. ... switch my settings to use authentication, ... I haven't changed anything concerning this account, ... The server does not support secure connections. ...
    (microsoft.public.mac.office.entourage)
  • Re: Problem sending with multiple email accounts
    ... Is there any update on a fix for this bug? ... > account in your account list if the recipient in the message is rejected by ... > the mail server of the account you specify. ... > it requires authentication and you aren't authenticating on that account. ...
    (microsoft.public.outlook.general)
  • Re: Cant delete Account
    ... > mail server*, check the box for My server requires authentication. ... >> that I can't remove the account is what the real concern is. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Windows Security Pop-Up Requires Logon for WinMail Retrieval
    ... Are all three computers downloading mail from the same mail server? ... I suggest getting a free Gmail or Hotmail account and setting that up ... in your Windows Mail. ... Which antivirus are you running? ...
    (microsoft.public.windows.vista.mail)