![]() |
relay access denied (i've readen the previous post about this )
Hello,
I'm really sorry to bother you with that question. I've spent two days on this problem and now i really don't know what to do.:( I can send an email to a user of my domain but i can't receive it even if i use the webmail. When i try to send a message to test@eatn.net i have this error message: Code:
Recipient address: test@eatn.net-Debian stable This is the configuration of my website, i've created everything using ISPconfig: Server: hulk hostname: hulk domain: eatn.net ip adress: 193.251.177.175 User mail: test@eatn.net User login: web4_test This is my /etc/hosts file: Code:
hulk:/etc/postfix/ssl# cat /etc/hostsCode:
###################################This is my main.cf file: Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete versionCode:
$TTL 86400 |
You have added eatn.net manually to your local-host-names file. As ISPConfig has not added it automatically, this means that eatn.net can not receive any mail.
Does the site: hostname: hulk domain: eatn.net have a co-domain eatn.net with empty hostname? If not, create it. |
Please put these two lines into /etc/postfix/main.cf:
Code:
virtual_maps = hash:/etc/postfix/virtusertable |
i'm still can't send any messages
Ok i've made the changes to my config files and also added a co-domain, and restarted postfix. But i still can't receive any messages even using the webmail.
This is my error log, Nov 29 09:52:51 hulk postfix/postfix-script: stopping the Postfix mail system Nov 29 09:52:51 hulk postfix/master[8118]: terminating on signal 15 Nov 29 09:52:51 hulk postfix/postfix-script: starting the Postfix mail system Nov 29 09:52:51 hulk postfix/master[8253]: daemon started -- version 2.1.5 Nov 29 09:53:09 hulk postfix/smtpd[8262]: connect from romeo.unige.ch[129.194.9.228] Nov 29 09:53:09 hulk postfix/smtpd[8262]: 6570E2AD13: client=romeo.unige.ch[129.194.9.228] Nov 29 09:53:09 hulk postfix/cleanup[8265]: 6570E2AD13: message-id=<7BFBE407-EE26-4682-805C-F6AD2035080F@droit.unige.ch> Nov 29 09:53:09 hulk postfix/qmgr[8257]: 6570E2AD13: from=<foo.bar@unige.ch>, size=1028, nrcpt=1 (queue active) Nov 29 09:53:09 hulk postfix/smtpd[8262]: disconnect from romeo.unige.ch[129.194.9.228] Nov 29 09:53:09 hulk postfix/smtp[8266]: connect to strategic-monitoring.com[193.251.177.175]: Connection refused (port 25) Nov 29 09:53:09 hulk postfix/smtp[8266]: 6570E2AD13: to=<web4_test@strategic-monitoring.com>, orig_to=<test@eatn.net>, relay=none, delay=0, status=deferred (connect to strategic-monitoring.com[193.251.177.175]: Connection refused) Nov 29 09:53:09 hulk pop3d-ssl: LOGIN, user=web4_test, ip=[::ffff:xxx.xxx.xxx.xx] Nov 29 09:53:09 hulk pop3d-ssl: LOGOUT, user=web4_test, ip=[::ffff:xxx.xxx.xxx.xx], top=0, retr=0, time=0 Nov 29 09:53:11 hulk pop3d-ssl: LOGIN, user=web4_test, ip=[::ffff:xxx.xxx.xxx.xx] Nov 29 09:53:11 hulk pop3d-ssl: LOGOUT, user=web4_test, ip=[::ffff:xxx.xxx.xxx.xx], top=0, retr=0, time=0 Nov 29 09:53:12 hulk pop3d-ssl: LOGIN, user=web4_test, ip=[::ffff:xxx.xxx.xxx.xx] Nov 29 09:53:12 hulk pop3d-ssl: LOGOUT, user=web4_test, ip=[::ffff:xxx.xxx.xxx.xx], top=0, retr=0, time=0 This is my local-host-names ################################### # # ISPConfig local-host-names Configuration File # Version 1.0 # ################################### localhost hulk.strategic-monitoring.com localhost.hulk.strategic-monitoring.com localhost.strategic-monitoring.com hulk.eatn.net eatn.net #### MAKE MANUAL ENTRIES BELOW THIS LINE! #### My ISP server is configured like this: Server name: hulk hostname: hulk domain: localhost ipadress:192.168.5.10 (i was wondering if i had to put a private as it's now,:( or a public ip adress ?) And with my new main.cf file: # See /usr/share/postfix/main.cf.dist for a commented, more complete version smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h myhostname = hulk.eatn.net virtual_maps = hash:/etc/postfix/virtusertable mydestination = /etc/postfix/local-host-names alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname relayhost = mynetworks = 127.0.0.0/8 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination smtpd_tls_auth_only = no smtp_use_tls = yes smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt 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 Thanks for your advices, Best regards, JJ |
resolved :)
I have added a co-domain and it's working now.
|
how you have added codomain?
|
| All times are GMT +2. The time now is 16:07. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.