Re: sendmail logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Carlo,

Carlo Orecchia wrote:
I am using the server as an smtp server. It means all clients (let's say 192.168.1.20/25) in my lan send mails throughout my server (let's say 192.168.1.1) which is obviously directly connetted to internet.
(when i say clients i mean for instance outlook express, not other standalone servers).
To let these clients relay I have for any IP an entrance in the access like this:


localhost.localdomain RELAY
192.168.1.20 RELAY

This all looks good so far. Do you have any other entries in the file with a RELAY tag, particularly any with a name instead of an IP address?


Now, what i wonder is why sendmail allows relay even if I remove these entries. and only does not allow relay if i remove from hosts the hostname i gave to the machine (e.g. 192.168.1.20 lan01)

It may be relaying because of another feature other than the IP address being specified in the access.db.


About this i guess is because if I remove the hostname the ip does not resolve so the server does not accept it. So the fact i does not relay has nothing to do with the access database or access rules in general.

That looks likely.

Anyway why if I remove the 192.168.1.20 RELAY line that machine is still able to relay?
I obviously run makemap and restart sendmail after having modified access file and i don't have relay-domains entries (only localhost)

There's no need to restart sendmail after doing the makemap

What's your sendmail.mc look like? Please post all of it.

Paul.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux