Sendmail meets Linuxconf

I may just have finally gotten everything working on the mail system.

To recap: I need SMTP-Auth, because Lisa travels with her laptop, and that’s the only solid way to let her send mail from hotel rooms. I also like to use Linuxconf, especially for sendmail:

First I have no clue and no three days to spend hunting for the clue on how to do virtual hosting without the Linuxconf magic

Second, there are a whole bunch of things: banning a spammer, redirecting a bogoaddress like “admin” that I do know how to do in sendmail, but take maybe a quarter the time in Linuxconf.

Now comes the problem. Linuxconf basically still seems to be stuck on Sendmail 8.9, and Smtp-Auth came in with 8.10. So there’s nothing in LCs little connection of cf snippets about it at all. So, what I did was edit sendmail.mc to allow Smtp-Auth, and did m4 sendmail.mc > fred.tmp. Then I cut the appropriate lines out of fred.tmp and pasted them into “intro.cf” (I chose that because it has nothing but comments, so all the actual macros will be mine).

First the good news: It works. I now have sendmail both virtual hosting (mail to geek@granolageek.com is coming through), and demanding passwords. Yee Ha.

Now the bad news. The Linuxconf docs say to put the modified files into /etc/mail, and linuxconf will see them, and use them, allowing you to keep the distro files in /usr/lib/linuxconf/mailconf. This does not work. When I did that, linuxconf was blissfully ignorant of any changes, and when I forced a rebuild of sendmail.cf it did nothing.

However, when I copied the modded file into the linuxconf tree LC recognized that it had been changed, and told me sendmail.cf needed rebuilding. I rebuilt and it all works.

This entry was posted in Tech Stuff. Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*
*

  • Recent Posts

  • Archives

  • Categories

  • Meta

  • Google site search

    Custom Search