I used the stock sendmail.cf and i changed the following values:
* added goaway
* uncommented, set to the smtp server of my isp
* 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;
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:
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: i68JC5QP000828: ruleset=check_mail, arg1=<firstname.lastname@example.org>, relay=smtp-out1.isp.nl [194.109.x.x], reject=553 5.1.8 <email@example.com>... Domain of sender address firstname.lastname@example.org
does not exist
Jul 8 21:12:05 host sm-mta: i68JC5QP000828: from=<email@example.com>, 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.