Sendmail trouble

From: Filipe Litaiff (filipe_litaiff_at_optiglobe.com.br)
Date: 11/25/04

  • Next message: Geon Reuben: "inetd services"
    Date: Thu, 25 Nov 2004 16:35:12 -0200
    To: <sunmanagers@sunmanagers.org>
    
    

    Gentleman,

    Assuming that:

    - I don4t master sendmail;
    - I have to put it working properly ASAP;
    - I Use a sendmail.cf that don4t have correspondency to a sendmail.mc and
    don4t know how to reverse enginee it

    It said, here is my problem.

    When I try to send my mail, it is being sent with the real root@internalhost
    instead of an address with our valid domain (root@mydomain.com.br). All I want
    to do is to replace it, but I have no Idea to make it working properly at this
    time.

    When the semtphost receives my message, it get rejected.

    ==================

    /etc/mail# banner teste | mailx -v -s "---- TEST" user@gmail.com
    /etc/mail# filipe_litaiff@gmail.com... Connecting to smtphost.mydomain.com.br.
    via relay...
    220 RELAYER0010 Microsoft ESMTP MAIL Service, Version: 5.0.2195.5329 ready at
    Thu, 25 Nov 2004 16:18:51 -0200
    >>> EHLO myhost.bkp.rj1
    250-optg0010 Hello [175.10.101.15]
    250-AUTH GSSAPI NTLM LOGIN
    250-AUTH=LOGIN
    250-TURN
    250-ATRN
    250-SIZE 2097152
    250-ETRN
    250-PIPELINING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-8bitmime
    250-BINARYMIME
    250-CHUNKING
    250-VRFY
    250 OK
    >>> MAIL From:<root@internalhost> SIZE=303

    *** Here is the problem. I can4t change it and I have to.

    250 2.1.0 root@internalhost....Sender OK

    >>> RCPT To:<user@gmail.com>
    250 2.1.5 user@gmail.com
    >>> DATA
    354 Start mail input; end with <CRLF>.<CRLF>
    >>> .
    250 2.6.0 <200411251820.iAPIK9P00407@internalhost.bkp.rj1> Queued mail for
    delivery
    user@gmail.com... Sent ( <200411251820.iAPIK9P00407@internalhost.bkp.rj1>
    Queued mail for delivery)
    Closing connection to smtphost.mydomain.com.br.
    >>> QUIT
    221 2.0.0 relayer0010 Service closing transmission channel

    =========================

    Some sections from my sendmail.cf

    ---
    # my official domain name
    # ... define this only if sendmail cannot automatically determine your domain
    #Dj$w.Foo.COM
    Dj$w.$m
    CP.
    # "Smart" relay host (may be null)
    DSsmtphost.mydomain.com.br
    #DSmailhost
    -----
    # class E: names that should be exposed as from this host, even if we
    masquerade
    # class L: names that should be delivered locally, even if we have a relay
    # class M: domains that should be converted to $M
    # class N: domains that should not be converted to $M
    #CL root
    #C{E}root
    #CM.
    CEroot
    CMmydomain.com.br
    ------
    # pass to name server to make hostname canonical
    #R$* $| $* < @ $* > $*          $: $2 < @ $[ $3 $] > $4
    R$* $| $*                       $: $2
    =======================================================
    Any ideas?
    Thanks,
    Filipe.
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: Geon Reuben: "inetd services"