But it should work if i have 2 seperate cdb files to do this right? one for the local users / 1 for the public internet to MX to

Satish

tonix (Antonio Nati) wrote, On 2007-12-29 6:51 PM:
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/toaster@shupp.org/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] ------------------------------------------------------------

Reply via email to