Review your favorite Linux distribution.
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 09-18-2006, 01:20 PM   #1
Registered: Dec 2005
Location: Kent
Distribution: Kubuntu 6.10
Posts: 32

Rep: Reputation: 15
Broken Fetchmail/Postfix - recipient not found

Hi Guys,

I have previously posted this under "General" but thought that this would be a better forum suited to my question...

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, 03: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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error retrieving mail - recipient not found in local recipient tables swilliams2006 Linux - General 1 09-18-2006 03:37 PM
Postfix: Is it possible to rewrite sender address only for selective recipient? Akhran Linux - Software 3 08-15-2006 11:48 AM
postfix problem:: Internet recipient cannot receive mail adrianmak Linux - Software 2 08-16-2005 06:30 AM
postfix and php : recipient unknown jodaog Linux - Software 1 03-13-2005 10:25 AM
postfix - wrong recipient address iliah Linux - Networking 2 09-26-2004 10:34 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:46 AM.

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