Re: [SLUG] Debian, Logcheck and Postfix (oh my!)

From: Derek Glidden (dglidden@illusionary.com)
Date: Tue Jun 26 2001 - 19:04:48 EDT


Paul M Foster wrote:
>
> On Tue, Jun 26, 2001 at 10:37:06AM -0400, Derek Glidden wrote:
>
> > Paul M Foster wrote:
> > >
> > > In Debian 2.2, logcheck is configured out of the box to mail reports to
> > > root every hour. I'm using Postfix for my MTA. Here's what's happening:
> >
> > Without being familiar with Postfix, I'd recommend that the place to
> > look for is to tell your mail server to accept mail for the
> > "quillandmouse.com" domain. Hopefully that would allow it to just
> > accept mail sent to "root@quillandmouse.com" and stop trying to forward
> > it on.
>
> My ISP's mailserver _does_ accept mail from/for quillandmouse.com. The
> problem seems to be that mail sent to any "unqualified" address (like
> root, paulf) gets "@quillandmouse.com" added to it locally. And
> therefore goes out to the ISP instead of delivering locally.

Yep. I guess I wasn't clear - to fix this problem, you should tell your
LOCAL machine to accept mail for the "quillandmouse.com" domain as well
as "mars.lan" - then when mail is sent to anything@quillandmouse.com, or
an unspecified domain name in which case quillandmouse.com is appended,
your local mail server will know that *it* should accept that mail and
not try to deliver it through your ISP.

I don't know how to make Postfix do this though.

I like the availability of choice when it comes to MTAs, but I keep
going back to Sendmail, because it just plain does all the stuff I need
it to do, and since the late 8.8.x days and the existence of .mc files,
mostly it's really easy. Under Debian's default sendmail config,
there's a "local-host-names" file to which I just add all the domains
for which Sendmail will accept mail for local delivery and I'm done with
it...

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#!/usr/bin/perl -w
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map
{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;
$t^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)
[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h=5;$_=unxb24,join
"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*
8^$q<<6))<<9,$_=$t[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}
print+x"C*",@a}';s/x/pack+/g;eval 

usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \ | extract_mpeg2 | mpeg2dec -

http://www.eff.org/ http://www.opendvd.org/ http://www.cs.cmu.edu/~dst/DeCSS/Gallery/



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:04:13 EDT