Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-25-2004, 03:22 PM   #1
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
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

Old 02-25-2004, 04:15 PM   #2
Registered: Jun 2002
Location: Albany, GA
Distribution: Slackware 9.1, Debian Woody (2.4.18-bf2.4)
Posts: 34

Rep: Reputation: 15
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:
Old 02-25-2004, 04:44 PM   #3
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
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..



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending automated emails Wynd Linux - Software 6 10-25-2005 11:03 PM
Sending Emails Dragons_Way Linux - Software 2 03-09-2005 02:53 AM
How am I recieving blank emails? tarballedtux Linux - General 3 02-21-2004 10:13 AM
recieving mail with sendmail bradyc Linux - Newbie 2 10-24-2003 11:59 AM
Sendmail not sending emails, errorlog hydro Linux - Software 8 06-20-2003 05:48 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration