Re: Help needed to stop spoofed mails

Hugo Monteiro <[email protected]>
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
On 02/01/2010 10:09 AM, Piyush Joshi wrote:
> Dear All,
>                I am running qmail-ldap set up for my domain and now i
> need not to accept any mail from unknown ip address on port 25 having
> mail from address *@mydomain.com.
>
> I want to do this to stop accepting forged mails which contains mail
> from address of my domain.
>
> Let me know is it possible or not or if any of you have any solution
> for this problem.
>
> --
> Regards
>
> ******************************
> Piyush Joshi
> System administrator
> ******************************
> "Ability is what you're capable of doing. Motivation determines what
> you do. Attitude determines how well you do it"
>
>    


Hello again Piyush,

I actually forgot that i had a backup of the single patch file.

Just apply the patch to the source and recompile.

Basically you only have to define SENDERCHECK="AUTH", in your tcpserver 
rules file, for the networks you wish to apply the restriction.

I've been using it for over a year now in a couple of servers and it's 
been working without any issue. But if you, or anyone, find any drawback 
that i'm not aware of, please let me know.

Regards,

Hugo Monteiro.

-- 
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email	 : [email protected]
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
		   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.ci.fct.unl.pt	      [email protected]

fct.unl.pt:~# _
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.