sendmail

Michael S. Dunsavage mikesd at frontiernet.net
Mon Apr 26 14:13:13 UTC 2004


Michael S. Dunsavage wrote:
> 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 at localhost.localdomain  Mon Apr 26 14:47:20 2004
>> Date: Mon, 26 Apr 2004 14:47:20 +0100
>> From: Mail Delivery Subsystem
>> <MAILER-DAEMON at localhost.localdomain>
>> To: root at 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 at esstt.rnu.tn
>>     (reason: 553 5.5.4 <root at localhost.localdomain>... Real
>> domain name required
>>  for sender address)
>>     (expanded from: adel.safi at esstt.rnu.tn)
>>
>>    ----- Transcript of session follows -----
>> ... while talking to [127.0.0.1]:
>>
>>>>> MAIL From:<root at localhost.localdomain> SIZE=377
>>
>>
>> <<< 553 5.5.4 <root at 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 at esstt.rnu.tn
>> Action: failed
>> Status: 5.5.4
>> Diagnostic-Code: SMTP; 553 5.5.4
>> <root at 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 at esstt.rnu.tn; Mon, 26 Apr 2004 14:47:07
>> +0100
>> From: adel essafi <adel.safi at esstt.rnu.tn>
>> Reply-To: adel.safi at esstt.rnu.tn
>> Organization: esstt
>> To: adel.safi at 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 at esstt.rnu.tn>
>>
>> a
>>
>> --i3QDl74C003902.1082987240/localhost.localdomain--
>>
>> &
>> Message 2:
>> From MAILER-DAEMON at localhost.localdomain  Mon Apr 26 14:47:43 2004
>> Date: Mon, 26 Apr 2004 14:47:43 +0100
>> From: Mail Delivery Subsystem
>> <MAILER-DAEMON at localhost.localdomain>
>> To: root at 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 at esstt.rnu.tn
>>     (reason: 553 5.5.4 <root at localhost.localdomain>... Real
>> domain name required for sender address)
>>     (expanded from: adel.safi at esstt.rnu.tn)
>>
>>    ----- Transcript of session follows -----
>> ... while talking to [127.0.0.1]:
>>
>>>>> MAIL From:<root at localhost.localdomain> SIZE=377
>>
>>
>> <<< 553 5.5.4 <root at 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 at esstt.rnu.tn
>> Action: failed
>> Status: 5.5.4
>> Diagnostic-Code: SMTP; 553 5.5.4
>> <root at 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 at esstt.rnu.tn; Mon, 26 Apr 2004 14:47:42
>> +0100
>> From: adel essafi <adel.safi at esstt.rnu.tn>
>> Reply-To: adel.safi at esstt.rnu.tn
>> Organization: esstt
>> To: adel.safi at 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 at 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
> 
> 
in /etc/mail/sendmail.cf

-- 
Michael S. Dunsavage





More information about the redhat-list mailing list