On Mon, Jun 4, 2012 at 4:36 AM, Gilles Chehade <gil...@poolp.org> wrote:
> On Sun, Jun 03, 2012 at 03:02:46PM +0200, Christopher Zimmermann wrote:
>>
>> [...]
>>
>> > >
>> > > Relay how? Using smarthost? Possibly password protected? Then you
>> > > need something like this:
>> > >
>> > > map "secrets" { source db "/etc/mail/secrets.db" }
>> > > accept from ... for all relay via smarthost tls auth "secrets"
>> >
>
> You should drop the '{' as they will be gone in the future, I made them
> optional so that it doesn't break setups but it should read:
>
> map "secrets" source db "/etc/mail/secrets.db"

That doesn't work in 5.1, unfortunately.  I get a syntax error when I
remove the "{" and "}".

Also, mind slapping me with a cluestick?  The below is my config, but
I can't even send myself an email?

wan_if = "em0"
lan_if = "fxp0"

listen on lo0
listen on $lan_if

map "aliases" { source db "/etc/mail/aliases.db" }

accept for local alias aliases deliver to mbox
accept for domain "*.spidernet.to" deliver to mbox
accept for domain "*.bofh.to" deliver to mbox

# echo "test"|mail root
send-mail: command failed: 530 5.0.0 Recipient rejected:
r...@urd.spidernet.to
# echo "test"|mail test
send-mail: command failed: 530 5.0.0 Recipient rejected:
t...@urd.spidernet.to

# cat /var/log/maillog
Jun  9 11:14:35 urd smtpd[3173]: lka_session_done: expansion led to
empty delivery list
Jun  9 11:14:35 urd smtpd[13437]: 50f71e78:
from=<r...@urd.spidernet.to>, relay=0@localhost [IPv6:::1],
stat=LocalError (530 5.0.0 Recipient rejected: r...@urd.spidernet.to)
Jun  9 11:16:22 urd smtpd[3173]: lka_session_done: expansion led to
empty delivery list
Jun  9 11:16:22 urd smtpd[13437]: 218b8c90:
from=<r...@urd.spidernet.to>, relay=0@localhost [IPv6:::1],
stat=LocalError (530 5.0.0 Recipient rejected: t...@urd.spidernet.to)

I swear users "root" and "test" exists...
--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted."  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4

Reply via email to