On Tue, Oct 16, 2012 at 12:19 PM, Larry Martell <larry.martell@xxxxxxxxx> wrote: > On Tue, Oct 16, 2012 at 11:06 AM, Benjamin Hackl <b.hackl@xxxxxxxxxxx> wrote: >> Does your postfix send emails directly or do you use a smarthost for >> relaying? I'm asking because you're using a 10.x.y.z network >> which means you use NAT for outgoing connections when delivering mails >> directly to the destination server. Bad idea. Worse if the destination >> server does some sanity checks (like spf or reverse checking of your >> ip/dns etc). > > I really don't know the answer to that question. The scenario is that > they run a django based web app, and they wanted me to add a password > recovery feature to it. When I did that, and it tried to send the > recovery link to the user, it failed with 'SMTPServerDisconnected.' I > thought, of course, there is no SMTP server running, so I set upon > getting postfix running. As I said in my initial post, I've never done > that before. I'm a developer, not an admin ;-) Applications that send mail normally have some configurable options. You might have the option of handing to sendmail (or the replacement program mailer the postfix provides) over a pipe or you may be able to configure sending via smtp. In the latter case, you can probably configure a relay host if one already exists for handling mail in the organization instead of running postfix locally as the relay. If you do have to run your own postfix instance, then it must either relay through a well-managed system or have a lot of things configured correctly so it can reach the recipients and will pass their spam checks. -- Les Mikesell lesmikesell@xxxxxxxxx _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos