Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Student
Impact
~648 people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Nov
13
awarded  Student
Nov
13
awarded  Editor
Nov
13
comment Postfix/Dovecot support multiple domains
I have modified the question accordingly, if more info is needed I am happy to supply it.
Nov
13
revised Postfix/Dovecot support multiple domains
Added info about dovecot and added postfixadmin
Nov
13
comment Postfix/Dovecot support multiple domains
I should have noted I am using Postfixadmin and Dovecot too.
Nov
13
comment Postfix/Dovecot support multiple domains
@DerfK I guess I could make a symlink from ${mail_spool_directory}/olddomain.com to ${mail_spool_directory}/newdomain.com but this would only make the mail available if I duplicate each account with '@newdomain.com' instead of '@olddomain.com'. I rather not recreate each account.
Nov
13
comment Postfix/Dovecot support multiple domains
So how should a query for a user look? I'm guessing SELECT CONCAT(maildir, 'Maildir/') AS maildir FROM mailbox WHERE local_part='%s' AND active = '1' but this won't work when a user logs in with an email address, right? I also don't get what you mean with 'using the same query'.
Nov
13
awarded  Supporter
Nov
13
asked Postfix/Dovecot support multiple domains