Unbale to login to Postfix from webmail

Discussion in 'HOWTO-Related Questions' started by wasimriz, Apr 2, 2009.

  1. wasimriz

    wasimriz New Member

    Hello-

    I'd configured Postfix with virtual user,spam,clamvd..... on ubuntu.
    every thing work fine.. i'd configured mail server perfectly.
    but after configuration when i try to login from webmail is rec. following alert

    ERROR: Connection dropped by IMAP server.

    Below is my log file detail and postfix configuration setting respectively, Please help me out.... Btw to make my mail server globally what should i do.
    currently my IP is 10.30.5.225/24 (Private)

    after checking the mail.log i get the below entries
    Apr 1 21:08:46 ubuntu postfix/qmgr[25175]: 646A4BD189: from=<[email protected]>, size=352, nrcpt=1 (queue active)
    Apr 1 21:08:46 ubuntu postfix/smtp[25760]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Apr 1 21:08:46 ubuntu postfix/smtp[25760]: 646A4BD189: to=<[email protected]>, relay=none, delay=508, delays=508/0.2/0.03/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Apr 1 21:18:46 ubuntu postfix/qmgr[25175]: 646A4BD189: from=<[email protected]>, size=352, nrcpt=1 (queue active)
    Apr 1 21:18:46 ubuntu postfix/smtp[26076]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Apr 1 21:18:46 ubuntu postfix/smtp[26076]: 646A4BD189: to=<[email protected]>, relay=none, delay=1109, delays=1109/0.04/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Apr 1 21:24:08 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 1 21:24:08 ubuntu imapd: LOGIN FAILED, user=servicedesk, ip=[::ffff:127.0.0.1]
    Apr 1 21:24:13 ubuntu imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=53, sent=332
    Apr 1 21:24:46 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 1 21:24:46 ubuntu imapd: chdir mynetmagician.net/servicedesk/: No such file or directory
    Apr 1 21:24:57 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 1 21:24:57 ubuntu imapd: LOGIN FAILED, user=servicedesk, ip=[::ffff:127.0.0.1]
    Apr 1 21:25:03 ubuntu imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=53, sent=332
    Apr 1 21:25:12 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 1 21:25:12 ubuntu imapd: LOGIN FAILED, user=wasimr, ip=[::ffff:127.0.0.1]
    Apr 1 21:25:17 ubuntu imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=45, sent=332
    Apr 1 21:25:31 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 1 21:25:31 ubuntu imapd: LOGIN FAILED, user=servicedesk, ip=[::ffff:127.0.0.1]
    Apr 1 21:25:36 ubuntu imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=53, sent=332
    Apr 1 21:26:04 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 1 21:26:04 ubuntu imapd: chdir mynetmagician.net/servicedesk/: No such file or directory
    Apr 1 21:28:12 ubuntu postfix/smtpd[26189]: connect from unknown[10.30.5.225]
    Apr 1 21:28:27 ubuntu postfix/smtpd[26189]: disconnect from unknown[10.30.5.225]
    Apr 1 21:28:33 ubuntu imapd: Connection, ip=[::ffff:10.30.5.225]
    Apr 1 21:29:09 ubuntu imapd: Disconnected, ip=[::ffff:10.30.5.225], time=36
    Apr 1 21:31:47 ubuntu postfix/anvil[26192]: statistics: max connection rate 1/60s for (smtp:10.30.5.225) at Apr 1 21:28:12
    Apr 1 21:31:47 ubuntu postfix/anvil[26192]: statistics: max connection count 1 for (smtp:10.30.5.225) at Apr 1 21:28:12
    Apr 1 21:31:47 ubuntu postfix/anvil[26192]: statistics: max cache size 1 at Apr 1 21:28:12
    Apr 1 21:35:40 ubuntu imapd: Connection, ip=[::ffff:10.30.1.80]
    Apr 1 21:35:47 ubuntu imapd: Disconnected, ip=[::ffff:10.30.1.80], time=7
    Apr 1 21:35:51 ubuntu pop3d: Connection, ip=[::ffff:10.30.1.80]
    Apr 1 21:36:08 ubuntu pop3d: LOGIN FAILED, user=servicedesk, ip=[::ffff:10.30.1.80]
    Apr 1 21:36:18 ubuntu pop3d: Disconnected, ip=[::ffff:10.30.1.80]
    Apr 1 21:38:46 ubuntu postfix/qmgr[25175]: 646A4BD189: from=<[email protected]>, size=352, nrcpt=1 (queue active)
    Apr 1 21:38:46 ubuntu postfix/smtp[26279]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Apr 1 21:38:46 ubuntu postfix/smtp[26279]: 646A4BD189: to=<[email protected]>, relay=none, delay=2308, delays=2308/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Apr 1 21:39:14 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 1 21:39:14 ubuntu imapd: chdir mynetmagician.net/salil/: No such file or directory
    Apr 1 21:39:22 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 1 21:39:22 ubuntu imapd: LOGIN FAILED, user=salil, ip=[::ffff:127.0.0.1]
    Apr 1 21:39:27 ubuntu imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=41, sent=332
    Apr 1 21:39:47 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 1 21:39:47 ubuntu imapd: chdir mynetmagician.net/wasim/: No such file or directory
    Apr 1 21:42:06 ubuntu postfix/pickup[25174]: 95094BD193: uid=0 from=<root>
    Apr 1 21:42:06 ubuntu postfix/cleanup[26455]: 95094BD193: message-id=<[email protected]>
    Apr 1 21:42:06 ubuntu postfix/qmgr[25175]: 95094BD193: from=<[email protected]>, size=313, nrcpt=1 (queue active)
    Apr 1 21:42:06 ubuntu postfix/smtp[26458]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Apr 1 21:42:06 ubuntu postfix/smtp[26458]: 95094BD193: to=<[email protected]>, relay=none, delay=0.25, delays=0.23/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

    Can u please help me how to get rid of this error.
    Below is my main.cf configuration
    root@mynetmagician:/home# postconf -n
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    content_filter = amavis:[127.0.0.1]:10024
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = all
    mailbox_size_limit = 0
    mydestination = mynetmagician.net, localhost, localhost.localdomain
    myhostname = mynetmagician.net
    mynetworks = 127.0.0.0/8
    myorigin = /etc/mailname
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    readme_directory = /usr/share/doc/postfix
    receive_override_options = no_address_mappings
    recipient_delimiter = +
    relayhost =
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_use_tls = yes
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_gid_maps = static:5000
    virtual_mailbox_base = /home/vmail
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
    virtual_mailbox_limit_override = yes
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_maildir_extended = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    virtual_uid_maps = static:5000
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ispconfig version do you have installed?
     
  3. wasimriz

    wasimriz New Member

    Hello

    Thanks for quick reply

    but i havent installed any ISPCONFIG
    Postfix 2.5.5, Courier, MySQL 5 And SquirrelMail (Ubuntu 8.10) (with Virtual user and Domian)

    Pleasecan u help me out .....
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Ok, I've moved your thread out of the ISPConfig 2 forum to HOWTO-Related Questions.

    Did you send a welcome email to all accounts you created?
     
  5. wasimriz

    wasimriz New Member

    yes i had send mail to root as welcome mail

    sendmail -v root

    and after which i had run
    mailq command
    i got the following error

    Apr 5 04:03:56 ubuntu postfix/smtp[23211]: 1901ABD1A3: to=<[email protected]>, relay=none, delay=5.4, delays=0.96/0.09/4.3/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=mynetmagic.net type=A: Host not found)
    Apr 5 04:03:56 ubuntu postfix/qmgr[9581]: 1901ABD1A3: removed

    Can u please figure out what could be problem for the following issue

    Same setup i have configured with out MySQL virtual user which is working.... but with MySQL Virtual user i'm facing issue.
     
    Last edited: Apr 6, 2009
  6. falko

    falko Super Moderator Howtoforge Staff

    You must send a welcome mail to the accounts that you've configured in the database, not to root.

    Also, please create an A record for mynetmagic.net.
     

Share This Page