Sendmail Masquerade Problem

Alex de Kruijff freebsd at akruijff.dds.nl
Tue Jun 24 21:57:24 UTC 2008


On Tue, Jun 24, 2008 at 02:19:44PM -0700, Chuck Swiger wrote:
> On Jun 24, 2008, at 2:01 PM, Alex de Kruijff wrote:
> >I have problem with sendmail that is giving me a headake. I can send
> >mails als long when I give the from adres, but when I leave this out  
> >the
> >server enters the localname and my ISP isn't accepting the mail. (i.e.
> >echo 'test' | mail -vs test to at mail.com -ffrom at mail works, but without
> >the -f option it gets accepted but is rejected by the isp) I have
> >masquerade setup, but that doesn't seem to do the trick. However check
> >on shows that it handeled oke.
> 
> Root is an "exposed user", in other words, mail sent by root is not  
> masquaraded by default, even if other addresses would be.

I tested this with a regular user.

> Anyway, this doesn't really matter, as your ISP's mail server should  
> be willing to relay your mail anyway.  You should talk with tiscali.nl  
> about what else you might need to do-- perhaps setting up SMTP auth  
> would let you relay through their mailservers...

this works: echo 'test' | mail -vs test me at mail.com -ffrom at mail
this doesn't: echo 'test' | mail -vs test me at mail.com

Reading: /var/spool/mqueue/qfm5OJ6BIh070839
> V8
> T1214334371
> K1214343000
> N13
> P1110364
> I0/85/1271838
> MDeferred: 451 Temporary local problem - please try later
> Fbs
> $_localhost [127.0.0.1]
> $rESMTP
> $sprivate
> ${daemon_flags}
> ${if_addr}127.0.0.1
> S<me at private>
> MDeferred: 451 Temporary local problem - please try later
> rRFC822; me at dds.nl
> RPFD:<me at dds.nl>
> H?P?Return-Path: <\x81g>
> H??Received: from private (localhost [127.0.0.1])
>         by public (8.13.6/8.13.6) with ESMTP id m5OJ6BIh070839
>         for <me at dds.nl>; Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
>         (envelope-from me at private)
> H?x?Full-Name: Charlie Root
> H??Received: (from me at localhost)
>         by private (8.13.6/8.13.6/Submit) id m5OJ6BpJ070838
>         for me at dds.nl; Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
>         (envelope-from me)
> H??Date: Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
> H??From: Alex de Kruijff <me at private>
> H??Message-Id: <200806241906.m5OJ6BpJ070838 at private>
> H??To: me at dds.nl
> H??Subject: test
> H??X-Virus-Scanned: ClamAV 0.92.1/7553/Tue Jun 24 19:23:00 2008 on
> private
> H??X-Virus-Status: Clean

me at private doesn't exist on the outside and like it to be changed by
sendmail into me at public

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.



More information about the freebsd-questions mailing list