Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-07-2008, 07:04 AM   #1
LQ Newbie
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Postfix configuration: fake senders


I recently set up postfix on my server, and I have a question.

Right now, I can connect to my server on postfix port, and issue the SMTP commands to create an email to a user on my domain, from any email address - there's no verification of the domain.

This surprised me, as I expected that the IP of the computer connecting to the server in order to send the mail would have to be from the domain that it was actually claiming to be sending mail from.

Do I have postfix incorrectly configured, or is this simply a problem that is solved with anti-spam software?

Thanks in advance,
Old 05-07-2008, 07:21 AM   #2
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
There is nothing wrong with that because if it was different how then would anyone who is not on your network be able to email you.
Old 05-07-2008, 12:27 PM   #3
Registered: Feb 2006
Location: NJ, USA
Distribution: Debian
Posts: 72

Rep: Reputation: 17
As long as the address you are sending the email to is on that server smpt should allow you to send it an email, thats how smpt works, your just doing it manually.

What it should through an error on is if you want to send email to a recipient on another server, you should get denied.

"... I expected that the IP of the computer connecting to the server in order to send the mail would have to be from the domain that it was actually claiming to be sending mail from."

This can be done, but it has to be set up correctly. Some server check for the PTR records, thats what most ISP do. I've never set that up for postfix but you could use Postfix's reject_unknown_client option, which will trigger if the reverse and forward DNS don't match, which is the only way to correctly identify a client
name. There is no built-in option to only check for a PTR record that i know of.

you might find this useful:



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Configuration Question: Postfix server as a catch-all on office LAN enso491 Linux - Server 5 04-14-2008 04:35 PM
Can Postfix Restrict Senders For Mailing Lists? tbeehler Linux - Software 2 04-07-2008 06:41 PM
postfix configuration vareesh Linux - Server 26 08-13-2007 11:51 AM
PostFix configuration jscedunn Linux - Enterprise 6 01-31-2007 11:49 AM
Postfix Configuration Graanco Linux - Software 2 07-06-2002 01:32 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration