Re: Sendmail Masquerade Problem

2008-06-24 Thread Chuck Swiger

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 [EMAIL PROTECTED] [EMAIL PROTECTED] 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.


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...


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail Masquerade Problem

2008-06-24 Thread Alex de Kruijff
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 [EMAIL PROTECTED] [EMAIL PROTECTED] 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 [EMAIL PROTECTED] [EMAIL PROTECTED]
this doesn't: echo 'test' | mail -vs test [EMAIL PROTECTED]

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[EMAIL PROTECTED]
 MDeferred: 451 Temporary local problem - please try later
 rRFC822; [EMAIL PROTECTED]
 RPFD:[EMAIL PROTECTED]
 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 [EMAIL PROTECTED]; Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
 (envelope-from [EMAIL PROTECTED])
 H?x?Full-Name: Charlie Root
 H??Received: (from [EMAIL PROTECTED])
 by private (8.13.6/8.13.6/Submit) id m5OJ6BpJ070838
 for [EMAIL PROTECTED]; 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 [EMAIL PROTECTED]
 H??Message-Id: [EMAIL PROTECTED]
 H??To: [EMAIL PROTECTED]
 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

[EMAIL PROTECTED] doesn't exist on the outside and like it to be changed by
sendmail into [EMAIL PROTECTED]

-- 
Alex

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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]