Postfix: Recipient address rejected: User unknown in local recipient table

Associate
Joined
1 Aug 2007
Posts
1,065
Hi all,

Im setting up a mail server using postfix/dovecot and just trying to send some emails on the localdomain to test the mailbox but I getting the below message back from outlook.

'[email protected]' on 23/02/2010 21:30
550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table

Any ideas?
 
Thanks I also found that by googling but the setting doesnt exist in my main.cf.

I have the below and tried commenting it out as a test but no luck.

smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sender_restrictions = reject_unknown_sender_domain
 
I think it's all there, I don't remember that much about postfix as the last time I used it was in 2002 running alongside exchange 5.5.
 
Have you created a file with all the email addresses in?

What you need to do is create a text file in the postfix directory with a list of email addresses in. You need to then add a line in the main.cf that tells postfix to read this file. My line is as follows..

virtual_maps = hash:/etc/postfix/virtual

Substitute "virtual" for what ever your email list file is called.

You also need to run..

postmap /etc/postfix/virtual

Which will convert your list file into a file that postfix can read.

Hope that helps! If you need any other help let me know and I'll try my best to help you (have set up a postfix mail server for work so know a little bit about it!) :)
 
Back
Top Bottom