LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-21-2003, 02:31 PM   #1
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 69
Bouncing email still getting through?


Hello! This question is probably not going to make any sense, but here goes:

I occasionally (meaning it cannot be reproduced on demand) get forwarded messages from people who send me email showing that it was returned/bounced. However, the return and the forward (containing the returned message) are not at all helpful. I check my logs, but see no mention of the bounce. The emails actually come through (sometimes) and then I get the forward as well showing that the message bounced (which is not always true).

This all reads like a misconfiguration SOMEWHERE, but that's pretty broad. I highly doubt it's my postfix main.cf, but I'll post it up just in case. My grasp of zones and the info contained in them is weak, so that is my guess on where this problem exists. Here's how I have my zone sorted:
A record: curvins.com = 4.65.24.211
A record: www.curvins.com = 4.65.24.211
A record: ns1.curvins.com = 4.65.24.211
And here's the part that I think is wrong (and I changed it this morning to see):
A record: mail.curvins.com = 4.65.24.211

Ok, now moving onto MX record:
MX: mail.curvins.com = Primary mail handler for curvins.com

No cname (don't know if I should be cnaming all those A records or not)

And here's my Postfix/main.cf (abbreviated to remove the comments):
Code:
queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/lib/postfix

mail_owner = postfix

myhostname = cooler.curvins.com

mydomain = curvins.com

myorigin = $mydomain

mydestination = $myhostname, localhost.$mydomain $mydomain, masterc.no-ip.org, cherokeegods.com

unknown_local_recipient_reject_code = 450

mynetworks = 192.168.1.0/24

relay_domains = $mydestination, /etc/postfix/relay-domains (this file currently only contains curvins.com)

alias_maps = hash:/etc/postfix/aliases

alias_database = hash:/etc/postfix/aliases

home_mailbox = Maildir/

local_destination_concurrency_limit = 2

default_destination_concurrency_limit = 10

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

newaliases_path = /usr/bin/newaliases

mailq_path = /usr/bin/mailq

setgid_group = postdrop

manpage_directory = /usr/share/man

sample_directory = /etc/postfix/sample

readme_directory = /usr/share/doc/postfix-2.0.11
And here's a description of my network:
Code:
ADSL === Router (Public IP)==== Server (Private IP)
                  |
                  |
                   ========= Workstation (Private IP)
Forwarding Port 25 to Server.

Thanks for any ideas, and my appologies for not being able to produce an error report that's worth a damn. It's occasionally. If anyone has an error report/rejection notice they received from sending me email, please feel free to post it!

Cool

Last edited by MasterC; 09-21-2003 at 02:32 PM.
 
Old 09-21-2003, 02:53 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
It seems almost certain that it is the A record for mail.curvins.com - this is the record:
Code:
[rossy@boycie rossy]$ dig mail.curvins.com A

; <<>> DiG 9.2.1 <<>> mail.curvins.com A
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17371
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.curvins.com.              IN      A

;; AUTHORITY SECTION:
curvins.com.            5497    IN      SOA     ns12.zoneedit.com. soacontact.zoneedit.com. 1054517467 14400 7200 950400 7200

;; Query time: 261 msec
;; SERVER: 10.100.10.10#53(10.100.10.10)
;; WHEN: Sun Sep 21 20:16:41 2003
;; MSG SIZE  rcvd: 95
Yet your web address resolves perfectly. Take a look at the config for www it and make mail the same.
Code:
[rossy@boycie rossy]$ dig www.curvins.com A

; <<>> DiG 9.2.1 <<>> www.curvins.com A
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37279
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;www.curvins.com.               IN      A

;; ANSWER SECTION:
www.curvins.com.        7200    IN      A       4.65.24.211

;; AUTHORITY SECTION:
curvins.com.            4925    IN      NS      ns12.zoneedit.com.
curvins.com.            4925    IN      NS      ns15.zoneedit.com.

;; ADDITIONAL SECTION:
ns12.zoneedit.com.      2667    IN      A       64.246.26.64
ns15.zoneedit.com.      2217    IN      A       69.10.134.195

;; Query time: 355 msec
;; SERVER: 10.100.10.10#53(10.100.10.10)
;; WHEN: Sun Sep 21 20:17:35 2003
;; MSG SIZE  rcvd: 143
 
Old 09-21-2003, 02:56 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 75
Keep in mind that MX records should not contain CNAMES, so always make your MX point to an A record.
 
Old 09-21-2003, 02:59 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 69
Ok, I have done that, I guess we now just wait for the changes to take effect

Thank you for the responses!

I'll dig at me in a few to see if things are good to go.

I'm using Zoneedit.com for my zone and nameservers, any idea of how long I should wait to see the changes?

Cool

Last edited by MasterC; 09-21-2003 at 03:01 PM.
 
Old 09-21-2003, 04:36 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Well your dig looks ok now - I'll send you a test message.
 
Old 09-21-2003, 04:47 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 69
And I got it, thanks Did you get a bounce this time (even though I recieved the email)?

Cool
 
Old 09-21-2003, 04:52 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
No bounce - looks OK so far
 
  


Reply


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
Bouncing programs icons keep bouncing for ages blastradius Ubuntu 2 09-10-2005 01:49 AM
Bouncing emails redhax8 Linux - Software 0 11-08-2004 08:10 PM
email bouncing/failures - sendmail hrc Linux - Newbie 0 08-10-2004 08:10 AM
Email bouncing from aol and msn bruce1271 Linux - General 5 05-01-2003 11:21 PM
Bouncing Email flex611 Linux - Newbie 0 12-26-2001 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:01 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
Open Source Consulting | Domain Registration