Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help I keep getting this error message from sendmail ! :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jbssm
n00b
n00b


Joined: 02 Jan 2003
Posts: 56
Location: Portugal

PostPosted: Sun Feb 16, 2003 1:49 pm    Post subject: Help I keep getting this error message from sendmail ! :( Reply with quote

Hello.

I don't know what to do about this, I've searched the net for this problem and I've found nothing.

After I boot gentoo I keep getting this message on the shell (every 10 min or something), I've look at cron services, but I've found nothing that may cause this beavior.

The message is:

Code:

/usr/sbin/sendmail: smtp server didn't accept MAIL from, replied "501 Sender domain must have an DNS MX record.".



What can I do to make this disspear? :?


Bruno Morgado
Back to top
View user's profile Send private message
ozukir@
Apprentice
Apprentice


Joined: 14 Oct 2002
Posts: 209
Location: USA

PostPosted: Tue Feb 18, 2003 6:34 am    Post subject: Reply with quote

I'm no mail expert but maybe you could shed a little more light on your topic. Are these local mails, or are you accepting routed mails?
Back to top
View user's profile Send private message
vicay
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2002
Posts: 97
Location: Dresden, Germany

PostPosted: Tue Feb 18, 2003 7:14 am    Post subject: Re: Help I keep getting this error message from sendmail ! : Reply with quote

jbssm wrote:
Hello.

I don't know what to do about this, I've searched the net for this problem and I've found nothing.

After I boot gentoo I keep getting this message on the shell (every 10 min or something), I've look at cron services, but I've found nothing that may cause this beavior.

The message is:

Code:

/usr/sbin/sendmail: smtp server didn't accept MAIL from, replied "501 Sender domain must have an DNS MX record.".



What can I do to make this disspear? :?


Bruno Morgado



Hello,


what mailsystem did you install?
(a sendmail program have all of them :-) )


Best regards

vicay
Back to top
View user's profile Send private message
psp
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2002
Posts: 120
Location: Cape Town, South Africa

PostPosted: Tue Feb 18, 2003 8:56 am    Post subject: Reply with quote

It's been a while, but I think that sendmail is doing a reverse MX lookup. It's an antispam mechinism. When it receives mail it checks to see whether the sending domain has a valid MX record so that it can reply correctly to it (bounce messages, error messages and even valid email when you reply).

Now how to disable it, I'm not too sure... :oops:
At least you now know what the problem is (probably something like reverse mx verification or similar)

Hope this helps...

EDIT:
I looked at sendmail.org, briefly... Is it perhaps this?
Code:

FEATURE(accept_unresolvable_domains). Normally, sendmail will refuse to accept mail that has a return address with a domain that cannot be resolved using the regular host lookups (a technique commonly used by spammers). This feature permits acceptance of such addresses. Unresolvable domains can be selectively accepted using the access database.
Back to top
View user's profile Send private message
jbssm
n00b
n00b


Joined: 02 Jan 2003
Posts: 56
Location: Portugal

PostPosted: Tue Feb 18, 2003 3:46 pm    Post subject: Reply with quote

Hi.

I dindn't installed any sendmail program (at least willingly).

Also, I've not configured anything for local or remote mail fetching (although I would like to do'it in the near future ... after I resolve this problem).

This started happening after I've installed kde ... and other packages, the problem is that I do not remember the name of the programs I've installed with kde before rebotting and starting to get this message.

:roll:
Back to top
View user's profile Send private message
green sun
Guru
Guru


Joined: 04 Nov 2002
Posts: 325
Location: Wista, MA

PostPosted: Wed Feb 19, 2003 1:07 pm    Post subject: Reply with quote

jbssm wrote:
Hi.

I dindn't installed any sendmail program (at least willingly).

Also, I've not configured anything for local or remote mail fetching (although I would like to do'it in the near future ... after I resolve this problem).

This started happening after I've installed kde ... and other packages, the problem is that I do not remember the name of the programs I've installed with kde before rebotting and starting to get this message.

:roll:


Try
Code:
emerge -s sendmail

an easy way to find if you have sendmail installed, and if so, which version. It may have been installed depending on USE flags. As a word of warning, I always run
Code:
emerge -p <package>

To get a list of all the packages that will be emereged. If I see something weird, I look at my USE flags & try to figure out why it is needed.

Is there a sendmail binary in /usr/sbin? Config files for sendmail are in (at least on my OpenBSD system)
Code:
/etc/mail
Back to top
View user's profile Send private message
jbssm
n00b
n00b


Joined: 02 Jan 2003
Posts: 56
Location: Portugal

PostPosted: Sat Feb 22, 2003 5:49 pm    Post subject: Reply with quote

Hi there,

I have tried
Code:

emerge -s sendmail

and has I tought there were no sendmail program installed, but I've learned about the the -s option in emerge, it's very handy.

But the problem is solved now ... a lightning killed my computer :cry: fortunally only the UPS and powersource broked, but the computer went nuts (or so I thought) and I opted for reinstall gentoo, now everything is alright. 8)

Thnak you for your support on this issue, I'll not install KDE this time, so I hope the problem does not arise anymore.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum