Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th September 2010, 05:20
jaimecanchela jaimecanchela is offline
Junior Member
 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help postfix cannot send to external email like yahoo.com

I followed thw guide Perfect Setup ubuntu 10.04 with ISP Config 3. My problem now is i can't send any message to any external recipient.

This is my main.cf

Quote:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
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

readme_directory = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = server1.stacecilia.edu.ph
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = server1.stacecilia.edu.ph, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0
Reply With Quote
Sponsored Links
  #2  
Old 29th September 2010, 09:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Do you get any error messages in the file /var/log/mail.log when you try to send a message?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th September 2010, 09:47
jaimecanchela jaimecanchela is offline
Junior Member
 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sep 29 15:33:30 server1 postfix/smtp[12245]: connect to j.mx.mail.yahoo.com[66.94.237.64]:25: Connection timed out
Sep 29 15:33:51 server1 postfix/smtp[12245]: connect to h.mx.mail.yahoo.com[66.94.236.34]:25: Connection timed out
Sep 29 15:34:12 server1 postfix/smtp[12245]: connect to g.mx.mail.yahoo.com[98.137.54.238]:25: Connection timed out
Sep 29 15:34:33 server1 postfix/smtp[12245]: connect to i.mx.mail.yahoo.com[74.6.140.64]:25: Connection timed out
Sep 29 15:34:54 server1 postfix/smtp[12245]: connect to d.mx.mail.yahoo.com[209.191.88.254]:25: Connection timed out
Sep 29 15:34:54 server1 postfix/smtp[12245]: C38DC1CC19DF: to=<jaimecanchela@yahoo.com>, relay=none, delay=20013, delays=1990$
Sep 29 15:35:02 server1 imapd: Connection, ip=[::1]
Sep 29 15:35:02 server1 imapd: Disconnected, ip=[::1], time=0
Sep 29 15:35:02 server1 pop3d: Connection, ip=[::1]
Sep 29 15:35:02 server1 pop3d: Disconnected, ip=[::1]
Sep 29 15:35:02 server1 postfix/smtpd[12277]: connect from localhost.localdomain[127.0.0.1]
Sep 29 15:35:02 server1 postfix/smtpd[12277]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Sep 29 15:35:02 server1 postfix/smtpd[12277]: disconnect from localhost.localdomain[127.0.0.1]
Sep 29 15:40:01 server1 pop3d: Connection, ip=[::1]
Sep 29 15:40:01 server1 pop3d: Disconnected, ip=[::1]
Sep 29 15:40:01 server1 imapd: Connection, ip=[::1]
Sep 29 15:40:01 server1 imapd: Disconnected, ip=[::1], time=0
Sep 29 15:40:01 server1 postfix/smtpd[12385]: connect from localhost.localdomain[127.0.0.1]
Sep 29 15:40:01 server1 postfix/smtpd[12385]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Sep 29 15:40:01 server1 postfix/smtpd[12385]: disconnect from localhost.localdomain[127.0.0.1]
Sep 29 15:43:09 server1 postfix/qmgr[6322]: 19D691CC19CC: from=<jaimecanchela@stacecilia.edu.ph>, size=1304, nrcpt=1 (queue a$
Sep 29 15:43:09 server1 postfix/qmgr[6322]: B5DCB1CC19E2: from=<jaimecanchela@stacecilia.edu.ph>, size=1304, nrcpt=1 (queue a$
Reply With Quote
  #4  
Old 30th September 2010, 13:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Please check if your server is blacklisted: http://mxtoolbox.com/blacklists.aspx
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 30th September 2010, 22:48
mmidgett mmidgett is offline
Senior Member
 
Join Date: Aug 2006
Location: Mooresville, North Carolina - USA
Posts: 112
Thanks: 5
Thanked 14 Times in 13 Posts
 
Default

I have no trouble after PTR and SPF records were created.

See attatchements
Attached Images
  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Could not send and receive piseth Installation/Configuration 16 17th July 2010 18:27
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
RoundCube Sends but will not receive. happz Installation/Configuration 33 17th April 2010 21:55
Cant send email, wrong IPs for amavis and postfix? andreasnrb Installation/Configuration 3 23rd March 2010 10:53
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 22:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.