all mail goes to my account

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

  1. digerati

    digerati New Member

    Why is it that all my email accounts, when I send them email they default to MY user account?

    If I send an email to [email protected] or anyother, it goes to my account.

    This is not working out.
    Please advise.

    Actually all things appear to be going to root and rerouting to me... im confused

    I CAME BACK TO ADD MORE.....


    > waco-eng.com
    Server: 192.168.1.14
    Address: 192.168.1.14#53

    Name: waco-eng.com
    Address: 192.168.1.14
    > set type=mx
    > waco-eng.com
    Server: 192.168.1.14
    Address: 192.168.1.14#53

    waco-eng.com mail exchanger = 10 www.waco-eng.com.
    > quit
    Server: 192.168.1.14
    Address: 192.168.1.14#53

    Added user bebop via ispcondig

    Apr 9 14:48:41 server5 postfix/postfix-script[19387]: stopping the Postfix mail system
    Apr 9 14:48:41 server5 postfix/master[12365]: terminating on signal 15
    Apr 9 14:48:41 server5 sendmail[19400]: alias database /etc/aliases rebuilt by root
    Apr 9 14:48:41 server5 sendmail[19400]: /etc/aliases: 77 aliases, longest 22 bytes, 791 bytes total
    Apr 9 14:48:42 server5 postfix/postfix-script[19445]: starting the Postfix mail system
    Apr 9 14:48:42 server5 postfix/master[19446]: daemon started -- version 2.4.5, configuration /etc/postfix


    Then I sent an email from [email protected] to [email protected]

    Apr 9 14:49:53 server5 postfix/smtpd[19493]: connect from unknown[192.168.1.100]
    Apr 9 14:49:53 server5 postfix/smtpd[19493]: E8454550391: client=unknown[192.168.1.100]
    Apr 9 14:49:53 server5 postfix/cleanup[19498]: E8454550391: message-id=<[email protected]>
    Apr 9 14:49:53 server5 postfix/qmgr[19456]: E8454550391: from=<[email protected]>, size=1353, nrcpt=1 (queue active)
    Apr 9 14:49:53 server5 postfix/smtpd[19493]: disconnect from unknown[192.168.1.100]
    Apr 9 14:49:54 server5 postfix/local[19499]: E8454550391: 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 14:49:54 server5 postfix/qmgr[19456]: E8454550391: removed


    I check the mail for info using outlook express and it shows this

    Apr 9 14:51:01 server5 postfix/qmgr[19456]: 5DC79550395: removed
    Apr 9 14:51:05 server5 dovecot: pop3-login: Login: user=<info>, method=PLAIN, rip=::ffff:192.168.1.100, lip=::ffff:192.168.1.14
    Apr 9 14:51:05 server5 dovecot: POP3(info): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

    I check it with the digerati account in outlook Express and it shows this

    Apr 9 14:51:52 server5 dovecot: pop3-login: Login: user=<digerati>, method=PLAIN, rip=::ffff:192.168.1.100, lip=::ffff:192.168.1.14
    Apr 9 14:51:52 server5 dovecot: POP3(digerati): Disconnected: Logged out top=0/0, retr=1/1454, del=1/1, size=1437

    So the mail that was sent from bebop to info ends up in digerati's box
    I dont know why this happens and I do not know why I see things like
    message-id=<[email protected]

    when the server is waco-eng.com
     
    Last edited: Apr 9, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. digerati

    digerati New Member

    Thanks I went there and read what the link had to say.

    I dont see the mydomains being used in my main.cf ?

    Here it is. I tried to cull it down some so it wouldnt be soo long.
    This is what ispconfig has done to it.


    #soft_bounce = no
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    #default_privs = nobody
    #myhostname = host.domain.tld
    #myhostname = virtual.domain.tld
    #mydomain = domain.tld
    #myorigin = $myhostname
    #myorigin = $mydomain
    #inet_interfaces = all
    #inet_interfaces = $myhostname
    #inet_interfaces = $myhostname, localhost
    #proxy_interfaces =
    #proxy_interfaces = 1.2.3.4
    #mydestination = $myhostname, localhost.$mydomain, localhost
    ##mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    ##mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
    # mail.$mydomain, www.$mydomain, ftp.$mydomain
    #local_recipient_maps = unix:passwd.byname $alias_maps
    #local_recipient_maps = proxy:unix:passwd.byname $alias_maps
    #local_recipient_maps =
    unknown_local_recipient_reject_code = 550
    #mynetworks_style = class
    #mynetworks_style = subnet
    #mynetworks_style = host
    #mynetworks = 168.100.189.0/28, 127.0.0.0/8
    #mynetworks = $config_directory/mynetworks
    #mynetworks = hash:/etc/postfix/network_table
    #relay_domains = $#mydestination
    #relayhost = $mydomain
    #relayhost = [gateway.my.domain]
    #relayhost = [mailserver.isp.tld]
    #relayhost = uucphost
    #relayhost = [an.ip.add.ress]
    #relay_recipient_maps = hash:/etc/postfix/relay_recipients
    #in_flow_delay = 1s
    #alias_maps = dbm:/etc/aliases
    alias_maps = hash:/etc/aliases
    #alias_maps = hash:/etc/aliases, nis:mail.aliases
    #alias_maps = netinfo:/aliases
    #alias_database = dbm:/etc/aliases
    #alias_database = dbm:/etc/mail/aliases
    alias_database = hash:/etc/aliases
    #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
    #recipient_delimiter = +
    #home_mailbox = Mailbox
    #home_mailbox = Maildir/
    #mail_spool_directory = /var/mail
    #mail_spool_directory = /var/spool/mail
    #mailbox_command = /some/where/procmail
    #mailbox_command = /some/where/procmail -a "$EXTENSION"
    #mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
    #mailbox_transport = cyrus
    #fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
    #fallback_transport =
    #luser_relay = [email protected]
    #luser_relay = [email protected]
    #luser_relay = admin+$local
    #header_checks = regexp:/etc/postfix/header_checks
    #fast_flush_domains = $relay_domains
    #smtpd_banner = $myhostname ESMTP $mail_name
    #smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
    #local_destination_concurrency_limit = 2
    #default_destination_concurrency_limit = 20
    debug_peer_level = 2
    #debug_peer_list = 127.0.0.1
    #debug_peer_list = some.domain
    debugger_command =
    PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    xxgdb $daemon_directory/$process_name $process_id & sleep 5

    sendmail_path = /usr/sbin/sendmail.postfix

    newaliases_path = /usr/bin/newaliases.postfix

    mailq_path = /usr/bin/mailq.postfix

    setgid_group = postdrop

    html_directory = no

    manpage_directory = /usr/share/man

    sample_directory = /usr/share/doc/postfix-2.4.5/samples

    # readme_directory: The location of the Postfix README files.
    #
    readme_directory = /usr/share/doc/postfix-2.4.5/README_FILES
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    mynetworks = 127.0.0.0/8
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    smtpd_sasl_authenticated_header = yes
    myhostname = waco-eng.com
    home_mailbox = Maildir/
    mailbox_command =

    virtual_maps = hash:/etc/postfix/virtusertable

    mydestination = /etc/postfix/local-host-names


    Ok and here is some extra that may help you help me.


    [[email protected] ~]# 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! ####

    [[email protected] ~]# cat /etc/postfix/virtusertable
    ###################################
    #
    # ISPConfig virtusertable Configuration File
    # Version 1.0
    #
    ###################################
    [email protected] bebop
    [email protected] bebop
    [email protected] info
    [email protected] info
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you use this domain as myhostname causes the same problem.
     
  5. digerati

    digerati New Member

    Hrmm ok I did postfix reload anyways and it seemed to somehow maybe sort it out.

    I can now send an email from bebop to info and it go to the correct box and not in digeratis box

    But I tried to send an email from bebop to a gmail account and it was a not go

    The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was '[email protected]'. Subject '2223', Account: 'INFO', Server: '192.168.1.14', Protocol: SMTP, Server Response: '554 5.7.1 <[email protected]>: Relay access denied', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79

    Apr 9 15:30:55 server5 postfix/smtpd[20735]: connect from unknown[192.168.1.100]
    Apr 9 15:30:55 server5 postfix/smtpd[20735]: NOQUEUE: reject: RCPT from unknown[192.168.1.100]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<WACO2218>
    Apr 9 15:30:55 server5 postfix/smtpd[20735]: disconnect from unknown[192.168.1.100]

    Ok so I added [email protected] and I sent it an email from info to jobs.
    This is what it said

    Apr 9 15:35:34 server5 postfix/smtpd[20995]: connect from unknown[192.168.1.100]
    Apr 9 15:35:34 server5 postfix/smtpd[20995]: E80EB550395: client=unknown[192.168.1.100]
    Apr 9 15:35:34 server5 postfix/cleanup[20998]: E80EB550395: message-id=<[email protected]>
    Apr 9 15:35:34 server5 postfix/qmgr[20616]: E80EB550395: from=<[email protected]>, size=1350, nrcpt=1 (queue active)
    Apr 9 15:35:34 server5 postfix/smtpd[20995]: disconnect from unknown[192.168.1.100]
    Apr 9 15:35:35 server5 sendmail[21006]: m39KZZGl021006: from=jobs, size=105, class=0, nrcpts=1, msgid=<[email protected]>, [email protected]
    Apr 9 15:35:35 server5 postfix/smtpd[20995]: connect from localhost.localdomain[127.0.0.1]
    Apr 9 15:35:35 server5 postfix/smtpd[20995]: setting up TLS connection from localhost.localdomain[127.0.0.1]
    Apr 9 15:35:35 server5 postfix/smtpd[20995]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Apr 9 15:35:35 server5 sendmail[21006]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Apr 9 15:35:35 server5 postfix/smtpd[20995]: 13EF9550396: client=localhost.localdomain[127.0.0.1], [email protected]
    Apr 9 15:35:35 server5 postfix/cleanup[20998]: 13EF9550396: message-id=<[email protected]>
    Apr 9 15:35:35 server5 postfix/qmgr[20616]: 13EF9550396: from=<[email protected]>, size=691, nrcpt=1 (queue active)
    Apr 9 15:35:35 server5 sendmail[21006]: m39KZZGl021006: [email protected], ctladdr=jobs (10023/10003), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30105, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 13EF9550396)
    Apr 9 15:35:35 server5 postfix/smtpd[20995]: disconnect from localhost.localdomain[127.0.0.1]
    Apr 9 15:35:35 server5 postfix/local[21015]: 13EF9550396: to=<[email protected]>, relay=local, delay=0.06, delays=0.04/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr 9 15:35:35 server5 postfix/qmgr[20616]: 13EF9550396: removed
    Apr 9 15:35:38 server5 postfix/local[20999]: E80EB550395: to=<[email protected]>, relay=local, delay=3.9, delays=0.05/0.01/0/3.8, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr 9 15:35:38 server5 postfix/qmgr[20616]: E80EB550395: removed

    Seems to work, but Why am I seeing [email protected]ldomain ?
     
    Last edited: Apr 9, 2008
  6. digerati

    digerati New Member


    Im sorry till, I am trying I really am, but I am afraid I might need a little spoon feeding on that one, I dont understand precisly what you mean.
     
  7. digerati

    digerati New Member

    I just tried to send outbound to gmail again and this time I checked Server Requires Auth in my client and it went.

    What does this tell me?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    This tells you to enable always smtp auth in your mail client.
     
  9. digerati

    digerati New Member

    Hrmm yes is appears Ihave it set to require that.


    On another note, I installed SquirrelMail and UebiMiau on the server through the update section.

    I can log in with bebop and all is well, I cant with any other accounts.

    Any idea as to why?

    Apr 9 16:09:21 server5 dovecot: imap-login: Aborted login (0 authentication attempts): rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Apr 9 16:09:34 server5 dovecot: imap-login: Aborted login (1 authentication attempts): user=<jdonald>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
     
    Last edited: Apr 9, 2008
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    grep jdonald /etc/passwd
     
  11. digerati

    digerati New Member

    jdonald doesnt work

    [[email protected] ~]# grep jdonald /etc/passwd
    jdonald:x:10011:10003:Judy Donald:/var/www/web3/user/jdonald:/bin/false

    all of the following appear to work in Outlook Express and Squirrel mail

    [[email protected] ~]# grep support /etc/passwd
    support:x:10004:10003:support:/var/www/web3/user/support:/bin/false
    [[email protected] ~]# grep info /etc/passwd
    info:x:10022:10003:info:/var/www/web3/user/info:/bin/false
    [[email protected] ~]# grep bebop /etc/passwd
    bebop:x:10028:10003:bebop:/var/www/web3/user/bebop:/bin/false
     
    Last edited: Apr 10, 2008
  12. digerati

    digerati New Member

    Almost Solved

    I dont know whats happening....


    I have several users I created yesterday and none will work in Outlook Express or in SquirrelMail, UebiMiau, or Roundcube. I like roundcube the best and intend on using that, but anyways what I have found is that if I log in via ssh, get root, and change their reenter their passwords....IT WORKS.

    Why is that?

    before I reset the pass, he could not log in.

    Apr 10 08:58:43 waco-eng dovecot: imap-login: Disconnected: user=<rsmith>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Apr 10 08:58:57 waco-eng dovecot: imap-login: Disconnected: user=<rsmith>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured

    I reset the pass and he can.

    Apr 10 08:59:33 waco-eng dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Apr 10 08:59:33 waco-eng dovecot: IMAP(rsmith): Disconnected: Logged out
    Apr 10 08:59:33 waco-eng dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Apr 10 08:59:33 waco-eng dovecot: IMAP(rsmith): Disconnected: Logged out
    Apr 10 08:59:34 waco-eng dovecot: imap-login: Login: user=<rsmith>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Apr 10 08:59:34 waco-eng dovecot: IMAP(rsmith): Disconnected: Logged out

    I dont know whats going on so I cant learn from it.

    Please help.
     
  13. falko

    falko Super Moderator ISPConfig Developer

    What's the value of $go_info["server"]["password_hash"] in /home/admispconfig/ispconfig/lib/config.inc.php?
     
  14. digerati

    digerati New Member

    $
    $go_info["server"]["password_hash"] = 'crypt'; // 'crypt' = crypt; 'md5' = crypt-md5
     
  15. falko

    falko Super Moderator ISPConfig Developer

    You could try md5 instead. Do you use passwords with more than 8 characters?
     
  16. digerati

    digerati New Member

    I think all things are worked out now for the moment. I think I can now create a username and issue it a password and it just works now. I will double check and if it doesnt, get back to you.

    My main thing was I wanted a seemless transition from a mailserver on windows to this mail server on linux.

    All I wanted to do was switch a port on the router, but now it wont be that simple as I cant get around the prefex in the email addresses for clients and webmail.
     

Share This Page