LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-25-2004, 03:22 PM   #1
xushi
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 root@xushi.co.uk, or root@my_ip_address)

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

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

--- Original message follows.

Return-Path: <sgreadly@yahoo.com>
Message-ID: <20040225205541.3130.qmail@web13503.mail.yahoo.com>
Received: from [212.158.224.166] by web13503.mail.yahoo.com 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?= <sgreadly@yahoo.com>
Subject: sent ti ip
To: root@212.158.224.166
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

Thanks
 
Old 02-25-2004, 04:15 PM   #2
tharris
Member
 
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
http://no-ip.com

or

http://www.dyndns.org

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 user@dyndns.org 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.

linuxpackages.net hosts a "quick and dirty" sendmail at: http://www.linuxpackages.net/howto.p...Sendmail+Howto
 
Old 02-25-2004, 04:44 PM   #3
xushi
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 zoneedit.com (xushi.co.uk) .co.uk domains for 2 pounds a year or something..

Thanks.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:42 AM.

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