im not getting mail

Discussion in 'Installation/Configuration' started by digerati, Apr 9, 2008.

  1. digerati

    digerati New Member

    I dont know what the deal is, I am just not getting mail.

    I setup ispconfig on linux to move away from windows.

    I am testing my mail on the linux box using an ip address and not a domain name. Just testing locally within the lan at first.

    I am using info@waco-eng.com. I have the account setup and it checks just fine, so the user and password seem to work out really good.

    I sent a test email to itself in hopes that it would send to itself and receive it to let me know the interoffice round trip was a success.

    It goes somewhere and doesnt come back.
    Actually it goes here:


    Apr 9 10:53:23 server5 postfix/smtpd[7641]: connect from unknown[192.168.1.100]
    Apr 9 10:53:23 server5 postfix/smtpd[7641]: 35F23550362: client=unknown[192.168.1.100]
    Apr 9 10:53:23 server5 postfix/cleanup[7645]: 35F23550362: message-id=<002101c89a59$d728a0b0$6401a8c0@wacodomain.com>
    Apr 9 10:53:23 server5 postfix/qmgr[4895]: 35F23550362: from=<info@waco-eng.com>, size=1344, nrcpt=1 (queue active)
    Apr 9 10:53:23 server5 postfix/smtpd[7641]: disconnect from unknown[192.168.1.100]
    Apr 9 10:53:23 server5 postfix/local[7646]: 35F23550362: to=<digerati@waco-eng.com>, orig_to=<info@waco-eng.com>, relay=local, delay=0.06, delays=0.05/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
    Apr 9 10:53:23 server5 postfix/qmgr[4895]: 35F23550362: removed

    I go and look and I see the messages here:

    [root@server5 new]# pwd
    /home/digerati/Maildir/new
    [root@server5 new]# ls
    1207689671.Vfd00If5c284M450358.server5.waco-eng.com 1207755054.Vfd00If5c289M657710.server5.waco-eng.com
    1207731819.Vfd00If5c287M618740.server5.waco-eng.com 1207755925.Vfd00If5c28aM99767.server5.waco-eng.com
    1207754771.Vfd00If5c288M571921.server5.waco-eng.com 1207756403.Vfd00If5c28bM271795.server5.waco-eng.com


    Im confused at seeing <002101c89a59$d728a0b0$6401a8c0@wacodomain.com>

    And I dont know why I am not receiving it in the proper place. Why is it going to digerati? This is also the UID 500 account that I posted about earlier.

    Please help.



    I CAME BACK FOR AN EDIT

    One more note is that I couldn't stand how ispconfig wanted to put things like web3_u1 or whatever in from of all my usernames. I wanted simple username and password for stuff so they can enter in their email clients stuff like user@domain and not have to remember anything else.

    I took care of this in ispconfig at the the MANAGMENT/SYSTEM CONFIG/SETTINGS/ISP MANAGER/ then on USER PREFIX, I just deleted what was there and all my names look correct.

    Hope this is not the root of my problem.
     
    Last edited: Apr 9, 2008
  2. falko

    falko Super Moderator ISPConfig Developer

    Removing the user prefix is not recommended and can cause your problem.
    What's in /etc/postfix/local-host-names, /etc/postfix/virtusertable, and /etc/aliases?
     
  3. digerati

    digerati New Member

    [root@waco-eng web]# cat /etc/postfix/local-host-names
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    # Version 1.0
    #
    ###################################
    localhost
    waco-eng.com
    localhost.waco-eng.com
    localhost.com
    localhost.localdomain
    www.profabusa.com
    www.waco-eng.com
    profabusa.com
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####



    [root@waco-eng web]# cat /etc/postfix/virtusertable
    ###################################
    #
    # ISPConfig virtusertable Configuration File
    # Version 1.0
    #
    ###################################
    bebop@www.waco-eng.com bebop
    bebop@waco-eng.com bebop
    support@www.waco-eng.com support
    support@waco-eng.com support
    webadmin@www.waco-eng.com webadmin
    webadmin@waco-eng.com webadmin
    postmaster@www.waco-eng.com postmaster
    @www.waco-eng.com postmaster
    postmaster@waco-eng.com postmaster
    @waco-eng.com postmaster
    sthomas@www.waco-eng.com sthomas
    sthomas@waco-eng.com sthomas
    jdonald@www.waco-eng.com jdonald
    jdonald@waco-eng.com jdonald
    wroberts@www.waco-eng.com wroberts
    wroberts@waco-eng.com wroberts
    jbridges@www.waco-eng.com jbridges
    jbridges@waco-eng.com jbridges
    kgoodson@www.waco-eng.com kgoodson
    kgoodson@waco-eng.com kgoodson
    kgrubb@www.waco-eng.com kgrubb
    kgrubb@waco-eng.com kgrubb
    ssimko@www.waco-eng.com ssimko
    ssimko@waco-eng.com ssimko
    rsmith@www.waco-eng.com rsmith
    rsmith@waco-eng.com rsmith
    csapp@www.waco-eng.com csapp
    csapp@waco-eng.com csapp
    proberts@www.waco-eng.com proberts
    proberts@waco-eng.com proberts
    errors@www.waco-eng.com errors
    errors@waco-eng.com errors
    abuse@www.waco-eng.com abuse
    abuse@waco-eng.com abuse
    info@www.waco-eng.com info
    info@waco-eng.com info
    jobs@www.waco-eng.com jobs
    jobs@waco-eng.com jobs
    waconas@www.waco-eng.com waconas
    waconas@waco-eng.com waconas
    profabadmin@www.profabusa.com profabadmin
    profabadmin@profabusa.com profabadmin
    [root@waco-eng web]#


    [root@waco-eng web]# cat /etc/aliases
    #
    # Aliases in this file will NOT be expanded in the header from
    # Mail, but WILL be visible over networks or from /bin/mail.
    #
    # >>>>>>>>>> The program "newaliases" must be run after
    # >> NOTE >> this file is updated for any changes to
    # >>>>>>>>>> show through to sendmail.
    #

    # Basic system aliases -- these MUST be present.
    mailer-daemon: postmaster
    postmaster: root

    # General redirections for pseudo accounts.
    bin: root
    daemon: root
    adm: root
    lp: root
    sync: root
    shutdown: root
    halt: root
    mail: root
    news: root
    uucp: root
    operator: root
    games: root
    gopher: root
    ftp: root
    nobody: root
    radiusd: root
    nut: root
    dbus: root
    vcsa: root
    canna: root
    wnn: root
    rpm: root
    nscd: root
    pcap: root
    apache: root
    webalizer: root
    dovecot: root
    fax: root
    quagga: root
    radvd: root
    pvm: root
    amanda: root
    privoxy: root
    ident: root
    named: root
    xfs: root
    gdm: root
    mailnull: root
    postgres: root
    sshd: root
    smmsp: root
    postfix: root
    netdump: root
    ldap: root
    squid: root
    ntp: root
    mysql: root
    desktop: root
    rpcuser: root
    rpc: root
    nfsnobody: root

    ingres: root
    system: root
    toor: root
    manager: root
    dumper: root
    abuse: root

    newsadm: news
    newsadmin: news
    usenet: news
    ftpadm: ftp
    ftpadmin: ftp
    ftp-adm: ftp
    ftp-admin: ftp
    www: webmaster
    webmaster: root
    noc: root
    security: root
    hostmaster: root
    info: postmaster
    marketing: postmaster
    sales: postmaster
    support: postmaster


    # trap decode to catch security attacks
    decode: root

    # Person who should get root's mail
    root: mcostilow@waco-eng.com
    [root@waco-eng web]#


    :EDIT:

    If I add the prefix back, whats the simplest best way so that all my users can use a simple username to login to webmail and configure their email clients.

    I want to be able to use username@domain.tld
     
    Last edited: Apr 10, 2008
  4. jmroth

    jmroth ISPConfig Developer ISPConfig Developer

    That is not easily doable with ISPConfig.
    There have however been several hacks for certain server software to translate the "easy" logins bla@blub.com into the more "complicated" webXX_user ones. IIRC you just have to search the forum.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page