View Single Post
  #6  
Old 5th March 2010, 12:46
gouravgarg gouravgarg is offline
Junior Member
 
Join Date: Nov 2009
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default Relay access denied by outlook express

by doing telnet localhost 25 then mail server are working fine

using outlook express then local mail server are working fine
but outgoing mail on internet giving me relay access denied

LOG
>> START Recipient address RESTRICTIONS <<<
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: generic_checks: name=permit_sasl_authenticated
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: generic_checks: name=permit_sasl_authenticated status=0
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: generic_checks: name=permit_mynetworks
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: permit_mynetworks: unknown 124.253.39.117
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: match_hostname: unknown ~? 127.0.0.0/8
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: match_hostaddr: 124.253.39.117 ~? 127.0.0.0/8
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: match_hostname: unknown ~? [::ffff:127.0.0.0]/104
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: match_hostaddr: 124.253.39.117 ~? [::ffff:127.0.0.0]/104
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: match_hostname: unknown ~? [::1]/128
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: match_hostaddr: 124.253.39.117 ~? [::1]/128
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: match_list_match: unknown: no match
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: match_list_match: 124.253.39.117: no match
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: generic_checks: name=permit_mynetworks status=0
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: generic_checks: name=reject_unauth_destination
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: reject_unauth_destination: garg.gourav@gmail.com
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: permit_auth_destination: garg.gourav@gmail.com
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: ctable_locate: leave existing entry key garg.gourav@gmail.com
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: NOQUEUE: reject: RCPT from unknown[124.253.39.117]: 554 5.7.1 <garg.gourav@gmail.com>: Relay access denied; from=<sales@gohelp.in> to=<garg.gourav@gmail.com> proto=ESMTP helo=<euic1ca0732928>
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: generic_checks: name=reject_unauth_destination status=2
Mar 5 16:58:56 ubuntu postfix/smtpd[10575]: > unknown[124.253.39.117]: 554 5.7.1 <garg.gourav@gmail.com>: Relay access denied
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: < unknown[124.253.39.117]: QUIT
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: > unknown[124.253.39.117]: 221 2.0.0 Bye
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: match_hostname: unknown ~? 127.0.0.0/8
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: match_hostaddr: 124.253.39.117 ~? 127.0.0.0/8
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: match_hostname: unknown ~? [::ffff:127.0.0.0]/104
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: match_hostaddr: 124.253.39.117 ~? [::ffff:127.0.0.0]/104
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: match_hostname: unknown ~? [::1]/128
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: match_hostaddr: 124.253.39.117 ~? [::1]/128
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: match_list_match: unknown: no match
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: match_list_match: 124.253.39.117: no match
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: send attr request = disconnect
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: send attr ident = smtp:124.253.39.117
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: private/anvil: wanted attribute: status
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: input attribute name: status
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: input attribute value: 0
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: private/anvil: wanted attribute: (list terminator)
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: input attribute name: (end)
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: disconnect from unknown[124.253.39.117]
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: master_notify: status 1
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: connection closed
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: proxymap stream disconnect
Mar 5 16:58:59 ubuntu postfix/smtpd[10575]: auto_clnt_close: disconnect private/tlsmgr stream
Mar 5 16:59:01 ubuntu postfix/smtpd[10575]: rewrite stream disconnect


My outlook configure simple
by enable checkbox to My outgoing server (SMTP) require authentication in oulook express during account configuration errror for user validation

LOG
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 220 ubuntu.gohelp.in ESMTP Postfix (Ubuntu)
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: < unknown[124.253.39.117]: EHLO euic1ca0732928
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-ubuntu.gohelp.in
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-PIPELINING
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-SIZE 10240000
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-VRFY
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-ETRN
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-STARTTLS
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-AUTH PLAIN LOGIN
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_list_match: unknown: no match
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_list_match: 124.253.39.117: no match
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-AUTH=PLAIN LOGIN
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-ENHANCEDSTATUSCODES
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250-8BITMIME
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 250 DSN
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: < unknown[124.253.39.117]: AUTH LOGIN
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: xsasl_cyrus_server_first: sasl_method LOGIN
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: xsasl_cyrus_server_auth_response: uncoded server challenge: Username:
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 334 VXNlcm5hbWU6
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: < unknown[124.253.39.117]: c2FsZXNAZXVsdGltYXRlaW5jLmNvbQ==
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: xsasl_cyrus_server_next: decoded response: sales@eultimateinc.com
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: xsasl_cyrus_server_auth_response: uncoded server challenge: Password:
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 334 UGFzc3dvcmQ6
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: < unknown[124.253.39.117]: c3M=
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: xsasl_cyrus_server_next: decoded response: ss
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: warning: unknown[124.253.39.117]: SASL LOGIN authentication failed: generic failure
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: > unknown[124.253.39.117]: 535 5.7.8 Error: authentication failed: generic failure
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: smtp_get: EOF
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_hostname: unknown ~? 127.0.0.0/8
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_hostaddr: 124.253.39.117 ~? 127.0.0.0/8
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_hostname: unknown ~? [::ffff:127.0.0.0]/104
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_hostaddr: 124.253.39.117 ~? [::ffff:127.0.0.0]/104
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_hostname: unknown ~? [::1]/128
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_hostaddr: 124.253.39.117 ~? [::1]/128
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_list_match: unknown: no match
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: match_list_match: 124.253.39.117: no match
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: send attr request = disconnect
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: send attr ident = smtp:124.253.39.117
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: private/anvil: wanted attribute: status
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: input attribute name: status
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: input attribute value: 0
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: private/anvil: wanted attribute: (list terminator)
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: input attribute name: (end)
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: lost connection after AUTH from unknown[124.253.39.117]
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: disconnect from unknown[124.253.39.117]
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: master_notify: status 1
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: connection closed
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: proxymap stream disconnect
Mar 5 17:08:30 ubuntu postfix/smtpd[11692]: auto_clnt_close: disconnect private/tlsmgr stream



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
debug_peer_level = 4
html_directory = /usr/share/doc/postfix/html
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $rela y_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 = +
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks 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

i followed this tutorial
http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu9.04
Reply With Quote