Results 1 to 5 of 5
  1. #1

    "...email alias list in use..." errors

    Odd things.

    We recently migrated mostly away from our cobalt raq4. We still use it for our list server, but our users have pretty much been migrated off the box to another server.

    In shifting the role of the server, we had to change the name of the server from "corp.domain.com" to "cobalt.domain.com". Everything seems to work ok, however when you go into the site settings for the vsite, you see this in the alias field:

    "4999 Email alias list in use, please try again soon".

    when you go into the server control panel, and look at the list of mail aliases, you see:

    4999
    Email
    again
    alias
    alias.domain.com
    in
    list
    list.domain.com
    lists.domain.com
    please
    soon
    test.domain.com
    try
    use

    The alias and test aliases were aliases created on the site panel to try to work around what we initially thought was a conflict between the machine name and the aliases (a duplicate alias). You cannot delete anything from the server alias settings. you can only ADD by trying to put something into the site alias field. It adds it to the email server alias list but still returns the errors.


    Any ideas?

  2. #2
    Join Date
    Nov 2002
    Location
    Michigan
    Posts
    695
    You can look in /etc/mail/aliases and /etc/mail/virtusertable for suspicious/bogus entries. Remove them, then rebuild the files via (as root):

    makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable
    newaliases

    The info in the UI comes from the PostgreSQL database. If it won't let you remove entries from there, that's kind of unusual... you could always go in and try to remove the data from the fields manually...
    http://www.lamphowto.com/ - LAMP and LAMP+SSL HowTo
    http://www.cobaltfaqs.com/ - Cobalt FAQs and HowTos

  3. #3
    Interesting. I didnt think to look there since we are talking server aliases, not user aliases.

    I did find something odd. I have no virtusertable. I have a virtusertable.db, but not virtusertable. I even checked for it being hidden, and its not there...

    could be why its not able to write to the file... it doesnt exist.

    any easy way to rebuild going the other way?

  4. #4
    Join Date
    Nov 2002
    Location
    Michigan
    Posts
    695
    makemap hash -u /etc/mail/virtusertable.db > /etc/mail/virtusertable


    When you add the mail server aliases, it makes entries into /etc/mail/virtusertable to ensure that email addressed to those aliases is properly "rewritten" to the local user's name.

    Also, check /etc/mail/local-host-names. It's a plain text file that contains all the aliased domains the server should accept mail for. Maybe it's missing or corrupt as well...?
    http://www.lamphowto.com/ - LAMP and LAMP+SSL HowTo
    http://www.cobaltfaqs.com/ - Cobalt FAQs and HowTos

  5. #5
    That did it! Thanks for the guidance!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •