[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] Installing SCBL for sendmail - need help, please
- Subject: Re: [vps-mail] Installing SCBL for sendmail - need help, please
- From: Marjolein Katsma <tfyj8lv02@xxxxxxxxxxxxxx>
- Date: Thu, 20 Nov 2003 19:54:28 +0100
At 01:11 2003-11-19, Bennett Lanford wrote:
>Marjolein Katsma <tfyj8lv02@xxxxxxxxxxxxxx> said:
Success!! I have a brand-new sendmail.cf and blacklisted IP addresses _are_ being rejected now.
[Sorry about no replying earlier - yesterday was a 'no-code day'. Tackled sendmail again today.]
Thank you so much for your excellent reply. All of a sudden things I'd noticed but didn't _quite_ understand, as well as some missing pieces clicked into place.
>What sorts of things do you want to copy from the original sendmail.cf?
Basically, starting from your suggestion that default.mc would be a superset of my original (antique) sendmail.cf, I just needed a way to "reproduce" the three customizations I had - but now using an .mc file.
>Something like:
>
>define(`confPRIVACY_FLAGS',`goaway')
Exactly like - that worked. (There was a define(`confPRIVACY_FLAGS'... in the .mc file; I just modified it and it had the intended effect.
>> 2. Provider added support for one extra domain for me (and were kind enough
>to tell me what they did); later I added another domain myself. This takes the
>form of 'Cwlocalhost firstdomain.com second.tld'
>> => It seems .mc files do not directly support this, but I have to
>create an external file with the domains to be supported?
>> (If so, there's an equivalent, but I'll need to create an extra file, merely
>generating a .cf from .mc would not be sufficient.)
>
>The mc-generated cf files in the sendmail vinstallall contain a line that
>begins:
>
>Fw
>
>and references a file named /etc/local-host-names
>
>(Fw is similar to Cw: both lines populate the class w ($=w). The Fw line
>populates it from a file.)
>
>The "modern" way to populate $=w is to list the domains in
>~/etc/local-host-names. (The local-host-names file has become a standard
>sendmail.org idiom. It is used only by sendmail, AFAIK.)
>
>I generally list my domains one per line in that file.
Even before copying and changing the default.mc file, I created a local-host-names and entered the two extra domains in it.
>You can verify that they work by entering a command something like:
>
>echo '$=w' | virtual sendmail -bt
I just sent a test mail which went to each of the three domains; all three arrived.
As to the mail headers, the layout is now marginally different, but the desired info is still there - no further customization needed.
>(P.S. In one of your notes you mentioned the spammers.db file. As long as you
>are upgrading your sendmail.cf file, you might want to investigate the access.
>db file. It has all the functionality of spammers, plus lots more.)
Yup. I'd already noticed it being mentioned and deduced it to be more powerful than spammers.db.
So that was already the next point on my Todo list; I started looking at that this afternoon. I have a few questions, but I'll start a new thread for that.
Thanks again,
--
Marjolein Katsma
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
======================================================================
Main Index |
Thread Index