-   Slackware (
-   -   sending/recieving emails with sendmail (

xushi 02-25-2004 03:22 PM

sending/recieving emails with sendmail
Lo all,

I'm using sendmail 8.12.11 in slackware 9.1, didnt really configure anything, just using it out of the box.. It turns out i couldnt send outgoing mail because i had the wrong DNS settings, but now this is fixed.

However, when i reply from hotmial or yahoo to my mail server, i keep getting this error, (when i reply to, or root@my_ip_address)

Message from
Unable to deliver message to the following address(es).

<root@>: does not like recipient.
Remote host said: 550 5.7.1 <root@>... Relaying denied
Giving up on

--- Original message follows.

Return-Path: <>
Message-ID: <>
Received: from [] by via HTTP;
Wed, 25 Feb 2004 20:55:41 GMT
Date: Wed, 25 Feb 2004 20:55:41 +0000 (GMT)
From: =?iso-8859-1?q?Samir=20Greadly?= <>
Subject: sent ti ip
To: root@
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

testing testing

I'm not sure if i have to tweak any configuration, i sure wouldn't mind any help on this..

p.s., i'm running behind a router, but have forwarded ports 25, 110, 143


tharris 02-25-2004 04:15 PM

what i did was create an account at either


once you have done that, download and install the appropriate dns updating program. once you have a domin pointing to your dynamic ip, you can then use an email addy suchas or use one of the many free domains they have available.

One you have done that, create a file on your server called relay-domains and place it in your /etc/mail dir. Sendmail will check this file to see which domains it will allow relaying to. ifyou have a static IP address, i guss you could place that ip address in the /etc/mail/local-host-name folder and that may work.

Once you have done that do an /etc/rc.d/rc.sendmail restart and that should allow you to receive your mail. hosts a "quick and dirty" sendmail at:

xushi 02-25-2004 04:44 PM

Oh my days, it worked.

Thank you for that. I don't know how many more months it would take me just to get through that ;) j/k

I forgot to add i already have an account with ( domains for 2 pounds a year or something..


All times are GMT -5. The time now is 07:19 AM.