Re: sendmail logs

From: Carlo Orecchia (carlo_at_numb.darktech.org)
Date: 09/24/04

  • Next message: Darragh Bailey: "Re: Devlabel and Fstab with usb pendrive"
    Date: Fri, 24 Sep 2004 15:35:01 +0200 (CEST)
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    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

    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)

    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.

    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)

    Thanks PAUL i appreciate your help and i hope i was clear enough

    carlo

    On Fri, 24 Sep 2004, Paul Howarth wrote:

    > Carlo Orecchia wrote:
    >> yes i got the same you wrote
    >>
    >> i also realized that sendmail allows relay from any host in /etc/hosts no
    >> matter if the host is listed in the access file. is this normal?
    >> i mean for all the other hosts (from internet) the relay is not allowed
    >> isn't it?
    >
    > sendmail does not allow relay from any host in /etc/hosts; it allows relay
    > from any host with a RELAY tag in the access.db, and to any domain listed in
    > /etc/mail/relay-domains
    >
    > What makes you think it allows relay from any host in /etc/hosts?
    >
    > Paul.
    >
    >
    >

    -- 
    Dott. Carlo Orecchia
    E-Mail: carlo@numb.darktech.org
    Web: http://numb.darktech.org/carlo/
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Darragh Bailey: "Re: Devlabel and Fstab with usb pendrive"

    Relevant Pages

    • Re: Is my server hijacked or is it spammed
      ... Only authenticated hosts can relay through our server, ... would seem the spammer actually managed to authenticate. ...
      (microsoft.public.exchange.admin)
    • Re: Is my server hijacked or is it spammed
      ... statically enter relay hosts. ... Only authenticated hosts can relay through our server, ... would seem the spammer actually managed to authenticate. ...
      (microsoft.public.exchange.admin)
    • Re: Bad-Clients: definitely not working
      ... the good client list can relay to the outside world. ... good clients list cannot relay to the outside world. ... to whom peoople in the world can send email to via your SMTP server ... The good clients need only specify hosts on your LAN. ...
      (comp.os.vms)
    • Re: Relay Question
      ... An open relay ... is an SMTP e-mail server that allows third-party relay of e-mail messages. ... Exchange 2003 is by default configured to prevent open relay. ... Microsoft does not control these sites ...
      (microsoft.public.windows.server.sbs)
    • Re: relay restriction
      ... To receive inbound internet mail, you will need to allow anonymous access. ... This allows internet mail hosts to send you mail. ... access on the SMTP virtual server that receives internet mail, ... exist in that list of hosts allowed to relay. ...
      (microsoft.public.exchange.setup)