Relay and sendmail problems

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

kkircher
Posts: 10
Joined: Mon Feb 27, 2006 9:31 pm

Relay and sendmail problems

Postby kkircher » Wed Dec 13, 2006 8:15 pm

Hi I need your help!
I have been running version 10 for a while now, and upgraded to version 11. I thought things were running great, but ran into a problem where scalix would just not email to a specific server.

Here is a sample of a log entry from it attempting.


Code: Select all

Dec 13 15:18:51 mail sendmail[17126]: kBC0u8d5010883: to=<admin@myspacegroove.com>, ctladdr=<root@mail.advolcano.com> (0/0), delay=1+22:22:43, xdelay=00:00:00, mailer=esmtp, pri=4530346, relay=myspacegroove.com., dsn=4.0.0, stat=Deferred: Connection timed out with myspacegroove.com.



So I did some messing around, and I think I made things worse. I have attempted to uninstall and reinstall version 11. I have reinstalled sendmail. I have scoured both the web, forums, and knowledgebase with no resolve. So after my tinkering I tried to check mailing with my gmail account, and I got log files like this


Code: Select all


Dec 13 15:27:37 mail sendmail[17341]: kBDNRaks017331: to=<kkircher@gmail.com>, delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=121910, relay=mail.gmail.com. [67.19.238.252], dsn=5.0.0, stat=Service unavailable
Dec 13 15:27:37 mail sendmail[17341]: kBDNRaks017331: kBDNRbks017341: DSN: Service unavailable
Dec 13 15:27:38 mail sendmail[17341]: kBDNRbks017341: to=<kkircher@advolcano.com>, delay=00:00:01, xdelay=00:00:01, mailer=scalix_mime, pri=33136, relay=mail, dsn=2.0.0, stat=Sent (Ok)




I then get an email bounce with the following.

Code: Select all

