Date: Sun, 7 Feb 2010 22:29:29 -0600 From: John <john@starfire.mn.org> To: freebsd-questions@freebsd.org Subject: Breaking the sendmail code / sendmail for dummies Message-ID: <20100207222929.A6166@starfire.mn.org>
next in thread | raw e-mail | index | archive | help
OK - I'm chasing my tail here. I've been reading /etc/mail/README /usr/share/sendmail/cf/README and a lot of other README files, but I'm missing the big picture - I'm definitely beating my head against trees without a map of the forest. The last time I changed a *.cf file was in 2002, so my recollection is somewhat dimmed. In fact, the last time I did it before THAT was before the m4 macros were built - I used to write sendmail rules by hand. Somehow, there's a couple of really, really basic things that I've forgotten and cannot find, but I do remember how really, really messed up one could make things. Some things have just plain changed. It seems like there's two sets of files now - "sendmail.cf" and "submit.cf". All of the examples in /etc/mail seem to be so paired, and it created new files for me based on my "hostname" when I just typed "make". I think that knowing that is probably pretty important. A little background - elwood will be the mail hub. Any e-mail originating from within my local network should be re-written to eliminate the specific host name and only use the higher level domain. I belive that is "MASQUERADE_AS". In trying to make sure this is what I want, I keep running into references to the domain file and references like "../domain". Should I really be considering creating something regarding my local configuration in the /usr/share/sendmail/cf/domain directory? That seems - wrong. It should really be rather simple, because this system will accept all the e-mail, and other systems will use POP and/or IMAP to get the mail from it. It is the central clearing point for all incoming and outgoing mail. I think that I'm really close, I'm just somehow missing some of the very basic configuration "tricks" or "clues" and I'm not finding them. I've got local-host-names and relay-domains all set up and it seems to be using them, but that must be from the as-delivered sendmail.cf (or submit.cf) file, because I sure haven't done a make install-cf CF=elwood.starfire.mn.or.mc yet. But, even if I do that - what about the submit.cf file? There's a lot of ".mc" and ".cf" files in /etc/mail already, goodness knows what it's really doing. Not me, not yet. Please help me get there! Thanks. -- John Lind john@starfire.MN.ORG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100207222929.A6166>