On Sun, 4 Nov 2001, Jonas Hummelstrand wrote:
> I've tried to make my newly installed server safe from potential bad-guys by
> requiring authorization for SMTP relaying.
> If I set "SMTPConfig" to "mail-auth" in SERVER.TAB, the server won't relay
> unauthorized messages from the outside, which is good. THe bad part is that
> I can't send or receive any e-mail anymore. I don't get any error message:
> the incoming mail never appear and the outgoing e-mail seem to be sent, but
> never reach their destination.
>
> I've set up SMTPAUTH.TAB with my account, but that doesn't help. What am I
> doing wrong, and how do I make sure that all domains will require SMTP
> authentication to avoid abuse?
>
> XMail 1.1 on Win2K
Damn, who is going to write the FAQ :) soooonn...
1) Remove mail-auth from SMTPConfig, this is only if you want that
_everyone_ that wants to send you a message ( even local ) must
authenticate.
2) Setup your smtprelay.tab with your "friend" IPs, or empty it if you've
no local IPs to trust.
3) You don't need to setup smtpauth.tab coz the first lookup is done
inside the users database, so you can easily use standard accounts/passwd
- Davide