Duplicate Email Address .... Why??!!?

Discussion in 'Installation/Configuration' started by vaio1, Sep 14, 2007.

  1. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Hi there!

    I don't understand why I receive this message after saving a new email account: Duplicate Email Address.

    I'm sure that there is NOT any email with that name.

    In the virtusertable file there is not the mail account but the system continue to tell me: Duplicate Email Address

    Thanks
     
  2. edge

    edge Active Member Moderator

    Did you empty the recycle bin?
     
  3. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    yes! but the problem persist.

    Thanks
     
  4. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Any idea? Is it a BUG of ISPConfig?

    thanks
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Did you empty all recycle bins?
     
  6. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    yes all.

    :(
     
  7. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Hi Falko,

    how can I do to fix this bug?

    thanks
     
  8. edge

    edge Active Member Moderator

    What does the "allready" exisiting Users look like in the tab "User & Email"?

    Is it something like webNR_name ?
     
  9. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    In the User & Emails I have 5 emails:

    Code:
    web19_maria  	  Maria  	  maria  	  0  	  0 
    web19_john  	  john  	  john  	  0  	  0 
    web19_bob  	  bob  	          bob  	          0  	  0 
    web19_samantha    samantha  	  amantha  	  0  	  0 
    web19_joseph  	  joseph  	  joseph  	  0  	  0 
    I would like to create an email for the user "roger" but the ISP Config reply me with Duplicate Email Address.

    Thanks
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    I dont think its a bug. If ISPConfig reports a duplicate email address, then there must be a duplicate email address in the database. Please have a look if thie email address that you want to create exists already in the database table isp_isp_user

    Be aware that you might have added this email address as an alias to one of the other accounts, which will have the same result as if you have added it as mailbox.
     
  11. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    The problem has been the sql insert query into ISP Config.
    The record was corrupted. The userid was "web19_" without name.

    Thanks
     
  12. chancer

    chancer New Member

    Is the prefix web#_ required for each username? I read in the docs this could be changed - I deleted it for three reasons:

    1. In transferring all the sites onto the new system, I wanted to keep life as easy as possible for my clients by making as few changes as possible

    2. I wanted to keep it all as easy as possible for myself by having as few new things to explain as possible

    3. I can't see any reason for such a device, and none was given in the documentation. It's not a distinguishing feature - I spell real names properly, usernames are all lower case and passwords must contain at least one digit, one non-alphanumeric character, one upper case and one lower case letter in a statutory 9-character password.

    However, I am having all sorts of niggling, seemingly random, problems with email services so if this is at least a partial cure, I'm interested.
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    No, but recommended. Email users must be unique for the whole server, so if you do not add a prefix, you have to make your own naming conventions. Additionally if you run postfix and use config files in sendmail style, the system will accept email for system usernames directly, so if you create a user "info", this suer will get email sent to [email protected] on your server, if [email protected] is not a regular mailbox created under this domain.
     
  14. chancer

    chancer New Member

    Thanks, till. Just so I (and anyone else reading here) get this absolutely right, is it the users who should have a prefix? Users can have whatever aliases they like. So if some users have been using aliases like info@ and accounts@ they may continue doing so?

    So if I change to this convention now, I take it this will affect existing users, too?
     
  15. chancer

    chancer New Member

    Thanks, till. Just so I (and anyone else reading here) get this absolutely right, is it the users who should have a prefix? Users can have whatever aliases they like. So if some users have been using aliases like info@ and accounts@ they may continue doing so?

    So if I change to this convention now, I take it this will affect existing users, too?
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    yes. The username can be totally different to the part before the @ of the email address. Thats why we use the prefixes.

    Existing users will not be affected.
     
  17. chancer

    chancer New Member

    Taking this logic a step further, could the home directory names (i.e. web1, web2 and so forth) in /var/www/ be customised, too? I'm thinking of ISP1, ISP2 where we could substitute something of our own choosing for ISP?

    Perhaps this is OT and I should be posting it as a new thread under Feature Requests or Develepors' Forum. But it does strike me that we can keep on challenging the Maine Monolith (great news from the EU courts on that score :p ) if we improve our marketing skills.

    If we can have user home directory names matching user prefixes, and both matching our branding efforts, it affords us some marketing consistency. Prefixing/naming with web# specifically, and I now appreciate several very good reasons for such a convention, is bland.
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    No. Because the home directories are just the "technical" directory names that are not used by the users on the shell. For the use on the shell, ISPConfig creates symlinks like /var/www/www.domain.com/
     
  19. catdude

    catdude ISPConfig Developer ISPConfig Developer

    As it stands currently, your choices for User Prefix are [WEBID], [DOMAIN], [HOST], and [HOSTDOMAIN]. You might watn to take a look at http://www.howtoforge.com/forums/archive/index.php/t-1064.html

    I've posted a message on the "Suggestions" board that in a future release a field be added at the domain level, for storing a custom prefix. I'm currently using [DOMAIN] as my prefix, but the flavor of Linux I'm running limits user names to 32 characters, so long domain names make for some pertty short user names.
     

Share This Page