Cool. Attached is a sample virtusertable and aliases file. I overlooked
the aliases file but aliases won't work for this because if, for
example, someone tries to login as [EMAIL PROTECTED], there's no way to
determine which account is logging in. It's aliased to 3 accounts. They
would just get a login error because there is no account for
bratemansinfo. This will make more sense after you look at the samples.

virtusertable by default is located in the /etc/mail directory, but
would need to be configurable if this is going to be a public plugin.

The seperation between the Email address and account in virtusertable
can be a tab or space, so the next section after either OR both is the
account that should be used as the SM login.

Please let me know if you need any more information. Good luck!

-----Original Message-----
From: p dont think [mailto:pdontthink@;angrynerds.com] 
Sent: Wednesday, November 13, 2002 12:31 PM
To: 'Phil Iovino'; [EMAIL PROTECTED]
Subject: RE: [SM-USERS] Login / virtusertable


I might be able to take a quick stab at it if you can give me a sample
of such a file (I don't use Sendmail).

> -----Original Message-----
> From: Phil Iovino [mailto:phil@;nxtek.net]
> Sent: Wednesday, November 13, 2002 6:40 AM
> To: 'p dont think'; [EMAIL PROTECTED]
> Subject: RE: [SM-USERS] Login / virtusertable
> 
> Anyone up for writing a plugin? I would think it'd be pretty simple.
It
> would consist of taking the value of the login field, finding the
value
> in a text file (/etc/mail/virtusertable), and using the login just
after
> it. I'm really surprised there's not a plugin for that already. Lots 
> still use Sendmail.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:squirrelmail-users-admin@;lists.sourceforge.net] On Behalf Of p

> dont think
> Sent: Tuesday, November 12, 2002 12:08 PM
> To: 'Phil Iovino'; [EMAIL PROTECTED]
> Subject: RE: [SM-USERS] Login / virtusertable
> 
> 
> Ouch.  It would seem to me that a plugin would need to have access to 
> your virtual users table and be able to find the correct mapping
itself
> - or make a request to sendmail for such information.  There isn't a
way
> that I am aware of that you can do this with vanilla SM.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:squirrelmail-users-admin@;lists.sourceforge.net] On Behalf Of
> Phil
> > Iovino
> > Sent: Tuesday, November 12, 2002 5:34 AM
> > To: [EMAIL PROTECTED]
> > Subject: [SM-USERS] Login / virtusertable
> >
> > Is it possible to allow logins by Email address instead of POP
login?
> > I'm running Sendmail and have users in virtusertable:
> >
> > --
> > [EMAIL PROTECTED]           john
> > [EMAIL PROTECTED]            joe
> >
> > [EMAIL PROTECTED]           john2
> > [EMAIL PROTECTED]      john2
> > --
> >
> > I'd like for SM to "figure out" that the login for 
> > [EMAIL PROTECTED] is actually logging in with the john2 POP 
> > account. I know this is fairly possible with qmail/postfix, but is
it
> > possible with Sendmail and virtusertable?
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > --
> > squirrelmail-users mailing list
> > List Address: [EMAIL PROTECTED]
> > List Archives:
> http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> > List Info:
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:
> To learn the basics of securing your web site with SSL,
> click here to get a FREE TRIAL of a Thawte Server Certificate: 
> http://www.gothawte.com/rd522.html
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives: 
> http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: 
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Attachment: virtusertable
Description: Binary data

Attachment: aliases
Description: Binary data

Reply via email to