More Sendmail help

Place to discuss Fedora and/or Red Hat
byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

More Sendmail help

Post by byrdman » Mon Mar 27, 2006 11:41 pm

I am trying to set up my own web/ftp/mail server behing a DynDNS name. I am trying to figure out why I get 'relaying denied' on every domain I send to that is not in my relay list. What do I have to do to allow auth users to send out to everyone without becoming a relay domain...

byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

Post by byrdman » Tue Mar 28, 2006 12:38 am

I think I got the relaying part set up but now when I send to my dynDNS address, I get a user unknown error...any ideas?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Tue Mar 28, 2006 9:52 pm

What distro is this on (FC5?) and what changes have you made to the stock configuration. The only files you should have to mess with are /etc/mail/sendmail.mc and /etc/mail/local-host-names. In the local-host-names you would just put your server name (e.g. byrdman.homeip.net) and in sendmail.mc comment out the line with the loopback address. I also add the masquerade stuff in the sendmail.mc. Now the error message would indicate that sendmail is actually configured to receive mail but the user you are trying to send mail to doesn't exist on the system. I'm sure you've checked this though. I haven't done incoming mail on FC5 yet so maybe something is different with the default configuration (I currently use FC4). I need to upgrade my mail server anyway, maybe I'll get time to do it tomorrow night.

byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

Post by byrdman » Tue Mar 28, 2006 11:23 pm

no, actually it is FC2, and what is wierd is, that is was working...hmmm.
I added a phpbb site, basicly copied your site for my daughter and started creating email addresses for her friends to send emails to. Once I did that, I started getting the 'user unknown' errors. I haven't had time today to look at it. I will be getting with you soon to help with the upgrades because I found that our two outside mail servers have the sendmail hole and need to be patched. When I tried to do an 'apt-get upgrade' I could not find a Redhat 7.2 distro....(yes they are on RH 7.2) So what the hell, let's upgrade...that is what I always say!! By the way if you want to see my copied site go to http://{mylastname}.homeip.net
:) It's for my daughter, it was easy, and it was open-source!!!

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Tue Mar 28, 2006 11:39 pm

Heh heh, I like the "rules". :) Nice job! How old is your daughter now? How time flies! Regarding the upgrades I should probably take a vacation day to come help. I've been training for the upcoming marathon in the evenings. I'm going to do (attempt) the half marathon. It's coming up next weekend.

byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

Post by byrdman » Tue Mar 28, 2006 11:45 pm

she is 8 and wanted a chat room!! I decided that this is what she will get. It is amazing what the kids are getting into nowadays. My youngest, who is 3 is already a wiz on my laptop...
Plus, I have the laptop that they use using the windoze policy that forces them to go through the squid proxy and dans guardian and the ad-blocker!! No porn or ads for them!!

byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

Post by byrdman » Tue Mar 28, 2006 11:47 pm

BTW, what marathon? My wife is doing a half marathon...coming up in a few weeks...is it the Team in Training thing?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Tue Mar 28, 2006 11:49 pm

I don't let my kids use Windows. :) They have grown up completely Windows free. My daughter is graduating from high school this year and got a 75% scholarship at the college she's entering afterward. Linux must not have screwed her up too bad. :) Too bad Linux wasn't around when I was a kid! :) I don't allow any outbound traffic (blocked at my firewall) from their computers without going though the proxy (Squid + DansGuardian + AdZapper).

byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

Post by byrdman » Tue Mar 28, 2006 11:53 pm

what marathon?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Tue Mar 28, 2006 11:58 pm

The one on the 9th of April down town. You going?

byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

Post by byrdman » Wed Mar 29, 2006 12:00 am

I will be in the chase van!! I think that is the same one my wife has been training for!!! Good luck. What is your longest run so far?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5712
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Wed Mar 29, 2006 12:02 am

I ran the full 13.1 this past Saturday just to see if I could do it. Hey, can I hitch a ride in the chase van? :) We could stop at the brewery and have a couple and then get back on course.

byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

Post by byrdman » Wed Mar 29, 2006 12:10 am

If it is the Leukemia&lymphomia society marathon, then I will be there. My wife is running for that and I will be there.

Hey on another note, do you like to fish? I am looking at a guys weekend about an hour from where we live to go fishing...you interesed?

byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

Post by byrdman » Wed Mar 29, 2006 12:12 am

I should find out tomorrow if we have the place...it is also a place to ride your bikes!!

byrdman
administrator
administrator
Posts: 225
Joined: Thu May 08, 2003 1:59 pm
Location: In the cloud

Post by byrdman » Wed Mar 29, 2006 12:15 am

sorry to post non-necessary posts...please delete these since they are not relevent!! after you reply, of course!! :)

Post Reply