At 09:14 28/03/01 +0100, kevin.taylor@powerconv.alstom.com wrote:
What are you using to configure sendmail ? Linuxconf ? sendmail.mc ? (I know nothing about what SuSE uses ... sorry roger - never done sendmail on SuSE :-)
I have. In /etc/mail you'll find 'access'. This is a text file which gets DBM'd (converted into a database format, extension .db added) by SuSEconfig. You can add directives like: 10.0 RELAY to allow mail to pass through (N.B. only supply the network part of your IP address, no trailing full stops) or myschool.fsnet.co.uk OK to allow mail handling for your own domain. You can also block certain incoming mail with naughtyporn.com 550 No disgusting mails, please where the 550 is one of the many sendmail rejection codes! the SuSE implementation also places forwarding info in /etc/mail/mailertable. A line like . smtp:smtp.dial.pipex.com has the effect of adding appropriate directives directly into sndmail.cf! Just run SuSEconfig after you've edited the file. (There are countless examples in the dummy file suppplied.) You'd be wise to investigate virtusertable and genericstable in /etc/mail as well - these are also DBM'd by SuSEconfig. To test your sendmail if you get close to functioning, try sendmail -bv somemadeupname@somemadeupplace.com You should get something like somemadeupname@somemadeupplace.com ... deliverable, mailer relay host smtp.dial.pipex.com, user somemadeupname@somemadeupplace.com Tested on a local user address, the message should read: sendmail -bv myrealuser@mydomain.co.uk ... deliverable, mailer local, user myrealuser. Good luck Andrew Email: aray@computerpark.co.uk Tel: +44 1536 417155 Fax: +44 1536 417566 Computer Park Ltd Broughton Grange Headlands Kettering Northamptonshire NN14 6TA