View Single Post
  #1  
Old 5th November 2009, 19:05
pirateye pirateye is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remote host said: 554 5.7.1 Recipient address rejected: Access denied

I can send emails from mydomain.com but i can not receive.

sending mail from user@mydomain.com to user@gmail.com (or any other provider) is working

but

sending mail from user@gmail.com (or any other provider) to user@mydomain.com is not working

and mailer-daemon@gmail it says:

123.45.67.89 does not like recipient.
Remote host said: 554 5.7.1 <user@mydomain.com>: Recipient address rejected: Access denied
Giving up on 123.45.67.89.


I use ISPConfig version 2.2.33 and Postfix 2.5.5

main.cf looks like this:


smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no

smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = host.mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = /etc/postfix/local-host-names
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128, 192.168.1.0/24
mynetwork_style = class
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
mydestination = host.mydomain.com, localhost.mydomain.com, localhost.localdomain, localhost
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
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
append_at_myorigin = no
virtual_maps = hash:/etc/postfix/virtusertable


virtusertable looks like this



File: virtusertable Line 1 Col 0 317 bytes 100%
###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################

user@www.mydomain.com user
user@mydomain.com user
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####



any idea?
thanks!
Reply With Quote
Sponsored Links