email arrives at wrong inbox

Discussion in 'Installation/Configuration' started by SneakyWho_am_i, Jun 13, 2008.

  1. SneakyWho_am_i

    SneakyWho_am_i New Member

    Hi people!
    I set up ISPconfig recently on CentOS 5. MySQL, FTP, SSH... All that stuff works perfectly. This allows me to move a number of websites onto a server in my place (so my little personal projects won't be so expensive ;))

    My problem involves the mail.
    I'm using Dovecoat and Postfix. I create email users through the ISPConfig control panel. This works like a charm.
    I'm trying out RoundCube (Doesn't work, maybe I'm missing that thing in PHP, will try another browser later), Squirrelmail and that default webmail package with the impronouncible name (but wow, it sure is pretty).
    So far, so good.

    So, we create a mail user in ISPConfig, and then we log into an email script of our choice (say, Squirrelmail).
    Then send an email to an external (say, yahoo.com) email address.
    Go to your yahoo inbox and find the email from the ISPConfig user. Yay, it's there! Reply to it.
    Check in the ispconfig user's inbox. No message has appeared. ODD.

    So at first glance, they can all send but nobody can receive.
    ACTUALLY, the emails ARE received, but they end up in the wrong mailbox.
    emails to someone in reeftonsupervalue.com wind up instead in a mailbox in sneakywhoami.biz

    I tried switching globally over to Maildirs and then switching the users over onto Mailscan, but it had no effect (except that the inbox appeared to empty, of course)

    I don't know what else to try, sorry for the long post, thanks in advance for your help. I will post whatever configuration and/or log stuff you feel you need. Here is the DNS info for it, for starters (as seen from the shell):
    Code:
    $ nslookup
    > set type=mx
    > sneakywhoami.biz
    Server:         202.27.158.40
    Address:        202.27.158.40#53
    
    Non-authoritative answer:
    sneakywhoami.biz        mail exchanger = 1 sneakywhoami.biz.
    
    Authoritative answers can be found from:
    sneakywhoami.biz        internet address = 125.236.211.165
    > reeftonsupervalue.com
    Server:         202.27.158.40
    Address:        202.27.158.40#53
    
    Non-authoritative answer:
    reeftonsupervalue.com   mail exchanger = 1 reeftonsupervalue.com.
    
    Authoritative answers can be found from:
    reeftonsupervalue.com   internet address = 125.236.211.165
    > set type=a
    > sneakywhoami.biz
    Server:         202.27.158.40
    Address:        202.27.158.40#53
    
    Non-authoritative answer:
    Name:   sneakywhoami.biz
    Address: 125.236.211.165
    > reeftonsupervalue.com
    Server:         202.27.158.40
    Address:        202.27.158.40#53
    
    Non-authoritative answer:
    Name:   reeftonsupervalue.com
    Address: 125.236.211.165
    When I send and receive a message, something like this happens:

    Code:
    Jun 13 16:26:50 www postfix/smtpd[8055]: connect from web26501.mail.ukl.yahoo.com[217.146.176.38]
    Jun 13 16:26:51 www postfix/smtpd[8055]: BA15D525855: client=web26501.mail.ukl.yahoo.com[217.146.176.38]
    Jun 13 16:26:52 www postfix/cleanup[8058]: BA15D525855: message-id=<[email protected]>
    Jun 13 16:26:52 www postfix/qmgr[21253]: BA15D525855: from=<//YAHOO_ADDRESS//@yahoo.co.uk>, size=3064, nrcpt=1 (queue active)
    Jun 13 16:26:53 www postfix/smtpd[8055]: disconnect from web26501.mail.ukl.yahoo.com[217.146.176.38]
    Jun 13 16:26:53 www sendmail[8088]: m5D4QqZC008088: from=web1_sneakywh, size=123, class=0, nrcpts=1, msgid=<[email protected]>, relay=//ISPCONFIG_USERNAME//@localhost
    Jun 13 16:26:53 www postfix/smtpd[8055]: connect from localhost.localdomain[127.0.0.1]
    Jun 13 16:26:53 www postfix/smtpd[8055]: setting up TLS connection from localhost.localdomain[127.0.0.1]
    Jun 13 16:26:53 www postfix/smtpd[8055]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Jun 13 16:26:53 www sendmail[8088]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Jun 13 16:26:53 www postfix/smtpd[8055]: 7BA7A52585A: client=localhost.localdomain[127.0.0.1], sasl_sender=//ISPCONFIG_USERNAME//@www.sneakywhoami.biz
    Jun 13 16:26:53 www postfix/cleanup[8058]: 7BA7A52585A: message-id=<[email protected]>
    Jun 13 16:27:10 www postfix/local[8081]: BA15D525855: to=<//ISPCONFIG_USERNAME//@www.sneakywhoami.biz>, orig_to=<//EMAIL_NAME//@reeftonsupervalue.com>, relay=local, delay=19, delays=1.6/0.01/0/18, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    I threw in some censorship to try to confuse spambots, but YAHOO_ADDRESS is SneakyWho_am_i, ISPCONFIG_USERNAME is web1_sneakywh, and EMAIL_NAME is office.The Jun 13 16:27:10 line is the one that makes me really uncomfortable, I think that it is the source of all my problems, where have I gone wrong?

    Thanks in advance!
    (I hope I've provided the right information!..)
     
  2. SneakyWho_am_i

    SneakyWho_am_i New Member

    my bad

    ok, the mail user at sneakywhoami.biz was a catchall account.
    lol, but why can it catch mail from reeftonsupervalue.com ?

    So I turned that off and all is more or less right with the world.
    How can I create a catchall account that works only on one domain?
    (and I'm going to check this for myself, but does this mean that clients and resellers have the power to intercept/DOS all emails for all users on the system, just by checking one box??!)
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

  4. SneakyWho_am_i

    SneakyWho_am_i New Member

    Thanks!

    Thank you Till, everything becomes perfectly clear :)

    I'm yet to find any real complaint about ISPConfig.. The support and community are awesome, Falko and yourself rock.

    Thanks for the link, and for your patience.
     

Share This Page