View Single Post
  #1  
Old 30th January 2012, 07:25
astrem astrem is offline
Junior Member
 
Join Date: Jan 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation 551 User not local when sending email in Outlook using Ubuntu 11.04 ISPConfig 3

I have set up a cloud server running Ubuntu Server 11.04 and ISP Config 3 installed. Everything works fine except when I want to send out an email with a email client such as Outlook I get the following error: '551 User not local'.

I enabled "Server requires authentication" in the client. The email is working fine when using webmail (Squirrelmail), both sending and receiving. Also I can receive emails in Outlook, but not send. Does anyone know what is the problem and how to resolve this?

Log file of the mail server:
Jan 29 22:56:05 webdevs postfix/smtpd[9064]: connect from cpc11-sand8-2-0-cust200.wolv.cable.virginmedia.com[77.98.86.201]
Jan 29 22:56:06 webdevs postfix/smtpd[9064]: NOQUEUE: reject: RCPT from cpc11-sand8-2-0-cust200.wolv.cable.virginmedia.com[77.98.86.201]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=<[192.168.0.7]>
Jan 29 22:56:06 webdevs postfix/smtpd[9064]: disconnect from cpc11-sand8-2-0-cust200.wolv.cable.virginmedia.com[77.98.86.201]

My postfix configuration:

postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mailbox_size_limit = 0
message_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = webdevs.org, localhost, localhost.localdomain
myhostname = webdevs.org
mynetworks = 127.0.0.0/8 [::1]/128
myorigin = /etc/mailname
nested_header_checks = regexp:/etc/postfix/nested_header_checks
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 = +
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_security_level = may
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 = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = maildrop
virtual_uid_maps = static:5000
Reply With Quote
Sponsored Links