LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-26-2007, 08:47 AM   #1
BeauSanders
LQ Newbie
 
Registered: Nov 2004
Location: South Carolina
Distribution: CentOS 5.3; RHEL5.4
Posts: 24

Rep: Reputation: 15
Postfix configuration: Final-Receipient different than Original-Recipient


I am attempting to setup a Postfix server as a second mail server in my domain. It works fine for any mail that is generated within the subnet that the server is on. My issue is that Postfix is bouncing back mail sent to the server from outside the subnet.

Here is an example of the issue:

Reporting-MTA: dns; linux1.beausanders.com
X-Postfix-Queue-ID: 36C50E853EA
X-Postfix-Sender: rfc822; Beau.Sanders@gvltec.edu
Arrival-Date: Fri, 26 Oct 2007 09:29:28 -0400 (EDT)

Final-Recipient: rfc822; linux1.beausanders.com@linux1.beausanders.com
Original-Recipient: rfc822; beau2@linux1.beausanders.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; unknown user: "linux1.beausanders.com"


Notice that the Final-Recipent is different than the Original-Receipent. I do not know what is causing this behavior. I imagine this is a small confiuration mistake, but I am having trouble finding my error.

Any help is greatly appreciated.

beau@beausanders.com
 
Old 10-26-2007, 10:10 AM   #2
BeauSanders
LQ Newbie
 
Registered: Nov 2004
Location: South Carolina
Distribution: CentOS 5.3; RHEL5.4
Posts: 24

Original Poster
Rep: Reputation: 15
Fixed the problem

After about two hours of trying to remember how Postfix works, I got to the bottom of the issue. I am using postmap to do virtual mapping. All I had to do was add the new users to the virtual mapping file and recompile the database and it worked. Virtual mapping is great, you just got to remember to use it.

For more on postmap, take a look at the man pages.

-Beau
 
  


Reply



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 whitelisting by recipient address? carlmarshall Linux - Server 4 12-07-2006 07:12 AM
Postfix on RH 9 'No Recipient' in queue rangert Linux - Server 3 10-25-2006 11:57 AM
Broken Fetchmail/Postfix - recipient not found swilliams2006 Linux - Server 1 09-18-2006 02:37 PM
postfix and php : recipient unknown jodaog Linux - Software 1 03-13-2005 09:25 AM
postfix - wrong recipient address iliah Linux - Networking 2 09-26-2004 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:18 AM.

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