Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd April 2009, 21:49
wasimriz wasimriz is offline
Junior Member
 
Join Date: Apr 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unbale to login to Postfix from webmail

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=<root@mynetmagic.net>, 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=<servicedesk@mynetmagician.net>, 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=<root@mynetmagic.net>, 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=<servicedesk@mynetmagician.net>, 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=<root@mynetmagic.net>, 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=<servicedesk@mynetmagician.net>, 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=<20090402014206.95094BD193@mynetmagician.net>
Apr 1 21:42:06 ubuntu postfix/qmgr[25175]: 95094BD193: from=<root@mynetmagic.net>, 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=<wasim@mynetmagician.net>, 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
Reply With Quote
Sponsored Links
  #2  
Old 3rd April 2009, 10:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Which ispconfig version do you have installed?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd April 2009, 21:11
wasimriz wasimriz is offline
Junior Member
 
Join Date: Apr 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 .....
Reply With Quote
  #4  
Old 4th April 2009, 14:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th April 2009, 11:07
wasimriz wasimriz is offline
Junior Member
 
Join Date: Apr 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Smile

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=<root@mynetmagic.net>, 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 by wasimriz; 6th April 2009 at 13:37.
Reply With Quote
  #6  
Old 6th April 2009, 14:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 12:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 18:57
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36


All times are GMT +2. The time now is 05:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.