Another sendmail relaying problem.

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Fri Jun 25 16:45:50 UTC 2004


Am Fr, den 25.06.2004 schrieb Franco um 18:23:

> Hi, i have set relay for my server, i have enabled just few
> ip of my lan to relay and all work fine.
> The problem is that if anyone from the internet write to a
> local user and use the smtp of my server it permit the relay.
> How can i stop this ?!

Do I understand you right, that you won't receive mail for your users?
So why do you then run an MTA? That makes no sense, instead use the SMTP
server of your ISP.

If you really want to reject incoming mail for the local users - and
that is not relaying what the SMTP does then! - create a
/etc/mail/virtusertable with a catch all entry like

@my.local.domain.tld      ERROR:5.7.1:550 we do not accept incoming mail

Run "make -C /etc/mail" afterwards. A restart of the Sendmail daemon is
not necessary.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 
Serendipity 18:41:36 up 2 days, 17:19, load average: 0.12, 0.32, 0.33 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040625/fbeafb44/attachment-0002.bin 


More information about the users mailing list