Under SuSE the sendmail configuration files are mostly in /etc/mail. The file which controls relaying etc is called access and is very simple - two fields the domain name or network (partial or complete in both cases) followed by the error code if you want it rejected or RELAY if it is allowed to use you as a relay. eg. if you are using 192.168.2.x you will need to add the following to allow your local clients to send via you. 192.168.2 RELAY The fololowing will reject with a 550 error all mail from foo.bar including sly.foo.bar and good.foo.bar foo.bar 550 When you have changed the file you have to convert it to db format. The easiest way to do this is to use SuSEConfig to do it for you automagically ____________________________________ Giles Nunn - Network Manager Carms Schools ICT Development Centre Tel: +44 01239 710662 Fax: 710985 ____________________________________ On Wed, 28 Mar 2001 kevin.taylor@powerconv.alstom.com wrote:
Any Sendmail wizards out there?
Not a wizard ... but ...
How do you allow Sendmail to accept mail from certain IP addresses?
If you have a /etc/mail directory (as I do on my red-hat system at work) for sendmail, I have some files:
relay_allow - Who can relay via my machine ip_allow - which IP addresses can connect to my machine name_allow - which domain names can connect to my machine
The actual file names may vary, as it is down to directives in /etc/sendmail.cf which determine where the extra bits come from (you can embed the whole lot in one hugh /etc/sendmail.cf file ...)
What are you using to configure sendmail ? Linuxconf ? sendmail.mc ? (I know nothing about what SuSE uses ... sorry roger - never done sendmail on SuSE :-)
linuxconf can do it, but it uses directives that are out of date apparently, so using the sendmail.mc file is preferred - also all the FAQs and howtos, etc at sendmail.org talk about the sendmail.mc stuff ...
Kevin.