Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th October 2009, 01:12
Happy Happy is offline
Member
 
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default All Mail is failing to be sent

I am getting the following error message when I try to send mail out to alsmost any domain

Final-Recipient: rfc822; john55.smith@aol.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
for name=aol.com type=AAAA: Host found but no data record of requested
type

Sometimes mail goes out other times it does not. Local mail seems to work fine (menaing as long as the user is on my mail server mail is deleivered). This just started this afternoon. I am not sure where to check or look. This mail server has been up for a couple of years with not a single problem. All inbound mail seems to work fine-it looks like outbound is only affected

Last edited by Happy; 24th October 2009 at 02:06.
Reply With Quote
Sponsored Links
  #2  
Old 24th October 2009, 14:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Any errors in your mail log? What's in /etc/postfix/main.cf?
__________________
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
  #3  
Old 24th October 2009, 15:12
Happy Happy is offline
Member
 
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default mail log and /etc/postfix/main.cf file

mail log:

Oct 24 06:38:05 mail postfix/smtpd[8150]: warning: cannot get certificate from file /etc/postfix/ssl/smtpd.crt
Oct 24 06:38:05 mail postfix/smtpd[8150]: warning: TLS library problem: 8150:error:02001002:system library:fopen:No such file or directory:bss_file.c:349:fopen('/etc/postfix/ssl/smtpd.crt','r'):
Oct 24 06:38:05 mail postfix/smtpd[8150]: warning: TLS library problem: 8150:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:351:
Oct 24 06:38:05 mail postfix/smtpd[8150]: warning: TLS library problem: 8150:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:720:
Oct 24 06:38:05 mail postfix/smtpd[8150]: cannot load RSA certificate and key data
Oct 24 06:38:06 mail postfix/smtpd[8150]: connect from ip120.indooracting.com[72.46.152.120]
Oct 24 06:38:06 mail postfix/smtpd[8150]: D7A0FEDC10: client=ip120.indooracting.com[72.46.152.120]
Oct 24 06:38:07 mail postfix/cleanup[8154]: D7A0FEDC10: message-id=<20091023190030.glalafknoo@vsly.lineunderrock.c om>
Oct 24 06:38:07 mail postfix/qmgr[6862]: D7A0FEDC10: from=<n.74351.7622444@vsly.lineunderrock.com>, size=4902, nrcpt=1 (queue active)
Oct 24 06:38:07 mail postfix/local[8155]: D7A0FEDC10: to=<cy@theco1984.net>, relay=local, delay=1, status=sent (delivered to maildir)
Oct 24 06:38:07 mail postfix/qmgr[6862]: D7A0FEDC10: removed
Oct 24 06:38:07 mail postfix/smtpd[8150]: disconnect from ip120.indooracting.com[72.46.152.120]
Oct 24 06:41:27 mail postfix/anvil[8152]: statistics: max connection rate 1/60s for (smtp:72.46.152.120) at Oct 24 06:38:06
Oct 24 06:41:27 mail postfix/anvil[8152]: statistics: max connection count 1 for (smtp:72.46.152.120) at Oct 24 06:38:06
Oct 24 06:41:27 mail postfix/anvil[8152]: statistics: max cache size 1 at Oct 24 06:38:06
Oct 24 06:46:38 mail courierpop3login: Connection, ip=[::ffff:75.81.7.145]
Oct 24 06:46:38 mail courierpop3login: LOGIN, user=cjohn, ip=[::ffff:75.81.7.145]
Oct 24 06:46:38 mail courierpop3login: LOGOUT, user=cjohn, ip=[::ffff:75.81.7.145], top=0, retr=0, time=0

/etc/postfix/main.cf:

Linux mail.theco1984.net 2.6.15-26-server #1 SMP Fri Sep 8 21:00:37 UTC 2006 i686 GNU/Linux

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

# 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

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_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 = mail.theco1984.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = /etc/postfix/local-host-names
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
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
smtp_tls_note_starttls_offer = yes
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/
virtual_maps = hash:/etc/postfix/virtusertable
Reply With Quote
  #4  
Old 24th October 2009, 15:33
Happy Happy is offline
Member
 
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default outbound mail following again

After pulling the files requested I decided to test outbound/inbound mail again and it alll seeems to be working again. My question is how do I determine that it was the ISP in the future as I suspected that to begin with but was not sure
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
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 17:27
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 17:12
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 10:50
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 21:47
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 13:16


All times are GMT +2. The time now is 06:09.


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