> -----Original Message----- > From: Ernest E Vogelsinger > Sent: Tuesday, October 22, 2002 1:15 PM > To: [EMAIL PROTECTED] > Subject: SendMail/Relying question > > > Hi list, > > a question for sendmail gurus: > > I have sendmail 8.11.6 running and linuxconf's vpop3 virtual > pop3 server via xinetd. Unfortunately the vhost configuration > tool directly modifies the sendmail.cf file when configuring > virtual domains, so the original m4 cannot be used to add > anything new to the sendmail config, without loosing > my vhost configuration.
FWIW: The sendmail.org site recommends that you do NOT use linuxconf to make changes to sendmail's config files. Edit your .mc file directly and rebuild your .cf using m4 > > Sendmail is set to not relay anything except localhost. I now > need to allow relaying from our internal network (10.10.10.0/24) to > anywhere, but have absolutely no clue as to how to put this stuff > directly into the cf file. > > If anyone has experience with hacking the .cf I'd be grateful > for any help I can get... > You shouldn't have to edit or add anything to your .mc file to permit relaying. Relaying is controlled by either adding your network address to /etc/mail/access -or- if configured, adding your network address (or domain name) to /etc/mail/relay-domains. #/etc/mail/access 10.10.10 RELAY Then rebuild the access database by running make in /etc/mail. Since your editing a database, you do not have to restart sendmail. # /etc/mail/relay-domains mydomain.com -or- 10.10.10 If you chose the relay-domain method, you will have to restart sendmail. BTW: When you get some time, consider upgrading to the latest version of sendmail and implemting SMTP Auth. Then you can delete the above enties in favor of all smtp clients having to authenticate before sending (relaying) off of your server. Steve Cowles -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list