Hello,

you should have #define CHKUSER_EXTRA_MUSTAUTH_VARIABLE
"CHKUSER_MUSTAUTH" enabled (in chkuser_settings.h) and in tcp.smtp
CHKUSER_MUSTAUTH="" and RELAYCLIENT="" must be deleted or it will be
not working.

If you change anything in chkuser_settings.h, qmail must be recompiled
and installed again (make, make setup check)

For me works ok.

2007/12/29, tonix (Antonio Nati) <[EMAIL PROTECTED]>:
>
>  Satish Alwani ha scritto:
> Hi,
>
>  I have the qmail-toaster-0.8.3.patch, I am currently running 2 instances of
> qmail-smtpd (on 2 different ips). 1 is for the users to send the email from,
> 1 is for the MX record where their domain can get emails.
>
>  What I would like to do is the smtp used as relay, should ONLY accept
> emails if they are authenticated. i.e. Even if the user wants to send an
> email to the same domain, it shouldnt accept it, unless authenticated.
>
>  The other smtp server will be as is where the public incoming emails would
> go to.
>
>  For this as I understand I can set it with tcp.smtp. Currently I am sharing
> the same tcp.smtp.cdb across both qmail-smtpd instances. I will be willing
> to manage 2 cdb files for this ofcourse.
>
>  I tried to follow :
> http://www.mail-archive.com/[email protected]/msg04780.html
>  and enabled CHKUSER_MUSTAUTH="" on my ip (and yes i ran qmailctl cdb to
> update). However, I am still able to send emails to any domain I have on the
> box.
>
>  Can someone help me with this please.
>
>  Regards,
>  Satish Alwani
>  Did you also enable the option within chkuser_settings.h and recompile?
>
>  Tonino
>
>  --
> ------------------------------------------------------------
>  [EMAIL PROTECTED] Interazioni di Antonio Nati
>  http://www.interazioni.it [EMAIL PROTECTED]
> ------------------------------------------------------------
>
>


-- 
Lampa

Reply via email to