PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > sorry, your envelope sender domain must exist
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

sorry, your envelope sender domain must exist

Réponse
 
LinkBack Outils de la discussion
Vieux 05/09/2006, 10h53   #1
thomasriise
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut sorry, your envelope sender domain must exist

Hi Guys,

1) I'm running OS X Tiger.
2) I haven't configured sendmail - not even sendmail.cf
3) I can send OK to some emails (eg. gmail) but not my own POP-mail.

I get the error:
--------
552 sorry, your envelope sender domain must exist (#5.7.1) (in reply to
RCPT TO command)
--------

My shellscript that sends the mail looks like this:

/usr/sbin/sendmail -oi -t -odb<<EOF
`echo "To: $recip"`
`echo "From: Myname <myname@mydomain.net>"`
`echo "Reply-To: Myname <myname@mydomain.net>"`
`echo "Subject: $sub"`
`echo ""`
`echo "$body"`
EOF

What to do?

Thanks in advance.

  Réponse avec citation
Vieux 05/09/2006, 15h16   #2
Bill Cole
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sorry, your envelope sender domain must exist

In article <1157450027.456251.312870@m73g2000cwd.googlegroups .com>,
"thomasriise" <thomasriise@gmail.com> wrote:

> Hi Guys,
>
> 1) I'm running OS X Tiger.
> 2) I haven't configured sendmail - not even sendmail.cf


That's good, because on Tiger nothing uses sendmail.cf. The executable
at /usr/sbin/sendmail is actually a mostly-sendmail-like program that is
part of the Postfix package. It is not the real Sendmail.


> 3) I can send OK to some emails (eg. gmail) but not my own POP-mail.


I'm not sure what that sentence means. POP is a mail pickup protocol. It
has nothing to do with sending mail.

> I get the error:
> --------
> 552 sorry, your envelope sender domain must exist (#5.7.1) (in reply to
> RCPT TO command)
> --------


In what context?

If you are getting a message back with that error, it would be ful
to look at nthat whole message rather than just the one line.

That particular error message indicates that in an SMTP conversation,
the sending side used a MAIL command with a sender address whose domain
could not be resolved by the server.


> My shellscript that sends the mail looks like this:
>
> /usr/sbin/sendmail -oi -t -odb<<EOF
> `echo "To: $recip"`
> `echo "From: Myname <myname@mydomain.net>"`
> `echo "Reply-To: Myname <myname@mydomain.net>"`
> `echo "Subject: $sub"`
> `echo ""`
> `echo "$body"`
> EOF


Ewww. Why are you doing it that way? Is there some point in backticking
a bunch of echo's rather than just putting the lines you want in the
heredoc part directly?


> What to do?


man sendmail

That will show you what the Postfix sendmail compatibility program that
you are using is capable of doing. I suspect that your basic problem is
a confused identity for the machine you are running this on: it has
worked out a name for itself that isn't in DNS. That hostname and the
username running the command are used to construct the envelope sender
address, without regard to what address is in the From header of the
message. If the host named is bogus, some sites will not accept the
mail.

--
Clues for the blacklisted: <http://www.scconsult.com/bill/dnsbl.html>
Current Peeve: "This page was written to render correctly in any standards
compliant browser" on pages with hundreds of HTML errors.
  Réponse avec citation
Vieux 06/09/2006, 03h37   #3
David F. Skoll
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut WTF?? (was Re: sorry, your envelope sender domain must exist)

Bill Cole wrote:

> In article <1157450027.456251.312870@m73g2000cwd.googlegroups .com>,
> "thomasriise" <thomasriise@gmail.com> wrote:


>> /usr/sbin/sendmail -oi -t -odb<<EOF
>> `echo "To: $recip"`
>> `echo "From: Myname <myname@mydomain.net>"`
>> `echo "Reply-To: Myname <myname@mydomain.net>"`
>> `echo "Subject: $sub"`
>> `echo ""`
>> `echo "$body"`
>> EOF


> Ewww. Why are you doing it that way?


That deserves a nomination at http://thedailywtf.com/

--
David.
  Réponse avec citation
Vieux 06/09/2006, 13h32   #4
thomasriise
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WTF?? (was Re: sorry, your envelope sender domain must exist)


David F. Skoll wrote:
> Bill Cole wrote:
>
> > In article <1157450027.456251.312870@m73g2000cwd.googlegroups .com>,
> > "thomasriise" <thomasriise@gmail.com> wrote:

>
> >> /usr/sbin/sendmail -oi -t -odb<<EOF
> >> `echo "To: $recip"`
> >> `echo "From: Myname <myname@mydomain.net>"`
> >> `echo "Reply-To: Myname <myname@mydomain.net>"`
> >> `echo "Subject: $sub"`
> >> `echo ""`
> >> `echo "$body"`
> >> EOF

>
> > Ewww. Why are you doing it that way?

>
> That deserves a nomination at http://thedailywtf.com/
>
> --
> David.



Just nevermind. I guess you guys are "too cool" to be asked a simple
question by a newbie. I don't know why you even bother to reply like
that. Bad style.

  Réponse avec citation
Vieux 06/09/2006, 19h14   #5
Loki Harfagr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sorry, your envelope sender domain must exist

Le Tue, 05 Sep 2006 02:53:47 -0700, thomasriise a écrit:

> Hi Guys,
>
> 1) I'm running OS X Tiger.
> 2) I haven't configured sendmail - not even sendmail.cf
> 3) I can send OK to some emails (eg. gmail) but not my own POP-mail.
>
> I get the error:
> --------
> 552 sorry, your envelope sender domain must exist (#5.7.1) (in reply to
> RCPT TO command)
> --------
>
> My shellscript that sends the mail looks like this:
>
> /usr/sbin/sendmail -oi -t -odb<<EOF
> `echo "To: $recip"`
> `echo "From: Myname <myname@mydomain.net>"`
> `echo "Reply-To: Myname <myname@mydomain.net>"`
> `echo "Subject: $sub"`
> `echo ""`
> `echo "$body"`
> EOF
>
> What to do?
>
> Thanks in advance.


Try and check where this (probably DNS) probleme lies,
what give these tests :

# dig mydomain.net

# dig mydomain.net MX

# dig mydomain.net ANY

If you don't have a publicized MX in your "mydomain.net"
you'll have to chose a form of MASQuerading to an open MX.
(the way to do it will depend on what your 'sendmail' really is :-)
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h57.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11739 seconds with 13 queries