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 ! |
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? |
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* :D 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. |
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:
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:
|
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 ! |
All times are GMT -5. The time now is 05:17 AM. |