Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix, courier: can receive but can't send
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
predisposition
n00b
n00b


Joined: 30 Apr 2005
Posts: 23

PostPosted: Tue May 03, 2005 5:22 pm    Post subject: postfix, courier: can receive but can't send Reply with quote

Hi,

I've got a basic set up using postfix, courier-imap and cyrus-sasld. I've got squirrelmail installed and I'm able to log in and receive messages from external accounts. Below is from /var/log/mail.log when I log into squirrelmail and try to reply to a message that I received from a gmail account:
Code:

May  3 13:15:33 predisposition postfix/smtp[28275]: connect to gmail-smtp-in.l.google.com[64.233.185.27]: Connection refused (port 25)
May  3 13:15:33 predisposition postfix/smtp[28275]: connect to gsmtp171-2.google.com[64.233.171.114]: Connection refused (port 25)
May  3 13:15:33 predisposition postfix/smtp[28275]: connect to gsmtp171.google.com[64.233.171.27]: Connection refused (port 25)
May  3 13:15:33 predisposition postfix/smtp[28275]: connect to gsmtp185-2.google.com[64.233.185.114]: Connection refused (port 25)
May  3 13:15:33 predisposition postfix/smtp[28275]: connect to gsmtp185.google.com[64.233.185.27]: Connection refused (port 25)
May  3 13:15:33 predisposition postfix/smtp[28275]: connect to gsmtp57.google.com[216.239.57.27]: Connection refused (port 25)


Below is my /etc/postfix/main.cf -- I feel like i must be missing something simple, since this is from the local host...

Code:

predisposition root # cat /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
myhostname = predisposition.com
mydomain = predisposition.com
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks_style = host
home_mailbox = .maildir/
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
# below all added per virtual tutorial
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = predisposition.com

smtpd_recipient_restrictions =
        permit_sasl_authenticated,
        permit_mynetworks,
        reject_unauth_destination
smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom


Any help would be much appreciated.
_________________
http://predisposition.com/stuff
thank you gentoo community!
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Tue May 03, 2005 7:00 pm    Post subject: Reply with quote

Two guesses:

1) Your ISP is blocking port 25, and you'll have to use their relay server (if they offer one...)
2) Your firewall blocks port 25 outgoing?

/kiksen
Back to top
View user's profile Send private message
predisposition
n00b
n00b


Joined: 30 Apr 2005
Posts: 23

PostPosted: Tue May 03, 2005 8:00 pm    Post subject: Reply with quote

arghhh.... well, sometimes you just have to post before you realize what an idiot you are... yup, firewall blocking port 25 outgoing. Dang -- thanks for the reality check.

:oops:

Sam
_________________
http://predisposition.com/stuff
thank you gentoo community!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum