Telaen Webmail 1.2.0

Discussion in 'Server Operation' started by sage58, Feb 20, 2008.

  1. sage58

    sage58 New Member

    I have installed Telaen Webmail 1.2.0, however, I cannot send or receive mail. The interface says mail sent, however it never gets their or come back from another email address of mine off this network. I have look every where to find solution in forum. This is mailog:


    Feb 19 18:46:38 server1 postfix/postfix-script: starting the Postfix mail system
    Feb 19 18:46:38 server1 postfix/master[1830]: daemon started -- version 2.3.3, configuration /etc/postfix
    Feb 19 18:50:37 server1 dovecot: pop3-login: Aborted login: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Feb 19 18:50:37 server1 dovecot: pop3-login: Login: user=<web1_charles>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Feb 19 18:50:37 server1 dovecot: POP3(web1_charles): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Feb 19 18:51:01 server1 dovecot: pop3-login: Login: user=<web1_charles>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Feb 19 18:51:01 server1 dovecot: POP3(web1_charles): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Feb 19 18:51:01 server1 dovecot: pop3-login: Login: user=<web1_charles>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Feb 19 18:51:01 server1 dovecot: POP3(web1_charles): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Feb 19 18:51:08 server1 dovecot: pop3-login: Login: user=<web1_charles>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Feb 19 18:51:08 server1 dovecot: POP3(web1_charles): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
     
  2. topdog

    topdog Active Member

    If you are using webmail then you should be connecting to dovecot using IMAP not pop3 and from the logs there is nothing about SMTP.

    Please get the logs immediately when you hit send in the interface, postfix should log the error that will help in debugging this issue.
     
  3. sage58

    sage58 New Member

    Thank you Topdog for assist. This is mailog immediate after sending:

    Feb 20 08:30:21 server1 postfix/smtpd[6017]: connect from 122-116-17-144.HINET-IP.hinet.net[122.116.17.144]
    Feb 20 08:30:22 server1 postfix/smtpd[6017]: NOQUEUE: reject: RCPT from 122-116-17-144.HINET-IP.hinet.net[122.116.17.144]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<76.234.194.219>
    Feb 20 08:30:23 server1 postfix/smtpd[6017]: lost connection after RCPT from 122-116-17-144.HINET-IP.hinet.net[122.116.17.144]
    Feb 20 08:30:23 server1 postfix/smtpd[6017]: disconnect from 122-116-17-144.HINET-IP.hinet.net[122.116.17.144]
    Feb 20 08:33:43 server1 postfix/anvil[6019]: statistics: max connection rate 1/60s for (smtp:122.116.17.144) at Feb 20 08:30:21
    Feb 20 08:33:43 server1 postfix/anvil[6019]: statistics: max connection count 1 for (smtp:122.116.17.144) at Feb 20 08:30:21
    Feb 20 08:33:43 server1 postfix/anvil[6019]: statistics: max cache size 1 at Feb 20 08:30:21
    Feb 20 08:39:07 server1 postfix/smtpd[6165]: connect from 122-116-17-144.HINET-IP.hinet.net[122.116.17.144]
    Feb 20 08:39:09 server1 postfix/smtpd[6165]: NOQUEUE: reject: RCPT from 122-116-17-144.HINET-IP.hinet.net[122.116.17.144]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<76.234.194.220>
    Feb 20 08:39:10 server1 postfix/smtpd[6165]: lost connection after RCPT from 122-116-17-144.HINET-IP.hinet.net[122.116.17.144]
    Feb 20 08:39:10 server1 postfix/smtpd[6165]: disconnect from 122-116-17-144.HINET-IP.hinet.net[122.116.17.144]
    Feb 20 08:41:20 server1 dovecot: pop3-login: Aborted login: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Feb 20 08:41:20 server1 dovecot: pop3-login: Login: user=<web1_charles>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Feb 20 08:41:20 server1 dovecot: POP3(web1_charles): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Feb 20 08:42:14 server1 sendmail[6279]: m1KEgEb0006279: from=admispconfig, size=659, class=0, nrcpts=1, msgid=<[email protected]>, relay=admispconfig@localhost
    Feb 20 08:42:14 server1 postfix/smtpd[6280]: connect from localhost.localdomain[127.0.0.1]
    Feb 20 08:42:14 server1 postfix/smtpd[6280]: setting up TLS connection from localhost.localdomain[127.0.0.1]
    Feb 20 08:42:14 server1 postfix/smtpd[6280]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Feb 20 08:42:14 server1 sendmail[6279]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Feb 20 08:42:14 server1 postfix/smtpd[6280]: 8ACCF390149: client=localhost.localdomain[127.0.0.1], [email protected]
    Feb 20 08:42:14 server1 postfix/cleanup[6283]: 8ACCF390149: message-id=<[email protected]>
    Feb 20 08:42:14 server1 postfix/qmgr[3473]: 8ACCF390149: from=<[email protected]>, size=1090, nrcpt=1 (queue active)
    Feb 20 08:42:14 server1 sendmail[6279]: m1KEgEb0006279: [email protected], ctladdr=admispconfig (501/501), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30659, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 8ACCF390149)
    Feb 20 08:42:14 server1 postfix/smtpd[6280]: disconnect from localhost.localdomain[127.0.0.1]
    Feb 20 08:42:14 server1 dovecot: pop3-login: Login: user=<web1_charles>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
    Feb 20 08:42:14 server1 dovecot: POP3(web1_charles): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Feb 20 08:42:15 server1 postfix/smtp[6284]: 8ACCF390149: to=<[email protected]>, relay=aitmx6.prodigy.net[207.115.36.21]:25, delay=0.74, delays=0.29/0.1/0.23/0.11, dsn=5.1.8, status=bounced (host aitmx6.prodigy.net[207.115.36.21] said: 553 5.1.8 <[email protected]>... Domain of sender address does not exist (in reply to MAIL FROM command))
    Feb 20 08:42:15 server1 postfix/cleanup[6283]: 5EE1539068F: message-id=<[email protected]>
    Feb 20 08:42:15 server1 postfix/bounce[6288]: 8ACCF390149: sender non-delivery notification: 5EE1539068F
    Feb 20 08:42:15 server1 postfix/qmgr[3473]: 5EE1539068F: from=<>, size=3277, nrcpt=1 (queue active)
    Feb 20 08:42:15 server1 postfix/qmgr[3473]: 8ACCF390149: removed
    Feb 20 08:42:15 server1 postfix/local[6289]: 5EE1539068F: to=<[email protected]>, relay=local, delay=0.11, delays=0.02/0.01/0/0.09, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Feb 20 08:42:15 server1 postfix/qmgr[3473]: 5EE1539068F: removed
    Feb 20 08:42:30 server1 postfix/anvil[6167]: statistics: max connection rate 1/60s for (smtp:122.116.17.144) at Feb 20 08:39:07
    Feb 20 08:42:30 server1 postfix/anvil[6167]: statistics: max connection count 1 for (smtp:122.116.17.144) at Feb 20 08:39:07
    Feb 20 08:42:30 server1 postfix/anvil[6167]: statistics: max cache size 1 at Feb 20 08:39:07
     
    Last edited: Feb 21, 2008
  4. topdog

    topdog Active Member

    It seems like the mail is being sent from server1.jtec1.com instead of jtec1.com that is why the mail is being rejected. Does the mail go through if sent from the command line ?

    It also seems like you have not setup the alternatives properly as sendmail seems to still be working as well.

    Code:
    alternatives --config mta
    #select postfix
    
    Post your postfix config lets see what the issue could be
     
  5. sage58

    sage58 New Member

    mail_owner = postfix


    # SENDING MAIL


    # REJECTING MAIL FOR UNKNOWN LOCAL USERS

    unknown_local_recipient_reject_code = 550

    # TRUST AND RELAY CONTROL


    # INTERNET OR INTRANET


    # INPUT RATE CONTROL

    debug_peer_level = 2


    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: The full pathname of the Postfix mailq command. This
    # is the Sendmail-compatible mail queue listing command.
    #
    mailq_path = /usr/bin/mailq.postfix

    # setgid_group: The group for mail submission and queue management
    # commands. This must be a group name with a numerical group ID that
    # is not shared with other accounts, not even with the Postfix account.
    #
    setgid_group = postdrop

    # html_directory: The location of the Postfix HTML documentation.
    #
    html_directory = no

    # manpage_directory: The location of the Postfix on-line manual pages.
    #
    manpage_directory = /usr/share/man

    # sample_directory: The location of the Postfix sample configuration files.
    # This parameter is obsolete as of Postfix 2.1.
    #
    sample_directory = /usr/share/doc/postfix-2.3.3/samples

    # readme_directory: The location of the Postfix README files.
    #
    readme_directory = /usr/share/doc/postfix-2.3.3/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
    home_mailbox = Maildir/
    mailbox_command =

    virtual_maps = hash:/etc/postfix/virtusertable

    mydestination = /etc/postfix/local-host-names
     
  6. topdog

    topdog Active Member

    Add this to the file and test
    Code:
    masquerade_domains = jtec1.com
    
     
  7. sage58

    sage58 New Member

    Topdog thanks again for your help. So what I did after your help was reinstalled Telaen Webmail 1.2.0. Then went to /home/admispconfig/ispconfig/web/webmail/inc/config.php of the Telaen Webmail program. Made changed in the type detect area, this area had pop3, port 110 before and nothing in $mail_detect_folder_prefix =""

    $mail_detect_remove = "www.";
    $mail_detect_prefix = "mail.";
    $mail_detect_login_type = "%user%@%domain%";
    $mail_detect_protocol = "imap";
    $mail_detect_port = "143";
    $mail_detect_folder_prefix = "mail.yourdomain.com";

    Then under Specify mail transport type area of script, I changed : $mailer_type = "mail"; to $mailer_type = "smtp";

    Then under Your local SMTP Server (alias or IP) area of script, I put my Ip address: $smtp_server = "192.168.1.100"; #YOU NEED CHANGE IT !! This had local host inserted at first.

    Now I get and send email to myself on my network, however I don't no if it will receive and send from some one else outside of my network. If yo get a chance email me at [email protected] and I will let you know if it is receiving.

    Now, I am getting my data base and user showing as:

    Database Name Database User
    web1db1 web1u1

    If you notice there is no under score between the number and letters. It should look like this :


    Database Name Database User
    web1_db1 web1_u1

    The file are being displayed from the database without problem so far. I have reinstalled, however, still get this error in Centos 5.

    Thanks again Topdog
     
  8. topdog

    topdog Active Member

    I have sent the test mail, which error are you getting now on Centos ?
     
  9. sage58

    sage58 New Member

    Topdog I received your test email and sent one back. I assume yo received it. The only other problem I am having is database:

    Now, I am getting my data base and user showing as:

    Database Name Database User
    web1db1 web1u1

    If you notice there is no under score between the number and letters. It should look like this :


    Database Name Database User
    web1_db1 web1_u1

    The file are being displayed from the database without problem so far. I have reinstalled, however, still get this error in Centos 5.
     
  10. falko

    falko Super Moderator Howtoforge Staff

    That's the default behaviour since ISPConfig 2.2.20. We have removed the underscore because it can cause MySQL problems.
     

Share This Page