[svlug] Email server weirdness

Rafael Skodlar raffi at linwin.com
Sat Sep 25 14:54:40 PDT 2004


I don't see where this fits Linux, SVLUG to be specific.

I bet there are BSD mailing lists more suitable for this kind questions.

On Sat, Sep 25, 2004 at 03:05:10PM -0600, skip evans wrote:
> Hello all,
> 
> I described a problem the other day I'm having with
> the email server on my FreeBSD 4.9 server. I changed
> the IP address on the server from xxx.193 to xxx.194
> because we needed the .193 address for another

That's silly. Messing up with mail servers is bound to cause delays and 
unnecessary confusion. IP is just IP, so why not assign it to the other 
machine? Anyway...

> machine. However, somewhere in the mail setup
> the .193 number seems to be sticking and I don't know
> why. Does the following telnet session shed any light
> on the issue? I should say that at joker.com where the
> domain name is regisetered the MX record is set to
> the domain name, not the IP address, and the A record
> for the domain name was been updated to the .194 value
> quite some time ago. Here is the telnet session:
> 
> sevans at workstation1:~$ telnet 207.225.1.194 25
> Trying 207.225.1.194...
> Connected to 207.225.1.194.
> Escape character is '^]'.
> 220 bsd1.bsd.net ESMTP Sendmail 8.12.9p2/8.12.9; Sat, 25 Sep 2004 14:54:47 
> -0600 (MDT)
> HELO 207.225.1.194
> 250 bsd1.bsd.net Hello [207.225.1.193], pleased to meet you
> QUIT

raffi$ host bsd1.bsd.net
bsd1.bsd.net does not exist, try again

dig -x 207.225.1.194

; <<>> DiG 9.2.1 <<>> +nocoments -x 207.225.1.194
;; global options:  printcmd
;194.1.225.207.in-addr.arpa.    IN      PTR
1.225.207.in-addr.arpa. 10084   IN      SOA     authns1.mpls.qwest.net. 
dns-admin.qwestip.net. 2004082701 10800 3600 604800 86400

No RR records in DNS.

You have misconfigured Sendmail IMO and DNS. I stopped using Sendmail 8
years ago so I can't tell what exactly you need to do to fix it but
check /etc/sendmail.cf file and /etc/hosts.

compare telnet to my server:

220-Welcome! This system does not accept Unsolicited Commercial Email
220-
220 zima.linwin.com ESMTP Exim Sat, 25 Sep 2004 14:29:29 -0700

It's hard to say how messed up the DNS but testing with IPs only is not
going to help you solve your problem. DNS is one thing, email system is
another.

I sure wouldn't want to accept email fom bsd1.bsd.net when DNS doesn't
know about it, there is no decent RR in DNS for that host's IP, and MX
record for bsd.net points to completely different host.

bsd.net.                300     IN      MX      12801 mail.bsd.net.

raffi$ host mail.bsd.net
mail.bsd.net            A       195.30.248.82

 
> Notice how even though I connect to the .194 address, the server
> still responds with the .193 value, and an error is returned
> to the email client saying that the RELAY cannot be
> completed.
> 
> I'm pretty baffled; any suggestions would be greatly
> appreciated.
> 
> thanks much.
> 
> Skip
> 

-- 
Rafael




More information about the svlug mailing list