1 |
Ben Munat schrieb: |
2 |
> Hello, |
3 |
> |
4 |
> I'm working on my first postfix setup and I can't get it to relay mail |
5 |
> to an external domain. Any mails to local domains are handled just fine |
6 |
> and mailman seems to be sending mails to external domains. But trying to |
7 |
> send any outside mail gives me a "relay not permitted" error. |
8 |
> |
9 |
> I've looked through the config files and done lots of googling... |
10 |
> everything seems right. Here's the relevant stuff from my main.cf: |
11 |
> |
12 |
> smtpd_sasl_auth_enable = yes |
13 |
> smtpd_sasl_security_options = noanonymous |
14 |
> smtpd_sasl_local_domain = munat.com |
15 |
> broken_sasl_auth_clients = yes |
16 |
> smtpd_recipient_restrictions = |
17 |
> permit_sasl_authenticated, |
18 |
> permit_mynetworks, |
19 |
> check_relay_domains |
20 |
> smtpd_sender_restrictions = |
21 |
> permit_sasl_authenticated, |
22 |
> permit_mynetworks, |
23 |
> check_relay_domains |
24 |
> |
25 |
> smtpd_use_tls = yes |
26 |
> smtpd_tls_auth_only = yes |
27 |
> smtpd_tls_key_file = /etc/postfix/newkey.pem |
28 |
> smtpd_tls_cert_file = /etc/postfix/newcert.pem |
29 |
> smtpd_tls_CAfile = /etc/postfix/demoCA/cacert.pem |
30 |
> smtpd_tls_loglevel = 3 |
31 |
> smtpd_tls_received_header = yes |
32 |
> smtpd_tls_session_cache_timeout = 3600s |
33 |
> tls_random_source = dev:/dev/urandom |
34 |
> |
35 |
> I get this in the logs: |
36 |
> |
37 |
> Nov 20 21:40:45 munat postfix/smtpd[27832]: NOQUEUE: reject: RCPT from |
38 |
> home[72.130.214.34]: 554 <ben@×××××××××.com>: Recipient address |
39 |
> rejected: Relay access denied; from=<ben@×××××.com> |
40 |
> to=<ben@×××××××××.com> proto=ESMTP helo=<[192.168.0.102]> |
41 |
> |
42 |
> Any help appreciated. |
43 |
Hmm, I don't see relay_domains set, but thats probably to easy ;) |
44 |
|
45 |
cheers |
46 |
Paul |
47 |
|
48 |
-- |
49 |
gentoo-server@g.o mailing list |