Re: [exim] Exim authentication and user checking

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Theo de Morée
Date:  
À: exim-users
Sujet: Re: [exim] Exim authentication and user checking
Thanks Sherzod that helped! Finally have the authentication working properly
now.

The only thing I'd like to have now is the following. The mail server has
multiple virtual domains. Using virtual domain files certain mail addresses
are redirected to the right system user. Some users can have multiple mail
addresses routed to them. I have a few mail addresses per domain routed to
my own user account for example.

What I'd like to have is some way to check in the acl_smtp_mail part whether
the mail from part of the mail 'belongs' to me. So if I'm logged in as theo
and my user only has admin@??? assigned to me (in a file called
domain.com it has 'admin : theo@localhost') I want to reject the mail when I
would try and send it from any address but admin@???. And if I would
have multiple addresses routed to me on multiple domains I should be able to
send a mail from any of them. How would I make such a check?

Thanks,
Theo


>From: "Sherzod Ruzmetov" <sherzodr@???>
>To: 'Theo de Morée' <thdemo@???>,<exim-users@???>
>Subject: RE: [exim] Exim authentication and user checking
>Date: Mon, 1 May 2006 21:42:15 -0400
>
>Give the following entry in my weblog a shot:
>
>    http://author.handalak.com/archives/052006/000988

>
>Hope that helps.
>
>--
>Sherzod Ruzmetov
>
>
>
> > -----Original Message-----
> > From: exim-users-bounces@???
> > [mailto:exim-users-bounces@exim.org] On Behalf Of Theo de Morée
> > Sent: Monday, May 01, 2006 4:37 PM
> > To: exim-users@???
> > Subject: [exim] Exim authentication and user checking
> >
> >
> > Hi,
> >
> > I'm having some problems configuring Exim the way I want. I'm
> > setting up a
> > mailserver for several virtual domains that users can either use with
> > webmail or with external tools like Outlook.
> >
> > Basically what I'm trying to achieve is the following:
> > - Authentication always required. Right now anyone can
> > connect and use the
> > SMTP server. I want people to login using local server accounts.
> > - Users can only send mail from mail address that belong to
> > them. Right now
> > I can choose any mail address I want and it works. I have a
> > file for every
> > virtual domain which says what mail address belongs to which
> > local user
> > account.
> >
> > Users should be able to send to any mail address if these two
> > rules are
> > followed.
> >
> > Can anyone here point me in the right direction, or perhaps
> > share part of
> > their configuration with me if it does the two things above?
> >
> > Thanks!
> > Theo de Moree
> >
> >
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users
> > ## Exim details at http://www.exim.org/
> > ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
> >
> >
>