PDA

View Full Version : Postfix relayhost issue


TinkerAllison
3rd April 2007, 03:02
I have read as many post in these forums an on the internet as I can find. But I can't get past my relayhost issue. If I get the server to authenticate it times out. If I connect without timing out, it does not authenticate. This is my 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
relayhost = [outbound.mailhop.org]:2525
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.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
broken_sasl_auth_client = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_invalid_hostname, reject_unauth_pipelining, reject_unauth_destination, reject_rbl_client relays.orbd.org, reject_rbl_client opm.blitzed.org, reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client cbl.abuseat.org, permit

mynetworks = 192.168.1.0/28, 127.0.0.0/8
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
smtp_tls_session_cache_database = btree:/var/run/smtp_tls_session_cache
tls_random_source = dev:/dev/urandom
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names

And my sasl_passwd looks like:

[outbound.mailhop.org]:2525 username:password

An suggestions would be greatly appreciated.

:confused:

TinkerAllison
3rd April 2007, 05:47
I started with the "Installing A LAMP System With Fedora Core 6" Howto and installed ISPConfig after that. the relayhost issue is really the only known problem that I have left. If I can't get it fixed by Tuesday evening, I think I'll format and start over to see if I missed a major step a long the way.

falko
3rd April 2007, 20:13
Did you have a look here? http://www.howtoforge.com/postfix_relaying_through_another_mailserver

TinkerAllison
3rd April 2007, 21:01
yes, however this does not address the port issue. I've looked all over and I cann't find a specific refferance for the port information. Do you have a howto for the port change?

falko
4th April 2007, 15:08
I think this is your third thread dealing with this topic. I've answered in the other two threads.

Please don't double-post.