LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-03-2010, 11:26 PM   #1
TheGNUbie
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Rep: Reputation: 0
postfix not sending outbound mail


Ive just setup a Mail Server With LDAP, Postfix, RoundCube, Dovecot, ClamAV, SpamAssassin, Amavisd, DKIM, SPF On Debian (Lenny) using iRedMail and things went pretty smooth except when I try to send mail it just hangs in the postfix queue and times out when trying to connect to hotmail or gmail.
Code:
Mar  3 21:34:40 prometheus postfix/smtp[24022]: connect to alt3.gmail-smtp-in.l.
google.com[74.125.79.27]:25: Connection timed out
Mar  3 21:35:10 prometheus postfix/smtp[24022]: connect to alt4.gmail-smtp-in.l.
google.com[209.85.129.114]:25: Connection timed out
Mar  3 21:35:10 prometheus postfix/smtp[24022]: C7BA1236441F: to=<personal@gmail.
com>, relay=none, delay=1491, delays=1341/0.02/150/0, dsn=4.4.1, status=deferred
 (connect to alt4.gmail-smtp-in.l.google.com[209.85.129.114]:25: Connection time
d out)
Mar  3 21:57:40 prometheus postfix/qmgr[2548]: 484F5236441C: from=<theGnubie@thegnubie
.us>, size=1491, nrcpt=1 (queue active)
Mar  3 21:58:11 prometheus postfix/smtp[24311]: connect to mx2.hotmail.com[65.55
.92.152]:25: Connection timed out
Mar  3 21:58:41 prometheus postfix/smtp[24311]: connect to mx2.hotmail.com[65.54
.188.110]:25: Connection timed out
Mar  3 21:59:11 prometheus postfix/smtp[24311]: connect to mx3.hotmail.com[65.55
.37.120]:25: Connection timed out
Mar  3 21:59:41 prometheus postfix/smtp[24311]: connect to mx3.hotmail.com[65.54
.188.72]:25: Connection timed out
Mar  3 22:00:11 prometheus postfix/smtp[24311]: connect to mx1.hotmail.com[65.54
.188.126]:25: Connection timed out
Mar  3 22:00:11 prometheus postfix/smtp[24311]: 484F5236441C: to=<personal@hotmai
l.com>, relay=none, delay=4301, delays=4151/0.02/150/0, dsn=4.4.1, status=deferr
ed (connect to mx1.hotmail.com[65.54.188.126]:25: Connection timed out)
Mar  3 22:01:01 prometheus cleanup: clean up process starting: policyd v1.82
I read a few other posts here ( http://www.linuxquestions.org/questi...586/page3.html) but I dont believe this is the same problem...but I could be wrong.

Finally here is my postconf -n:
Code:
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
append_dot_mydomain = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
header_checks = pcre:/etc/postfix/header_checks.pcre
home_mailbox = Maildir/
inet_interfaces = all
mail_name = iRedMail
mail_version = 0.5.1
mailbox_command = /usr/lib/dovecot/deliver
mailbox_size_limit = 15728640
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = thegnubie.us
myhostname = prometheus.thegnubie.us
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = prometheus.thegnubie.us
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps
queue_run_delay = 300s
readme_directory = no
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap_recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap_recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:ldap:/etc/postfix/ldap_relay_domains.cf
relay_recipient_maps = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf
relayhost = 
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_user.cf
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain = 
smtpd_sasl_path = dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail_CA.pem
smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /home/vmail/vmail01
virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = dovecot
virtual_uid_maps = static:1001
 
Old 03-04-2010, 08:42 AM   #2
TheGNUbie
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Original Poster
Rep: Reputation: 0
For anyone else having the same problem, it looks like AT&T is blocking port 25. Apparently they will remove this restriction upon request.
 
  


Reply

Tags
mail, outbound, postfix, timeout


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix - connection refused on outbound mail asmweb Linux - Server 38 07-07-2008 03:36 PM
Postfix sending mail outside guy_ripper Linux - Server 1 05-17-2008 11:25 AM
sending mail using postfix fakie_flip Linux - Software 5 12-31-2007 06:01 AM
Postfix: appending to outbound mail conditionally jgombos Linux - Server 0 03-23-2007 09:45 PM
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 12:16 PM


All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration