Submitted by compserv on Sat, 09/19/2009 - 17:41
noticed this in mail log:
Sep 19 18:36:11 ubuntu postfix/smtpd[7638]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
How do I fix this?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Sat, 09/19/2009 - 17:47 Comment #1
Sounds like you should add one of those to the smtpd_recipient_restrictions list ;-)
By default, the smtpd_recipient_restrictions is set to:
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
You can set that in /etc/postfix/main.cf -- after editing that, you should restart Postfix with "/etc/init.d/postfix restart"
Submitted by JamieCameron on Sat, 09/19/2009 - 17:49 Comment #2
What is the output from :
grep smtpd_recipient_restrictions /etc/postfix/main.cf /etc/postfix/master.cf
Submitted by JamieCameron on Sat, 09/19/2009 - 17:50 Comment #3
Sorry, Eric .. assigning this back to you :-)
Submitted by compserv on Sat, 09/19/2009 - 21:40 Comment #4
norman@ubuntu:~$ grep smtpd_recipient_restrictions /etc/postfix/main.cf /etc/postfix/master.cf /etc/postfix/main.cf:smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated permit_inet_interfaces permit_mx_backup
norman@ubuntu:~$
Submitted by compserv on Sat, 09/19/2009 - 21:43 Comment #5
I would hope to to that from the webmin console not the terminal. Edited main.cf as instructed. Now what?
Submitted by andreychek on Sat, 09/19/2009 - 21:46 Comment #6
Did you restart Postfix?
If not, go ahead and restart it, and see if that error is gone.
Submitted by compserv on Sun, 09/20/2009 - 15:20 Comment #7
restarted still cannot send email.
Submitted by andreychek on Sun, 09/20/2009 - 21:16 Comment #8
Is the error about "smtpd_recipient_restrictions" gone now?
When you go to send an email, what errors do you see, in both your email client, as well as in the mail logs (/var/log/mail.log)?
Also, are you sure you've enabled authentication for Outgoing SMTP messages in your email client? That's not a default, at least in some versions.
Submitted by compserv on Tue, 09/22/2009 - 11:39 Comment #9
grep smtpd_recipient_restrictions /etc/postfix/main.cf /etc/postfix/master.cf
Response: /etc/postfix/main.cf:smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated permit_inet_interfaces permit_mx_backup
Postfix should work right out of the box. Is there anyway to reset it to "default" settings?
My ISP is scheduled to launch this week and my customers still cannot send email.
Submitted by andreychek on Tue, 09/22/2009 - 11:52 Comment #10
Correct, Postfix should work correctly for multi-user email immediately after installing Virtualmin with the install.sh script.
There's no way to revert to the original settings unless you have a backup of the files before any changes were made.
We can help solve the problem, but the next step is to look over the questions I had mentioned above -- we can help given enough information about the problem.
However, I can offer that the default settings for "smtpd_recipient_restrictions" is:
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
If that's not what you have, and you're still receiving error messages about that parameter, you might try using that and working from there.
Submitted by compserv on Tue, 09/22/2009 - 17:15 Comment #11
Error message has changed not I'm getting:
Sep 22 18:09:44 ubuntu postfix/smtpd[5093]: fatal: no SASL authentication mechanisms
Submitted by andreychek on Wed, 09/23/2009 - 19:15 Comment #12
Submitted by Issues on Fri, 10/09/2009 - 01:25 Comment #13
Automatically closed -- issue fixed for 2 weeks with no activity.