Author Topic: MySQL accounts and Unix accounts  (Read 6189 times)

Offline Alexismoy

  • Newbie
  • *
  • Posts: 7
MySQL accounts and Unix accounts
« on: February 16, 2007, 03:31:03 PM »
Hi,

I have just installed roundcubemail for 2 days. Before, I was using Squirrelmail.
I have a problem. I don't know if it's not implemented or explained.

I would like to use this webmail for both MySQL accounts and Unix accounts.

Some people on my linux server have got a linux account (account in /etc/passwd) with one domain name (for exemple domaine1.tld), and others in a MySQL base with an other domain name (domaine2.tld).

Actually, it works, but all mails that I send from this webmail (and no mater which account I use), the respond mail is like that: user@domaine2.tld (in all case).

What I want is, that when I logon with a linux account (domaine2.tld), I would like the respond maill to be: user@domaine1.tld and not user@domaine2.tld

Any idea how to do?


Offline maDa

  • Newbie
  • *
  • Posts: 2
Re: MySQL accounts and Unix accounts
« Reply #1 on: July 25, 2007, 07:29:31 AM »
Roundcube authtenticates against IMAP. Then you can make your IMAP server auth. against whatever you want. With PAM you can use both system and virtuals from SQL.

Offline ihug

  • Newbie
  • *
  • Posts: 4
Re: MySQL accounts and Unix accounts
« Reply #2 on: July 31, 2007, 02:43:13 AM »
Create a second identity with the other email address, and select the appropriate identity when sending mail.