Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sendmail error : Domain of sender address xxx@xxx.fr does not exist

807557Aug 12 2008
I've got a problem to send mail form my local admin server to the world :

My admin server (x86, Solaris 10) is on a local network.
But I want to be able to send mail to some people if the server detect something wrong ...

If I send a mail to someone on gmail, it works
If I send a mail to someone on my public domain, it fails

Exemple :
on my admin server (local domain : mydomain.fr)

using root user on admin server, name is exploit1

1/ echo "test depuis exploit1" | mailx -s 'test exp' flaflatw@gmail.com
--> OK, it works
2/ echo "test depuis exploit1" | mailx -s 'test exp' myname@mydomain.com
--> KO
Error message is :
... while talking to mx.fr.oleane.com.:
MAIL From:<root@exploit1.mydomain.fr> SIZE=608
<<< 553 5.1.8 <root@exploit1.mydomain.fr>... Domain of sender address root@exploit1.mydomain.fr does not exist
501 5.6.0 Data format error

workaround (but I would like to avoid it, especcially to be able to use .forward) :
3/ echo "test depuis exploit1" | mailx -s 'test exp' -r syst@mydomain.com myname@mydomain.com
--> it works

Any Idea what is the problem ?
It seems that when I'm sending to someone in mydomain.com, I'm using the MX mx.fr.oleane.com which is checking the sender domain, but, when I'm sending to someone else (not in mydomain.com), I'm using another MX which doesn't check the sender domain.

Anyone knows how to avoid this ? May be in the sendmail configuration ? (I've tried to look at it, but I could not find anything ...)

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2008
Added on Aug 12 2008
0 comments
438 views