LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-08-2004, 12:17 PM   #1
kwelling
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
sendmail error (domain does not exist)


Hello,

After I installed Slackware 10 I tried to set up an e-mail server (both POP and SMTP). The POP(a3d) server seems to work allthough I can't send myself an e-mail because the SMTP server keeps returning me the following message;

The original message was received at Thu, 8 Jul 2004 18:11:31 +0200 (CEST)
from host.isp.nl [80.x.x.x]

----- The following addresses had permanent fatal errors -----
<user@host.isp.nl>
(reason: 553 5.1.8 <post@website.nl>... Domain of sender address post@website.nl does not exist)

----- Transcript of session follows -----
... while talking to host.isp.nl.:
>>> MAIL From:<post@website.nl> SIZE=1168
<<< 553 5.1.8 <post@website.nl>... Domain of sender address post@website.nl does not exist
501 5.6.0 Data format error

user@host.isp.nl is an existing user at my slackware computer.

website.nl is my own working website at some hosting provider's infrastructure.

Yet, after hours of trying and reading, I still don't know what this error exactly implifies and / or how to solve it

Please help me out !

Last edited by kwelling; 07-08-2004 at 12:58 PM.
 
Old 07-08-2004, 01:45 PM   #2
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
Can user@host.isp.nl send email to user@host.isp.nl ? How about to root@host.isp.nl?

Did you just use the stock sendmail.cf file or did you make changes to it?
 
Old 07-08-2004, 02:22 PM   #3
kwelling
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I used the stock sendmail.cf and i changed the following values:

define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun,goaway')dnl
* added goaway

dnl define(`SMART_HOST',`smtp.isp.nl')
* uncommented, set to the smtp server of my isp

LOCAL_DOMAIN(`domain.net')dnl
* changed to a .net domain which is pointing to my own ip (80.x.x.x)

then i used the following (from your site I believe, thanks for putting it up since I learned through it to create the .cf;

cd /usr/share/sendmail/cf/cf
cp sendmail-slackware.mc config.mc
m4 /usr/share/sendmail/cf/m4/cf.m4 config.mc > /etc/mail/sendmail.cf

-

I added an entry pointing to 192.168.1.1 in my /etc/hosts (I run two NIC's, 10.0.0.1 and 192.168.1.1)
I tried changing /etc/mail/access by putting:

domain.net RELAY
host.isp.nl RELAY

and I ran 'makemap hash /etc/mail/access.db < /etc/mail/access' when I found out that just changing access only wouldnt do the trick.

Furthermore I added all DNS names my host uses to /etc/mail/local-host-names.

All of this is tried over and over again, I've changed back values and so on and so fort.. I think I've had all possible combinations, yet I still recieve the next line in my maillog (tail -f /var/log/maillog):

Jul 8 21:12:05 host sm-mta[828]: i68JC5QP000828: ruleset=check_mail, arg1=<post@website.nl>, relay=smtp-out1.isp.nl [194.109.x.x], reject=553 5.1.8 <post@website.nl>... Domain of sender address post@website.nl does not exist
Jul 8 21:12:05 host sm-mta[828]: i68JC5QP000828: from=<post@website.nl>, size=1138, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=smtp-out1.isp.nl [194.109.x.x]
I would be very gratefull to anyone providing me with a solution. Well, shilo, I am allready gratefull for your answer

I'll keep trying, nevertheless hehe *that was a sourish laugh*

to answer your question: yes, on the host itself I can mail myself and root and reverse.. I can also retrieve the mail sent by popa3d, so that does work.

Last edited by kwelling; 07-08-2004 at 02:25 PM.
 
Old 07-08-2004, 03:17 PM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
Ok, this may be a stupid question, but bear with me for a moment...

When you changed the values, did you change them in /etc/mail/sendmail.cf or did you change them in /usr/share/sendmail/cf/cf/sendmail-slackware.mc ? If you changed them in /etc/mail/sendmail.cf and then

Quote:
cd /usr/share/sendmail/cf/cf
cp sendmail-slackware.mc config.mc
m4 /usr/share/sendmail/cf/m4/cf.m4 config.mc > /etc/mail/sendmail.cf
You will have overwritten your changes. You need to make sure that you are making the changes to /usr/share/sendmail/cf/cf/sendmail-slackware.mc .

There are other ways to go about it, but this is what I believe to be the preferred method.

If this isn't making a whole lot of sense, post your current /etc/mail/sendmail.cf file and I'll see if I can figure out what is going on. Also, post your current domain and host name. If you want, post a fake host name and domain and edit the /etc/mail/sendmail.cf as appropriate to match.

The other thing that comes to mind is the:

Quote:
LOCAL_DOMAIN(`domain.net')dnl
* changed to a .net domain which is pointing to my own ip (80.x.x.x)
I don't remember having to do that on my setup, but I have received an email from another person who said that they did have to. You may want to try a) commenting that line out, or b) change `domain.net' to `host.isp.nl' .
 
Old 07-09-2004, 05:16 AM   #5
kwelling
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hello !

The problem above was solved by changing the nameserver entry from the (bouncing) router local address into an existing nameserver ip from the net in /etc/resolv.conf

Thank you though, for helping !
 
  


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
sendmail error 553 5.1.8 error "domain doesnot exist" kevinm2 Linux - Newbie 8 09-16-2004 12:39 AM
vpopmail problem - error: domain does not exist pin_bk Linux - Software 1 01-28-2004 10:03 AM
Sendmail: Domain of sender address does not exist 360 Linux - Networking 1 02-02-2003 08:40 PM
Sendmail Domain of sender address does not exist mantiev Linux - Networking 0 05-08-2001 07:58 AM
Mail Error: sender domain must exist ?? _TK_ Linux - Newbie 2 02-28-2001 09:49 PM


All times are GMT -5. The time now is 05:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration