[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] Installing SCBL for sendmail - need help, please



Bennett Lanford <ben@xxxxxxxxxxxxx> said:

> Marjolein Katsma <tfyj8lv02@xxxxxxxxxxxxxx> said:

> > 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.
> 
> You can verify that they work by entering a command something like:
> 
> echo '$=w' | virtual sendmail -bt
> 

Another way (if you don't like local-host-names) is something like:

LOCAL_DOMAIN(`domain1 domain2 domain3 domain4')

(I noticed from your earlier posts that you already picked up on the opening 
"left-quote". ... but I'll mention it in case others might have missed it.)

-- 
Bennett Lanford
ben@xxxxxxxxxxxxx


======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
======================================================================


Main Index | Thread Index
Match: Format: Sort by:
Search: