Re: Can't get OpenSMTPD to send mail to non-local addresses.

2011-08-05 Thread Gilles Chehade
Hi, On Thu, Aug 04, 2011 at 11:46:24AM -0600, Deraj Puma wrote: [...] I tweaked it a bit further, and am running into an issue I don't quite understand. I can send mail without getting an error but it never arrives. The new conf is: --- map secrets { source db /etc/mail/secrets.db }

Re: Can't get OpenSMTPD to send mail to non-local addresses.

2011-08-05 Thread Gilles Chehade
On Thu, Aug 04, 2011 at 02:31:20PM -0600, Deraj Puma wrote: On Thu, Aug 4, 2011 at 11:46 AM, Deraj Puma nap0...@gmail.com wrote: The error is: --- lka: smtp.comcast.net secret lookup (0) smtp.comcast.net secret not found mta: new status for email@address: 190 secrets lookup failed

Re: Can't get OpenSMTPD to send mail to non-local addresses.

2011-08-04 Thread Gilles Chehade
On Wed, Aug 03, 2011 at 06:42:39PM -0600, Deraj Puma wrote: Hi! Hi, [...] Here's my smtpd.conf file: --- listen on dc0 tls map aliases { source db /etc/mail/aliases.db } map secrets { source db /etc/mail/secrets.db } accept for local alias aliases deliver to mbox accept from all for

Re: Can't get OpenSMTPD to send mail to non-local addresses.

2011-08-04 Thread Deraj Puma
On Thu, Aug 4, 2011 at 1:57 AM, Gilles Chehade gil...@poolp.org wrote: The ruleset is incorrect, the third rule will never be matched as the second rule matches all sources and destinations. Right now, your ruleset says: - mails coming from local host for local domains are delivered to mbox -

Re: Can't get OpenSMTPD to send mail to non-local addresses.

2011-08-04 Thread Deraj Puma
On Thu, Aug 4, 2011 at 11:46 AM, Deraj Puma nap0...@gmail.com wrote: The error is: --- lka: smtp.comcast.net secret lookup (0) smtp.comcast.net secret not found mta: new status for email@address: 190 secrets lookup failed I deleted both secrets and secrets.db and did it over again. It works

Can't get OpenSMTPD to send mail to non-local addresses.

2011-08-03 Thread Deraj Puma
Hi! I'm trying to setup a mail server for a small website. So far I can receive emails fine and even send mail to local users (root, myself, etc). I can't, however, email anything else. Here's my smtpd.conf file: --- listen on dc0 tls map aliases { source db /etc/mail/aliases.db } map secrets {