Re: sendmail

From: Michael S. Dunsavage (mikesd_at_frontiernet.net)
Date: 04/26/04

  • Next message: Michael S. Dunsavage: "Re: sendmail"
    Date: Mon, 26 Apr 2004 10:10:10 -0400
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    adel.essafi wrote:
    > hi list
    > Am connected to internet from my network (at work). our ISP
    > does not allow using smtp server with yahoo adresses (or others).
    > I am begging working with sendmail
    > I have tried to send an email using mail command line.
    > the sendmail replied with the message
    > help please
    > adel
    >
    >>From MAILER-DAEMON@localhost.localdomain Mon Apr 26 14:47:20 2004
    > Date: Mon, 26 Apr 2004 14:47:20 +0100
    > From: Mail Delivery Subsystem
    > <MAILER-DAEMON@localhost.localdomain>
    > To: root@localhost.localdomain
    > MIME-Version: 1.0
    > Content-Type: multipart/report; report-type=delivery-status;
    > boundary="i3QDl74C003902.1082987240/localhost.localdomain"
    > Subject: Returned mail: see transcript for details
    > Auto-Submitted: auto-generated (failure)
    >
    > This is a MIME-encapsulated message
    >
    > --i3QDl74C003902.1082987240/localhost.localdomain
    >
    > The original message was received at Mon, 26 Apr 2004 14:47:07
    > +0100
    > from localhost [[UNIX: localhost]]
    >
    > ----- The following addresses had permanent fatal errors -----
    > adel.safi@esstt.rnu.tn
    > (reason: 553 5.5.4 <root@localhost.localdomain>... Real
    > domain name required
    > for sender address)
    > (expanded from: adel.safi@esstt.rnu.tn)
    >
    > ----- Transcript of session follows -----
    > ... while talking to [127.0.0.1]:
    >
    >>>>MAIL From:<root@localhost.localdomain> SIZE=377
    >
    > <<< 553 5.5.4 <root@localhost.localdomain>... Real domain name
    > required for sender address
    > 501 5.6.0 Data format error
    >
    > --i3QDl74C003902.1082987240/localhost.localdomain
    > Content-Type: message/delivery-status
    >
    > Reporting-MTA: dns; localhost.localdomain
    > Received-From-MTA: DNS; localhost
    > Arrival-Date: Mon, 26 Apr 2004 14:47:07 +0100
    >
    > Final-Recipient: RFC822; adel.safi@esstt.rnu.tn
    > Action: failed
    > Status: 5.5.4
    > Diagnostic-Code: SMTP; 553 5.5.4
    > <root@localhost.localdomain>... Real domain name required for
    > sender address
    > Last-Attempt-Date: Mon, 26 Apr 2004 14:47:20 +0100
    >
    > --i3QDl74C003902.1082987240/localhost.localdomain
    > Content-Type: message/rfc822
    >
    > Return-Path: <root>
    > Received: from localhost (localhost [[UNIX: localhost]])
    > by localhost.localdomain (8.12.8/8.12.8/Submit) id
    > i3QDl74B003902
    > for adel.safi@esstt.rnu.tn; Mon, 26 Apr 2004 14:47:07
    > +0100
    > From: adel essafi <adel.safi@esstt.rnu.tn>
    > Reply-To: adel.safi@esstt.rnu.tn
    > Organization: esstt
    > To: adel.safi@esstt.rnu.tn
    > Subject: a
    > Date: Mon, 26 Apr 2004 14:47:07 +0100
    > User-Agent: KMail/1.5
    > MIME-Version: 1.0
    > Content-Type: text/plain;
    > charset="us-ascii"
    > Content-Transfer-Encoding: 7bit
    > Content-Disposition: inline
    > Message-Id: <200404261447.07479.adel.safi@esstt.rnu.tn>
    >
    > a
    >
    > --i3QDl74C003902.1082987240/localhost.localdomain--
    >
    > &
    > Message 2:
    >>From MAILER-DAEMON@localhost.localdomain Mon Apr 26 14:47:43 2004
    > Date: Mon, 26 Apr 2004 14:47:43 +0100
    > From: Mail Delivery Subsystem
    > <MAILER-DAEMON@localhost.localdomain>
    > To: root@localhost.localdomain
    > MIME-Version: 1.0
    > Content-Type: multipart/report; report-type=delivery-status;
    > boundary="i3QDlgrQ003909.1082987263/localhost.localdomain"
    > Subject: Returned mail: see transcript for details
    > Auto-Submitted: auto-generated (failure)
    >
    > This is a MIME-encapsulated message
    >
    > --i3QDlgrQ003909.1082987263/localhost.localdomain
    >
    > The original message was received at Mon, 26 Apr 2004 14:47:42
    > +0100
    > from localhost [[UNIX: localhost]]
    >
    > ----- The following addresses had permanent fatal errors -----
    > adel.safi@esstt.rnu.tn
    > (reason: 553 5.5.4 <root@localhost.localdomain>... Real
    > domain name required for sender address)
    > (expanded from: adel.safi@esstt.rnu.tn)
    >
    > ----- Transcript of session follows -----
    > ... while talking to [127.0.0.1]:
    >
    >>>>MAIL From:<root@localhost.localdomain> SIZE=377
    >
    > <<< 553 5.5.4 <root@localhost.localdomain>... Real domain name
    > required for sender address
    > 501 5.6.0 Data format error
    >
    > --i3QDlgrQ003909.1082987263/localhost.localdomain
    > Content-Type: message/delivery-status
    >
    > Reporting-MTA: dns; localhost.localdomain
    > Received-From-MTA: DNS; localhost
    > Arrival-Date: Mon, 26 Apr 2004 14:47:42 +0100
    >
    > Final-Recipient: RFC822; adel.safi@esstt.rnu.tn
    > Action: failed
    > Status: 5.5.4
    > Diagnostic-Code: SMTP; 553 5.5.4
    > <root@localhost.localdomain>... Real domain name required for
    > sender address
    > Last-Attempt-Date: Mon, 26 Apr 2004 14:47:43 +0100
    >
    > --i3QDlgrQ003909.1082987263/localhost.localdomain
    > Content-Type: message/rfc822
    >
    > Return-Path: <root>
    > Received: from localhost (localhost [[UNIX: localhost]])
    > by localhost.localdomain (8.12.8/8.12.8/Submit) id
    > i3QDlgrP003909
    > for adel.safi@esstt.rnu.tn; Mon, 26 Apr 2004 14:47:42
    > +0100
    > From: adel essafi <adel.safi@esstt.rnu.tn>
    > Reply-To: adel.safi@esstt.rnu.tn
    > Organization: esstt
    > To: adel.safi@esstt.rnu.tn
    > Subject: a
    > Date: Mon, 26 Apr 2004 14:47:42 +0100
    > User-Agent: KMail/1.5
    > MIME-Version: 1.0
    > Content-Disposition: inline
    > Message-Id: <200404261447.07479.adel.safi@esstt.rnu.tn>
    > Content-Type: text/plain;
    > charset="us-ascii"
    > Content-Transfer-Encoding: 7bit
    >
    > a
    >
    > --i3QDlgrQ003909.1082987263/localhost.localdomain--
    >
    >
    >
    > Accédez au courrier électronique de La Poste : www.laposte.net ;
    > 3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
    >
    >
    >
    >
    You'll have to set up your sendmail to masquerade a domain

    # dequoting map
    Kdequote dequote

    # 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
    C{w}localhost.localdomain

    # who I masquerade as (null for no masquerading) (see also $=M)
    DMyourdomainhere (i.e. laposte.net)
    # my name for error messages
    DnMAILER-DAEMON

    -- 
    Michael S. Dunsavage
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Michael S. Dunsavage: "Re: sendmail"

    Relevant Pages

    • Re: sendmail
      ... 3.Configure your sendmail server with registered domain name ... > From: Mail Delivery Subsystem ... > required for sender address ...
      (RedHat)
    • Re: procmail problem
      ... You should not use procmail to do this since the message has already been accepted by your MTA and handed off to the MDA in this case "procmail". ... If you accept an email at the MTA level, then later on send a reject notice to the apparent sender you'll most often just be sending email to a forged from address because the sender lied to your SMTP daemon about who they are. ... For example with sendmail this can be done by adding the sendmail command line option MaxMessageSize=200000 to sendmail when your system starts the daemon. ...
      (comp.mail.misc)
    • Re: sendmail problem
      ... You've failed to include relevant info from that bounce. ... required for sender address) ... (expanded from: root) ... while handing the message to the sendmail MTA daemon. ...
      (comp.mail.sendmail)
    • Re: AW: sendmail masqerading
      ... Thanks Thomas I'll check it out. ... To change the sender in the Envelope ... we set the senders address with "-f sender" in sendmail. ... This is just for sending confirmation emails and the userid that generates the emails is not what we want in the 'from' field. ...
      (AIX-L)
    • Re: AW: sendmail masqerading
      ... The documentation I found was getting me there but your notes just made it straighforward and exactly what I wanted. ... To change the sender in the Envelope ... we set the senders address with "-f sender" in sendmail. ... This is just for sending confirmation emails and the userid that generates the emails is not what we want in the 'from' field. ...
      (AIX-L)