Mail being delivered to wrong user

Discussion in 'Installation/Configuration' started by Sinisfun, Jan 8, 2006.

  1. Sinisfun

    Sinisfun New Member

    Hello all,

    I have a few different sites running on ispconfig, the issues I am running into is all of the users can login to their webmail, however they cannot recieve. Their email gets recieved by another user on the server, the same user infact for all domains. Exhample:

    send to gets recieved by but both are set up as different clients. I have tested this by sending email from hotmail/gmail etc to ensure this was not a local issue.

    Any ideas?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you setup a website in ISPConfig with a domain that is identical with the domain of your server?
  3. falko

    falko Super Moderator ISPConfig Developer

  4. Sinisfun

    Sinisfun New Member

    In reply to your first question, I set up a domain of which is the same as the server identifies itself as. Should I not have done that?
  5. Sinisfun

    Sinisfun New Member

    I read that link that you have sent, however I dont seem to understand what it is instructing me to do.
  6. Sinisfun

    Sinisfun New Member

    This is the output of /etc/
    sin@mikethetv:~$ vi /etc/postfix/
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    myhostname = localhost.localdomain
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    #mydestination =, localhost.localdomain, localhost.localdomain, localhost
    relayhost =
    mynetworks =
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    virtual_maps = hash:/etc/postfix/virtusertable
    mydestination = /etc/postfix/local-host-names
    If I am following correctly I am to remove my domain name ( from that list. Also are there any setting I should customise in this list?

  7. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    hostname -f
  8. Sinisfun

    Sinisfun New Member

    Hostname -f
    Oh and I removed from the previous post and no change so should I place it back in there?

  9. falko

    falko Super Moderator ISPConfig Developer

    That makes no difference because the mydestination line is commented out, i.e., it does not get interpreted by Postfix.

    What's in /etc/postfix/virtusertable?
  10. Sinisfun

    Sinisfun New Member

    I get the feeling I am 12 hrs behind you.... ;)

    Here is the output of virtusertables....
    sin@mikethetv:/etc/postfix$ vi virtusertable    web6_jord    web6_jord    web6_jord    web6_jord    web6_jord    web1_mail    web1_mail    web1_mail    web1_mail    web6_test    web6_test    web6_test    web6_test    web10_brad    web10_brad    web10_brad    web10_brad    web6_rad    web6_rad    web6_rad    web6_rad
    -- INSERT --                                                  63,1          Bot
    Each domain name is represented by a number... ie xxxxxxxxx2 or xxxxxxxxx3 I have kept them private in order to retain some privacy... if they are nessisary please PM me and I will provide the entire file...

    Thanks for your help.... on a side note I do not see the name of the person recieving all of the emails on this list...
  11. falko

    falko Super Moderator ISPConfig Developer

    Which of these users is the one that receives all emails?

    What do you mean with that?
  12. Sinisfun

    Sinisfun New Member is the user who recieves all if the email... and I dont see that email listed.
  13. falko

    falko Super Moderator ISPConfig Developer

    Is Lee a normal system user?
  14. Sinisfun

    Sinisfun New Member

    I dont believe he is... how can I quickly verify this? Come to think of it I am almost sure he is not. He was created using ISPconfig.
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    grep Lee /etc/passwd
  16. Sinisfun

    Sinisfun New Member

    This is the output of that:
    sin@mikethetv:~$ grep Lee /etc/passwd
    sin:x:1000:1000:Lee Xxxxxx,,,:/home/sin:/bin/bash
    I still dont believe that mail is working correctly... I have deleted the user email and now it appears to work. I am confused, if the mail is working now this is obviously the problem, however can someone please give me a simple explanation as to why this works this way.

    Thanks for all of your help!
  17. falko

    falko Super Moderator ISPConfig Developer

    Are you sure web1_lee wasn't in /etc/postfix/virtusertable?
    Was web1_lee a Catch-All account?
  18. Sinisfun

    Sinisfun New Member

    So it turns out.... Lee was a sys user and a ctach all account... I cangedd his status to not be a catch all and everyone is getting their email again!

    Sorry it took so long to reply I have been away.

    As always you guys are doing a great job... Thanks again!
  19. nostrada

    nostrada New Member

    wrong user

    Hi all,

    i have the same Problem:

    i have installed the perfect ubuntu 7.04, ispconfig and RoundCube with Adress Mailserver with Name This wars befor my backup mailserver, now only for ispconfig.

    I recieve messages for User by sending over the second mailserver on
    Never i configure an emailadress on ispconfig!
    No catchall on any adress only i have an website for login from all users on with an

    here the virtusertable:
    Code:    postmaster    postmaster    info    info
    Sorry for bad english! Can everyone help me.
    Thanks so lot

    Now i have created an on and problem is resolved!
    Last edited: May 13, 2007
  20. falko

    falko Super Moderator ISPConfig Developer

    I guess this happened because you have a system user info on your system, and the MX record for is pointing to your ISPConfig server.

Share This Page