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 [email protected]. 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=<[email protected]>
    Apr 9 10:53:23 server5 postfix/qmgr[4895]: 35F23550362: from=<[email protected]>, 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=<[email protected]>, orig_to=<[email protected]>, 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 <[email protected]>

    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 Howtoforge Staff

    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
    #
    ###################################
    [email protected] bebop
    [email protected] bebop
    [email protected] support
    [email protected] support
    [email protected] webadmin
    [email protected] webadmin
    [email protected] postmaster
    @www.waco-eng.com postmaster
    [email protected] postmaster
    @waco-eng.com postmaster
    [email protected] sthomas
    [email protected] sthomas
    [email protected] jdonald
    [email protected] jdonald
    [email protected] wroberts
    [email protected] wroberts
    [email protected] jbridges
    [email protected] jbridges
    [email protected] kgoodson
    [email protected] kgoodson
    [email protected] kgrubb
    [email protected] kgrubb
    [email protected] ssimko
    [email protected] ssimko
    [email protected] rsmith
    [email protected] rsmith
    [email protected] csapp
    [email protected] csapp
    [email protected] proberts
    [email protected] proberts
    [email protected] errors
    [email protected] errors
    [email protected] abuse
    [email protected] abuse
    [email protected] info
    [email protected] info
    [email protected] jobs
    [email protected] jobs
    [email protected] waconas
    [email protected] waconas
    [email protected] profabadmin
    [email protected] 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: [email protected]
    [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 [email protected]
     
    Last edited: Apr 10, 2008
  4. jmroth

    jmroth New Member

    That is not easily doable with ISPConfig.
    There have however been several hacks for certain server software to translate the "easy" logins [email protected] 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