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 07-02-2004, 07:25 PM   #226
luk32
LQ Newbie
 
Registered: Jun 2004
Location: Bydgoszcz, Poland
Posts: 6

Rep: Reputation: 0

i'd really apreciate if somebody checked my guide post #204, i wrote it over 3 weeks ago and you are asking the same question, i'd be nice if you check it and report for eventually issues.

Thanx in advance, LUK32.
 
Old 07-05-2004, 11:09 PM   #227
BEI
LQ Newbie
 
Registered: Sep 2003
Location: Moscow, Idaho
Distribution: Slackware 10.2
Posts: 27

Rep: Reputation: 15
Need some help getting email setup. I followed the guide, and am able to send e-mails out on my slackware box no problem, however, when I try to reply or send to with an off-box email account, I get them kicked back with a delivery error notification. The log entries for these errors in /var/log/maillog are...

me trying to send email from my hotmail account to my slackware box:

Quote:
Jul 5 20:21:51 celery sm-mta[693]: i663Lobi000693: ruleset=check_rcpt, arg1=<brian_at_bei.homelinux.com>, relay=bay8-f49.bay8.hotmail.com [64.4.27.49], reject=550 5.7.1 <brian@bei.homelinux.com>... Relaying denied
Jul 5 20:21:51 celery sm-mta[693]: i663Lobi000693: from=<bei_01_at_hotmail.com>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=bay8-f49.bay8.hotmail.com [64.4.27.49]
@ in email addressesreplaced with _at_ for posting purposes.

I have tried with different email accounts as well besides hotmail, and all result the same, with the same log entry.

Any suggestions?

Thanks.

BEI

Last edited by BEI; 07-05-2004 at 11:31 PM.
 
Old 07-05-2004, 11:47 PM   #228
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
Do you have any kind of router or firewall? if it so, make sure to open port 25 for smpt, 110 for pop3, 143 for imap and 161 for SNMP. This last one I'm not quite sure what is does, in fact I'm going to close it and see what happens, I'll post back the result. Open all this for incomming connections

That's what comes to my head at a first glance, perhaps the problem might be a different one, if it so, hopefully a kind soul could offer more in depth help, I'm not quite good at this things of e-mail server, hopefully my suggestion works out for you
 
Old 07-05-2004, 11:51 PM   #229
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
Well guess what, you don't need that 161 port open; why was it open on my firewall I do not know, but it is well close now
 
Old 07-05-2004, 11:58 PM   #230
BEI
LQ Newbie
 
Registered: Sep 2003
Location: Moscow, Idaho
Distribution: Slackware 10.2
Posts: 27

Rep: Reputation: 15
I have port 25 open, but not pop, nor imap, as I dont plan on using those to access my mail.

The messages ARE getting through to my slackware (past my firewall), but it is sendmail that is regecting them, as per the log entries. Its a sendmail config error or something, but I followed the guide to setting up sendmail precisely. I even removed and reinistalled the two sendmail packages, in addition to manually removing any leftover files before reinstalling to make sure everything was reset.

Been messing around with various things...still not working. Sending from my slack box is fine. Still not able to receive mails

--BEI
 
Old 07-06-2004, 12:07 AM   #231
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
I'm sad to hear that, as I said before, I'm not very knowledgeable in this e-mail stuff, but did you enter your smtp server, the smtp from you ISP? when I followed the guide I recall having the same problem or something similar, I happen to have a pop account with another company, so I changed the SMTP in the sendmail configuration from my ISP to the SMTP server on my other account, that did the trick, I'm able to send and receive, an is much faster .

This is a snippet from the Guide:

