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. |
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..
|
I'm not sure what you mean.
It does have an mx record though |
Quote:
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.. ;) |
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? |
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 |
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?
|
All times are GMT -5. The time now is 02:28 AM. |