Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-17-2006, 05:57 PM   #1
Registered: Dec 2005
Location: Kent
Distribution: Kubuntu 6.10
Posts: 32

Rep: Reputation: 15
Error retrieving mail - recipient not found in local recipient tables

Hi Guys,

I have obviously done something to my mail system that I just about managed to get set up several months ago... still not quite sure what I have done. When I try to get mail using fetchmail I get this output:

fetchmail: SMTP> RCPT TO:<steve@localhost>
fetchmail: SMTP< 450 <steve@localhost>: Recipient address rejected: User unknown in local recipient table
fetchmail: SMTP error: 450 <steve@localhost>: Recipient address rejected: User unknown in local recipient table
fetchmail: SMTP> RSET
fetchmail: SMTP< 250 Ok
...... not flushed

exceprt from output of fetchmail -v -f /etc/.fetchmailrc

When I try to send a test mail to my steve@localhost using a mail client on a windows machine I get the error saying that this address could not be resolved, neither can root, postmaster or any other "valid" local address.

I can access the IMAP mailboxes without problem, and have obviously checked that the steve account exists in /etc/passwd

I really am not sure what I have broken. IIRC it is a Cyrus IMAPd mailbox, with Fetchmail > Postfix. All mail downloaded with fetchmail is set "is steve here"

My /etc/postfix/
# These are only the parameters changed from a default install
# see /etc/postfix/ for a commented, fuller version of this file.

# These are changed by postfix install script
readme_directory = /usr/share/doc/postfix-2.2.5/README_FILES
html_directory = /usr/share/doc/postfix-2.2.5/html
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq

# User configurable parameters

myhostname = siege
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost
mynetworks =,
home_mailbox = Maildir/
mail_spool_directory = /var/spool/mail
alias_maps = hash:/etc/postfix/aliases
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
debug_peer_level = 1
debugger_command = PATH=/usr/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5
delay_warning_time = 4
#inet_interfaces = localhost
mynetworks_style = host
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2

Can anybody suggest what to look at next? I have already tried googling the SMTP: error 450, it would seem only to return results on the subject of rejecting unknown inbound e-mail rather than resolving this... unless I have missed something!

Steve Williams
Old 09-18-2006, 02:37 PM   #2
Registered: Dec 2005
Location: Kent
Distribution: Kubuntu 6.10
Posts: 32

Original Poster
Rep: Reputation: 15
Close Thread

Hi Guys,

Thanks to everyone that read this thread... I have now resolved the problem, for anybody in the future experiencing similar problems, if you try looking at your /var/log/mail/warnings file, you may find that the mail system is having trouble accessing the user database. This is caused by broken permissions on your /etc/passwd file, I have set mine to CHMOD 744 and this solved the problem.

Thanks again for your time in reading this thread.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problem:: Internet recipient cannot receive mail adrianmak Linux - Software 2 08-16-2005 05:30 AM
Linux mail server.... set headers on recipient email til Linux - General 2 12-04-2004 08:24 PM
SMTP Error: Recipient not accepted ashish_v Linux - Software 0 09-12-2003 10:05 AM
Help with Sendmail filters for outgoing mail by sender/recipient gljoe Linux - Software 18 08-12-2003 08:56 PM
Mail problems 503 5.0.0 Need RCPT (recipient) Hylke Hogewind Linux - Software 3 04-03-2003 07:50 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:48 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
Open Source Consulting | Domain Registration