dnl# Uncomment the line below to send outgoing mail through an external server:
dnl define(`SMART_HOST',`mailserver.example.com')

And change it to look like this:


dnl# Uncomment the line below to send outgoing mail through an external server:
define(`SMART_HOST',`smtp.myisp.com')

--End of Snippet--

If you have all this, and the problem persist, I'm afraid my friend that I cannot help/suggest any further, and I'm sorry for that. Perhaps another could help you to solve the problems, and let us hope you can solve it very quick.

Have a good night
 
Old 07-06-2004, 12:36 AM   #232
BEI
LQ Newbie
 
Registered: Sep 2003
Location: Moscow, Idaho
Distribution: Slackware 10.2
Posts: 27

Rep: Reputation: 15
blood_omen: yea, ive done that too. Is how im able to send out mail. But thanks anyways for trying to help.

Got a bit more info. I think sendmail doesn't think that my machine name is bei.homelinux com, so it tries to relay it on. I turned on "promiscuous_relay" which unconditionally accepts all mail relayed to the machine. What happened when I did this, was sendmail accepted it, but then passed back to the SMART_HOST mail server of my ISP....and the message kept bouncing from there, back to my slack box and then back to the ISP mail server. So, for some reason, sendmail isn't seeing that the message is for a user on the local machine (or destined for the local machine in general), and is just trying to pass it on.

Anybody have any ideas?

--BEI
 
Old 07-06-2004, 01:09 AM   #233
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 50
BEI-

What are your current host and domain names? Is yor hostname "bei" and your domain name "homelinux.com"? If you are not sure, use "netconfig" to set them. Let me know how it goes.
 
Old 07-06-2004, 01:53 AM   #234
BEI
LQ Newbie
 
Registered: Sep 2003
Location: Moscow, Idaho
Distribution: Slackware 10.2
Posts: 27

Rep: Reputation: 15
Shilo: yep, that was it.

I had my slackbox named as celery.bei.homelinux.com (celery being the hostname, and bei.homelinux.com being the domain name).

Do you know offhand if it is possible to have sendmail accept the email as localhost if my hostname is setup to be celery.bei.homelinux.com, or alias my machine to have two hostnames? Chaning the boxs name sorta messes up other stuff for me.

Thanks for the help Shilo. Its greatly appreciated.

--BEI
 
Old 07-06-2004, 02:11 AM   #235
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 50
bei-

I don't know how to do it offhand. I will get an answer for you tomorrow, though. Good luck until then. Let me know if you get it working before I post tomorrow. Also, you should probably turn off the promiscuous relaying for tonight. You may find that you've become a spam relay in no time at all.
 
Old 07-06-2004, 02:12 AM   #236
BEI
LQ Newbie
 
Registered: Sep 2003
Location: Moscow, Idaho
Distribution: Slackware 10.2
Posts: 27

Rep: Reputation: 15
Got it figured out. Woohoo!

added "bei.homelinux.com" to /etc/mail/local-host-names

Thanks blood_omen and shilo for the help, and for responding so promptly.

--BEI

Last edited by BEI; 07-06-2004 at 02:15 AM.
 
Old 07-11-2004, 02:06 PM   #237
nullz0r
LQ Newbie
 
Registered: Mar 2004
Location: Milwaukee
Distribution: slackware 9.1
Posts: 9

Rep: Reputation: 0
just had to say...THANKS SHILO. Your guide helped me A LOT with learning about the basics. From using slackware AND your guide, I've learned more of linux in a few days than I did in a month with SuSE.
 
Old 07-12-2004, 08:10 PM   #238
drxsmurf
Member
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.2, Slackware 10.0
Posts: 51

Rep: Reputation: 15
Shiloh,

i really appreciate your post. It helped me tremendously when setting up my installation of Slackware 10.0. Im a slackware newbie, and this really hit the spot.

So far, I have only encountered one problem. I can't get the sound to stay enabled after a reboot. I dont really know how to approach this problem.
I am using KDE, and the ALSA drivers.
 
Old 07-13-2004, 05:21 PM   #239
Zym0tiC
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 10.1 / Ubuntu Hoary 5.04
Posts: 12

Rep: Reputation: 0
After adjusting alsamixer run alsactl store to store the settings you entered.
Linux wil load them after a reboot.
 
Old 07-13-2004, 07:14 PM   #240
drxsmurf
Member
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.2, Slackware 10.0
Posts: 51

Rep: Reputation: 15
I'll give it a try, thanks.
 
  


Reply

Tags
kernel



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



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

All times are GMT -5. The time now is 06:46 PM.

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