LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-17-2006, 08:10 PM   #1
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Rep: Reputation: 30
Cool Recipient address rejected


The problem is beetwen my gateway lan interface eth1 192.168.1.1 and the mail server 192.168.1.4 after it.This is on the gateway logs:
Code:
Security Events
=-=-=-=-=-=-=-=
Oct 17 08:02:10 argo nullmailer[8561]: smtp: Failed: 450 <mail.gabrix.ath.cx>: Recipient address rejected: User unknown in local recipient table
Oct 17 08:02:10 argo nullmailer[13133]: Sending failed:  Temporary error in sending the message
Oct 17 08:02:10 argo nullmailer[8565]: smtp: Failed: 450 <mail.gabrix.ath.cx>: Recipient address rejected: User unknown in local recipient table
Mail sent by logchek and nullmailer on the gateway host.
But after a little mail gets sent :
Code:
System Events
=-=-=-=-=-=-=
Oct 17 08:02:10 argo nullmailer[13133]: Delivery complete, 1 message(s) remain.
Oct 17 08:02:10 argo nullmailer[13133]: Delivery complete, 1 message(s) remain.
Oct 17 08:03:10 argo nullmailer[13133]: Delivery complete, 1 message(s) remain.
Oct 17 08:04:10 argo nullmailer[13133]: Delivery complete, 1 message(s) remain.
Oct 17 08:05:10 argo nullmailer[13133]: Delivery complete, 1 message(s) remain.
Oct 17 08:06:10 argo nullmailer[13133]: Delivery complete, 1 message(s) remain.
Oct 17 08:07:10 argo nullmailer[13133]: Delivery complete, 1 message(s) remain.
The /etc/hosts file is the same on both hosts argo and mail,the /etc/aliases too ... where else could i look ???
My doubt is if this happens for all mail , internet and local , or only the loal one.
My lan is so configured:
Quote:
[router-modem192.168.0.1]---[192.168.0.2linux-box-gateway192.168.1.1]---[192.168.1.6mailserver]
I hope it helps ...

Last edited by gabsik; 10-17-2006 at 08:12 PM.
 
Old 10-18-2006, 03:35 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Is it a case of http://www.postfix.org/LOCAL_RECIPIENT_README.html?
 
Old 10-18-2006, 12:45 PM   #3
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
In order to help I need to be sure I understand what you're trying to do. Postfix is just acting as a relay (email firewall/gateway) in front of your real internal SMTP server.

If this is in fact the case then you should be using the relay_domains & relay_recipient_maps parameters to handle this. Also, be sure $mydomain isn't listed in mydestination, because you don't want local delivery, you want to relay incoming email to your internal SMTP server.

Post the following so we can see how you're setup.
Code:
postconf -n
 
  


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: Recipient address rejected: Relay access denied; stormrider_may Linux - Networking 5 02-18-2006 05:38 AM
Recipient gets different address gubak Linux - Networking 3 02-11-2005 12:41 PM
Postfix error - Recipient address rejected: Relay access denied robbiemorgan Linux - Newbie 1 10-01-2004 03:57 AM
postfix - wrong recipient address iliah Linux - Networking 2 09-26-2004 09:34 AM
Email Error - "Recipient address rejected: Relay access denied" ripcord Linux - Newbie 1 10-31-2002 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:29 PM.

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