The original message was received at Wed, 13 Dec 2006 15:27:36 -0800
from localhost.localdomain [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<kkircher@gmail.com>
    (reason: 554 <kkircher@gmail.com>: Relay access denied)

   ----- Transcript of session follows -----
... while talking to mail.gmail.com.:
>>> DATA
<<< 554 <kkircher@gmail.com>: Relay access denied
554 5.0.0 Service unavailable
<<< 554 Error: no valid recipients




Which makes no sense to me as I do have an account there/


I have totally exhausted all my resources, so any help you can give would greatly be appreciated.

Thanks to whoever can help

kanderson

Postby kanderson » Wed Dec 13, 2006 8:28 pm

can you please post the results of

dig -tMX myspacegroove.com

and then try a

telnet <whatever the resulting IP address is> 25

and see if you get a response.

Also, can you post the results of:

lsof -i tcp:25

kkircher
Posts: 10
Joined: Mon Feb 27, 2006 9:31 pm

Postby kkircher » Wed Dec 13, 2006 8:36 pm

Hi, thanks for responding to my plead for help.

Dig got me this

Code: Select all

;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56945
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 1

;; QUESTION SECTION:
;myspacegroove.com.             IN      MX

;; ANSWER SECTION:
myspacegroove.com.      2418    IN      MX      10 myspacegroove.com.

;; AUTHORITY SECTION:
myspacegroove.com.      70818   IN      NS      ns2.everydns.net.
myspacegroove.com.      70818   IN      NS      ns3.everydns.net.
myspacegroove.com.      70818   IN      NS      ns4.everydns.net.
myspacegroove.com.      70818   IN      NS      ns1.everydns.net.

;; ADDITIONAL SECTION:
myspacegroove.com.      2418    IN      A       205.234.242.43

;; Query time: 7 msec
;; SERVER: 10.0.0.3#53(10.0.0.3)
;; WHEN: Wed Dec 13 16:31:39 2006
;; MSG SIZE  rcvd: 151



Telnet got me this

Code: Select all

 telnet 205.234.242.43 25
Trying 205.234.242.43...
Connected to server.myspacegroove.com (205.234.242.43).
Escape character is '^]'.
220-****************************************************************************
*************************************************************************
***********************


Which in the case of myspacegroove.com, I own this dedicated server, and it does recieve mail from other email servers, and I had a friend who also runs a scalix server email it, and it recieved mail.



and for lsof I got

Code: Select all

[root@mail ~]# lsof -i tcp:25
COMMAND    PID USER   FD   TYPE DEVICE SIZE NODE NAME
omsmtpd  15173 root    4u  IPv4 100596       TCP mail.advolcano.com:smtp (LISTEN)
sendmail 16641 root    4u  IPv4 111145       TCP localhost.localdomain:smtp (LISTEN)
[root@mail ~]#

kanderson

Postby kanderson » Wed Dec 13, 2006 8:42 pm

One thing I can say is that this isn't a Scalix issue, to be precise. So there's no need or point in reinstalling or doing anything with the Scalix install.

This is a sendmail issue. Did you change anything in the sendmail.cf file (or compile a new one?)

Kev.

kkircher
Posts: 10
Joined: Mon Feb 27, 2006 9:31 pm

Postby kkircher » Wed Dec 13, 2006 8:48 pm

I know your going to be able to help me, as you have an intelligent first name...Kevin is my first name as well...haha.

Whell, originally when the problem started with the myspacegroove deal, I didn't. I just checked the reverse dns on my mail server and also the dns on myspacegroove. Once I ruled that out, I decided I would take the chance and update to Scalix 11 rc2. When I was in the cli installer, it kept halting on sendmail needing to be updated. So I did a yum update. Well the yum updated updated it to a one minor revision higher then what it was asking for, so when I went in to install again, it still complained. So I went out and found an rpm of the exact sendmail version it asked for and installed that.

It installed, but then I started getting the errors that I was getting with gmail. So I again yum updated to the current sendmail for RHEL 4, as I am on Centos. And have foolishly been playing with the settings ever since.

I am not sure if my current sendmail.cf is messed up or what I need to do about that. What is your recommendation at this point, regarding my sendmail?

I am currently have this isntalled.
sendmail-8.13.1-3.RHEL4.5
sendmail-cf-8.13.1-3.RHEL4.5

Thanks so much for your help, I appreciate it greatly,
-- Kevin

kanderson

Postby kanderson » Wed Dec 13, 2006 8:54 pm

If you suspect that your sendmail config is screwed up, look for an older version of sendmail.cf

Generally, it'll be /etc/sendmail.cf.1 or /etc/mail/sendmail.cf.1 or similar.

Have a look at the dates, and figure out which copy was a working one. Then copy your current sendmail.cf to some backup, perhaps sendmail.cf.kev and copy the olderone to have the same name.

Then, run omsendin from the command line. You might not need it, but rerunning it won't hurt.

This will bring back an older sendmail config for you.

Alternately, if you have sendmail devel installed, you can likely just build a completely new one. Remember to run omsendin afterwards.

kkircher
Posts: 10
Joined: Mon Feb 27, 2006 9:31 pm

Postby kkircher » Wed Dec 13, 2006 9:01 pm

Well I found the only one that didn't have a date from recently. Followed your directions. I still got the same errors when trying to email my account at gmail.

Code: Select all

Dec 13 16:58:15 mail sendmail[17884]: kBE0wFkC017884: from=<kkircher@advolcano.com>, size=1906, class=0, nrcpts=1, msgid=<8714858.561166057894834.JavaMail.root@mail.advolcano.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Dec 13 16:58:16 mail sendmail[17894]: kBE0wFkC017884: to=<kkircher@gmail.com>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121906, relay=mail.gmail.com. [67.19.238.252], dsn=5.0.0, stat=Service unavailable
Dec 13 16:58:16 mail sendmail[17894]: kBE0wFkC017884: kBE0wGkC017894: DSN: Service unavailable
Dec 13 16:58:17 mail sendmail[17894]: kBE0wGkC017894: to=<kkircher@advolcano.com>, delay=00:00:01, xdelay=00:00:01, mailer=scalix_mime, pri=33132, relay=mail, dsn=2.0.0, stat=Sent (Ok)


and then a return email of


Code: Select all

The original message was received at Wed, 13 Dec 2006 16:58:15 -0800
from localhost.localdomain [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<kkircher@gmail.com>
    (reason: 554 <kkircher@gmail.com>: Relay access denied)

   ----- Transcript of session follows -----
... while talking to mail.gmail.com.:
>>> DATA
<<< 554 <kkircher@gmail.com>: Relay access denied
554 5.0.0 Service unavailable
<<< 554 Error: no valid recipients




Man this is so frustrating. I was up till 4am working on this last night, and all day today. I feel like I have tried everything.....

What else do you think I can try?

--Kevin

kkircher
Posts: 10
Joined: Mon Feb 27, 2006 9:31 pm

Postby kkircher » Thu Dec 14, 2006 3:14 pm

Ok,
So I have to agree that this is not a Scalix issue. Actually I am about to agree this isn't even a sendmail issue. Last night I tried to send an email from another machine on my network using it's own sendmail, and it had the same problem. I believe this might be related to some odd DNS or maybe even a firewall issue.

Any one have any ideas for me?


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest