On Thu, 2005-09-22 at 10:00 -0500, Les Mikesell wrote: > On Thu, 2005-09-22 at 07:51, Alexander Dalloz wrote: > > > > > > It seems to me that sendmail is overly complicated to do this simple task, > > > any suggestions on what to use or how to do is very much appreciated. > > > > I disagree. What you want is easy to achieve running Sendmail. But > > without reading a bit of the documentation you won't get that far, of > > course. > > But be careful what you read. The fedora distribution supplies an > intentionally-broken sendmail.cf so you have to rebuild it if you > want to receive mail from outside at all. However if you have > installed the sendmail-devel, you get a Makefile in /etc/mail > that automates all the grunge work after edits. > 1. The rebuild occurs automatically when you do a "service sendmail restart" 2. There are a few config files in /etc/mail that you put the changes in and it works. Notably domaintable, virtusertable, and access seem to do all that is needed. > > /etc/mail/sendmail.mc is to be edited. It already contains a prepared > > and commented smart host entry (nearly at top). Then either give your > > mail host a valid FQDN so Sendmail can detect it (make sure the first > > dotted FQDN in /etc/hosts is that name). As an alternate you can > > activate the masquerading settings which are too already prepared in > > sendmail.mc. > > You might have to consult some other docs about what to change in > sendmail.mc, but don't follow their instructions about how to > rebuild sendmail.cf. Just type 'make' in the /etc/mail directory > and then restart sendmail. Likewise for the other files where > you normally have to rebuild databases - but you don't have to > restart sendmail for those (access, etc.). > > -- > Les Mikesell > lesmikesell@xxxxxxxxx > >