PDA

View Full Version : postfix helppls


aniss
26th September 2006, 06:43
i trx to configure post fix like 10 days and allways the same problem..
when i want to send mail like hotmail yahoo or other mail server what dont have smtp port.. i can not send i get this message

Sep 26 05:38:57 keleron postfix/smtp[25529]: connect to mx3.hotmail.com[65.54.245.72]: No route to host (port 25)

but when i send on mail server what have server port 25 its ok
to=<anis.s@bih.net.ba>, relay=smtp.bih.net.ba[195.222.32.43], delay=4, status=sent (250 2.5.0 Ok.)

why this happening how i can fix to send evryone..
i can receive mail thats ok

this is my configs fajls sorry if i spam

cat /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.1.5/samples
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
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
home_mailbox = Maildir/
mailbox_command =
myhostname = aniss.zapto.org
mydomain = $myhostname
myorigin = $mydomain
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
relayhost =

[root@aniss new]# cat /etc/postfix/local-host-names
###################################
#
# ISPConfig local-host-names Configuration File
# Version 1.0
#
###################################
localhost
localhost.aniss.zapto.org
localhost.zapto.org
localhost.localdomain
localhost.localdomain.aniss.zapto.org
aniss.zapto.org
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####


[root@aniss new]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.1 mail.aniss.zapto.org
192.168.0.1 aniss.zapto.org
192.168.0.2 lala.aniss.zapto.org
192.168.0.3 192-168-0-3-dhcp.aniss.zapto.org
192.168.0.4 192-168-0-4-dhcp.aniss.zapto.org
192.168.0.5 192-168-0-5-dhcp.aniss.zapto.org
192.168.0.6 kreho52.aniss.zapto.org
192.168.0.7 192-168-0-7-dhcp.aniss.zapto.org
192.168.0.8 192-168-0-8-dhcp.aniss.zapto.org
192.168.0.9 192-168-0-9-dhcp.aniss.zapto.org
192.168.0.10 192-168-0-10-dhcp.aniss.zapto.org

why this happening???
tnx

falko
27th September 2006, 21:09
when i want to send mail like hotmail yahoo or other mail server what dont have smtp port.. i can not send i get this message

Sep 26 05:38:57 keleron postfix/smtp[25529]: connect to mx3.hotmail.com[65.54.245.72]: No route to host (port 25)

It's possible that Hotmail is blocking you because your server is on a dynamic IP address or because it is on some blacklist...