Date: Wed, 02 Dec 1998 17:19:29 +0000 From: Michael Doyle <relyod@co-operation-ireland.ie> To: questions@FreeBSD.ORG Cc: johnp@connect.ie Subject: Sendmail configuration question (longish) Message-ID: <3.0.5.32.19981202171929.007b4140@199.107.2.1>
next in thread | raw e-mail | index | archive | help
Hi, I hope someone can help me. I'm using FreeBSD 2.2.7 as a mail server for my company, and I'd like to get sendmail to STOP delivering all mail instantanously, i.e. making it stop DNS lookup, and to queue all mail for outside the company. >From the SENDMAIL FAQ >>In situations where you're behind a firewall, or across a dial-up >>line, there are times when you need to make sure that programs (such >>as sendmail) do not use the DNS at all. >>With version 8.8, you change the service switch file to omit "DNS" >>and use only NIS, files, and other map types as appropriate. Now, there IS NO "service.switch" file, at least not in the default place. (sendmail.cf contains the lines: >> # service switch file (ignored on Solaris, Ultrix, OSF/1, others) >> #O ServiceSwitchFile=/etc/service.switch What should go here? If I make a file called "/etc/service.switch" containing the line >>files I get a segmentation fault any time sendmail is run. Q: what should the file contain ? (should it be a line containing "hosts" ?) The other items that need to be done for sendmail to batch deliver mail I think I understand >> You also need to designate a "smart host" or external relay to handle >> all mail that you can't deliver locally (this would be your ISP's >>mailhost). * I know how to do this one >> You need to configure it so that the smtp mailer is considered >> "expensive" by adding the F=e mailer flag and tell sendmail not >> to connect to expensive mailers by default by setting the >> HoldExpensive option to True. *I know how to do this >> You need to add mydomain.com to the sendmail.cw file or the Cw >> line in the sendmail.cf. See Q4.5. *I had done this anyway >> Finally, you need to run a program periodically to check in with >> your ISP and get them to deliver any mail they may have queued >> for you. See Q3.23. *and I had done this anyway as well <>< ============================================================ ><> Michael Doyle email: relyod@co-operation-ireland.ie Network Administrator personal email: relyod@indigo.ie Co-operation Ireland http://www.co-operation-ireland.ie/ Phone: +353-1-661 0588 Fax: +353-1-661 8456 *** NOTE: our domain name HAS changed. If you are still using the old "co-operation-north.ie" domain for web site or email addresses, please update it. ********************************************************************* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19981202171929.007b4140>