Gentoo Archives: gentoo-user

From: Randy Barlow <randy@×××××××××××××××××.com>
To: Gentoo Users <gentoo-user@l.g.o>
Subject: [gentoo-user] Open Relay - What Happened?
Date: Thu, 28 Jun 2007 03:42:30
Message-Id: 46833A10.80508@electronsweatshop.com
1 So I'm running postfix on Gentoo, and have been doing so happily since
2 about November. Until today I got a rejection for relayed mail notice
3 from Road Runner. I read on their site that this happens when your IP
4 address sends more than 1000 e-mails in 24 hours. My first thought was
5 my windows-using roommates, but then I checked my e-mail server from the
6 outside and indeed it was open. This is weird though, because I believe
7 I have it configured for authenticated users only. I even tried setting
8 it to only allow connections from this host, and still it happily
9 accepts connections from outside and tries to relay those e-mails to
10 other domains (of course, I would expect it to accept mail for
11 electronsweatshop.com.) Here are some settings in /etc/postfix/main.cf
12 that I think are relevant, anybody have any comments/criticisms/suggestions?
13
14 myorigin = $myhostname
15 mydestination = $myhostname, localhost.$mydomain, $mydomain
16 mynetworks_style = subnet # I tried setting to host to see if that would
17 # solve the problem (nope)
18 smtpd_sasl_auth_enable = yes
19 smtpd_sasl_security_options = noanonymous
20 smtpd_sasl_local_domain =
21 broken_sasl_auth_clients = yes
22 # I've tried the following also adding
23 reject_unauth_destination,reject_unknown_client, but that didn't solve
24 the problem either
25 smtpd_client_restrictions = permit_sasl_authenticated
26 smtp_use_tls = yes
27 smtpd_use_tls=yes
28 smtpd_tls_auth_only = yes
29 relayhost = smtp-server.carolina.rr.com
30 # I actually have several domains listed here. Does anyone know how to
31 get it to allow me to relay to all domains once I have properly
32 authenticated?
33 relay_domains = bunchofdomains.com
34 smtpd_tls_security_level = may
35
36 I fully appreciate any help anyone can offer. I made this setup just by
37 following some guides I found here and there online, and don't really
38 have a good grasp on the 6 volume manual that is postfix docs :)
39 --
40 Randy Barlow
41 http://electronsweatshop.com
42
43 But you are a chosen race, a royal priesthood, a holy nation, a people
44 for his own possession, that you may proclaim the excellencies of him
45 who called you out of darkness into his marvelous light. Once you were
46 not a people, but now you are God's people; once you had not received
47 mercy, but now you have received mercy. ~1 Peter 2:9-10
48
49 --
50 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Open Relay - What Happened? Vladimir Rusinov <vladimir@×××××××××.info>