Page 1 of 1

Delivery to UNIX user - is this the correct behaviour?

Posted: Fri May 12, 2006 5:08 am
by btisdall
Just trying to understand a bit more about how things work here:

If I, from another host, submit a message for a UNIX (non-Scalix) user test@hostname.local then unless I have something like this in my smtpd.cfg:

Code: Select all

RELAY accept 192.168.0.0/255.255.255.0


The delivery fails with 'denied due to spam list'.

But this isn't actually relaying per-se is it?

Aren't I trying to do local delivery?

I'm probably missing something obvious...

Posted: Fri May 12, 2006 7:34 am
by btisdall
I notice on the production machine I have:

Code: Select all

RELAY accept 127.0.0.1
RELAY accept .local
RELAY Log_Reject ALL


Note that with the above lines I can deliver mail to UNIX users from *outside* the local network.

Whereas on the test server:

Code: Select all

RELAY accept 127.0.0.1
RELAY accept 192.168.0.0/255.255.255.0
RELAY accept .cosmo
RELAY Log_Reject ALL


Changing .cosmo ('cosmo' being the hostname) to '.local' obviates the need for the '192...' line as expected, but I confess this hasn't really given me a better understanding of what's going on...