LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-24-2005, 01:11 PM   #1
frogger01
LQ Newbie
 
Registered: Jul 2004
Location: Calgary, AB
Distribution: FC3, MDK 10.1
Posts: 22

Rep: Reputation: 15
Question Neomail errors...


Hey guys, I'm setting up an email server here and I'm getting some errors, hope someone can help me out.

I'm running neomail with sendmail on apache with php. I've got everything installed right, well, it appears to be right! Whenever I try to send a message though, it gets returned, and this is what it says (I've changed the domain and email address, but they are correct):

This is a MIME-encapsulated message

Reporting-MTA: dns; my.domain
Arrival-Date: Sun, 24 Apr 2005 11:47:33 -0600

Final-Recipient: RFC822; me@gmail.com
Action: failed
Status: 5.7.1
Remote-MTA: DNS; my.domain
Diagnostic-Code: SMTP; 550 5.7.1 <me@gmail.com>... Relaying denied. Proper authentication required.
Last-Attempt-Date: Sun, 24 Apr 2005 11:47:35 -0600

Return-Path: <me@my.domain>
Received: (from apache@localhost)
by my.domain (8.13.1/8.13.1/Submit) id j3OHlXG9015805;
Sun, 24 Apr 2005 11:47:33 -0600
Date: Sun, 24 Apr 2005 11:47:33 -0600
Message-Id: <200504241747.j3OHlXG9015805@my.domain>
X-Authentication-Warning: my.domain: apache set sender to me@my.domain using -f
From: "me" <me@my.domain>
To: me@gmail.com
Subject: test
X-Mailer: NeoMail 1.27
X-IPAddress: 127.0.0.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1


I've Googled it and all I can find is that you're supposed to add a trusted user in the sendmail.cf file, which I have...

Troot
Tdaemon
Tuucp
Tapache

Any and all help is appreciated.
 
Old 04-24-2005, 03:02 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Did you setup your actual domain name used to be a valid domain sender? That would be one reason why your getting "relaying denied" errors..
 
Old 04-24-2005, 04:44 PM   #3
frogger01
LQ Newbie
 
Registered: Jul 2004
Location: Calgary, AB
Distribution: FC3, MDK 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
I'm not sure what you mean.

It does have an mx record though
 
Old 04-24-2005, 04:59 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by frogger01
I'm not sure what you mean.

It does have an mx record though
Add your host you want to send mail to and from in your /etc/mail/relay-domains file..

Say I have sendmail configured for foo.com and my hostname and machine is actually machineA.localdomain.com.. I would add:

machineA.localdomain.com in my relay-domains file which will allow it to send from and deliver the mail properly to my mail server.

Remember, once you edit this file, you need to send a SIGHUP or restart sendmail for it to see the changes. You can add however many hosts or machines you want in this file to allow to send email from..

Don't make it accessible for all to send mail.. then your opening up your mailserver for spammers to use as a spam mailer..
 
Old 04-26-2005, 08:29 AM   #5
frogger01
LQ Newbie
 
Registered: Jul 2004
Location: Calgary, AB
Distribution: FC3, MDK 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
I don't have that file... I only have

access domaintable.db mailertable sendmail.cf trusted-users
access.db helpfile mailertable.db sendmail.mc virtusertable
domaintable local-host-names Makefile submit.cf virtusertable.db

in /etc/mail/

do you have the syntax so I can make a relay-domains file?
 
Old 04-26-2005, 03:09 PM   #6
Matt Collier
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 80

Rep: Reputation: 15
There isn't much syntax to speak of, it's a list of domains, 1 per line.

frogger01@frogger01sbox:~$ cat /etc/mail/relay-domains
my.domain
my.other.domain
 
Old 04-26-2005, 08:22 PM   #7
frogger01
LQ Newbie
 
Registered: Jul 2004
Location: Calgary, AB
Distribution: FC3, MDK 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
ok, so I have that file done now, and I've restarted sendmail (/etc/init.d/sendmail restart), but I still get the same problem. I'm pretty sure that it's nothing to do with neomail, but rather a sendmail problem. Any other ideas of things to check?
 
  


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
NeoMail Login Problem eddiep Linux - Software 3 08-22-2005 11:51 PM
neomail settings gigi Linux - Software 0 07-08-2005 06:45 AM
port used by neomail gigi Linux - Security 1 04-29-2005 06:42 PM
neomail setup.pl problem slack66 Slackware 5 11-15-2003 03:42 AM
Neomail mikeshn Linux - Software 0 11-14-2003 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:27 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