Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix non-strict From
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cipherus
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 174

PostPosted: Sun May 25, 2008 6:10 am    Post subject: postfix non-strict From Reply with quote

I've set up postfix and I love it. Only problem I am having is that I tested telnet'ing to it (on localhost from a valid account) and I can set any From address and have it come out in the final email. Example result email:

--------------
Return-Path: lol@notreal.com
X-Original-To: test@realdomain.com
Delivered-To: test@realdomain.com
Received: from realdomain.com (localhost [127.0.0.1])
by realdomain.com (Postfix) with ESMTP id 50E4F3F52A
for <test@realdomain.com>; Sat, 24 May 2008 23:01:57 -0700 (PDT)
Message-Id: <20080525060208.50E4F3F52A@realdomain.com>
Date: Sat, 24 May 2008 23:01:57 -0700 (PDT)
From: lol@notreal.com
To: undisclosed-recipients: ;

LOL?
-------------

In the header it shows that it came from my real server. But it does not show which user sent it, and the From is a complete lie. Is there any way to enforce that which account sends the email is enforced as the Return-Path and From?
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Sun May 25, 2008 8:07 am    Post subject: Reply with quote

You could map the users > email addresses and get Postfix to run a check, if that's what you want.

Worth a read http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch
Back to top
View user's profile Send private message
cipherus
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 174

PostPosted: Mon May 26, 2008 1:15 am    Post subject: Reply with quote

Very helpful, exactly the informations I was looking for. Thank you very much, you are a gentleman and scholar.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum