XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Controller login error and sender-addres PHP

Reply to this topicStart new topic

> Controller login error and sender-addres PHP, searching xmail forum for 2 days give up
dackus
Posted: Aug 22 2005, 01:51 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 1730
Joined: 22-August 05



Hi,
We run SUSE 9.3 LINUX on our server.

I searched. But came to the conclusion that no one ever reported problems as I have. Wat is wrong, as I concluded 2 things:


1) controller login error
I cannot get into localhost:6017 with mij controllerlogin anymore
via telnet I get:
CODE

roquez:/etc/init.d # telnet -l root localhost 6017
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+00000 <1124712323.1133087664@127.0.0.1> XMail 1.21 CTRL Server; Mon, 22 Aug 2005 14:05:23 +0200

HERE I PRESS ENTER
CODE

-00110 Bad controller login
Connection closed by foreign host.


what did I change to try to fix the problem (so old setting also did not work?

I changed my server.tab now it says:
CODE
"RootDomain"    "roquez.dackushosting.nl"
"SmtpServerDomain"      "roquez.dackushosting.nl"
"POP3Domain"    "roquez.dackushosting.nl"
"HeloDomain"    "roquez.dackushosting.nl"
"PostMaster"    "root@dackushosting.nl"


And I changed resolv.conf into:
CODE
nameserver 127.0.0.1
nameserver 193.254.254.131
nameserver 193.254.254.130 // this is a new line
search dackushosting.nl // this used to be just roquez


roquez.dackushosting.nl is an entry in our DNS record:
CODE
roquez.dackushosting.nl.        IN      A       193.254.255.17



2) Many e-mails go through, but some sended with the mail() command in PHP are returned.

I read somewhere that some mailservers can be a pain in the ass. I did understand that the problem (in a lot of cases but not all) is that my sender address is not right. But where on earth do I change that? In PHP everything seems to work fine, and let me tell you, some people do receive the mail, some don't?? But the problem is, most of the big ISP's in NL and BE are returning the mail.........

I get back: dackus_admin@roquez as the sender address that fails
- But in php.ini I cannot find any entry, only for win32 systems is that right? I read somewhere I should write something like roquez@localhost als the mailer?????
- I thought I removed this roquez in my resolv.conf????

Does anybody have a clue where I could search?

thanx alot.

Christian.
PMEmail Poster
Top
dackus
Posted: Aug 22 2005, 01:59 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 1730
Joined: 22-August 05



This is in my /etc/hosts?????

does it help? should it be changed?

CODE

193.254.255.17  roquez.dackushosting.nl roquez


cheers, christian.
PMEmail Poster
Top
dackus
Posted: Aug 22 2005, 02:05 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 1730
Joined: 22-August 05



Here is one:

CODE

[PeekTime] 1124712329 : Mon, 22 Aug 2005 14:05:29 +0200
<<
ErrCode   = -81
ErrString = [MAIL FROM:] not permitted by remote SMTP server
ErrInfo   = 550 5.1.8 invalid/host-not-in-DNS return address not allowed
SMAIL SMTP-Send MX = "mail.wxs.nl." SMTP = "roquez.dackushosting.nl" From = "dackus_admin@roquez" To = "call.cer@planet.nl" Failed !
SMTP-Error = "550 5.1.8 invalid/host-not-in-DNS return address not allowed"
SMTP-Server = "mail.wxs.nl."
>>


gr, christian.
PMEmail Poster
Top
atomant
Posted: Aug 22 2005, 02:35 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



QUOTE
dackus_admin@roquez

This should be dackus_admin@roquez.dackushosting.nl
So change MailFrom address and it will work.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
dackus
Posted: Aug 22 2005, 03:40 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 1730
Joined: 22-August 05



if it was only that simple.....can change from address to anything!

somebody said to change hostname. I did, changed /etc/hosts and now it is only roquez.dackushosting.nl but when I commandline type hostname, I get "roquez".

That must be the reason, only cannot get it changed, somebody know where else hostname should be changed on linux SUSE 9.3???

thanx.
PMEmail Poster
Top
atomant
Posted: Aug 22 2005, 05:19 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



PHP mail() function is a little bit tricky. Add a 5th argument "-fdackus_admin@roquez.dackushosting.nl" to your php script.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
dackus
Posted: Aug 22 2005, 05:47 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 1730
Joined: 22-August 05



Thanx. understood, will try.

christian.
PMEmail Poster
Top
behorn
Posted: Sep 22 2005, 12:43 PM
Quote Post


Newbie
*

Group: Members
Posts: 23
Member No.: 1608
Joined: 3-May 05



This almost works, but not all the way...

QUOTE

[PeekTime] 1127247650 : Tue, 20 Sep 2005 22:20:50 +0200
<<
ErrCode  = -82
ErrString = [RCPT TO:] not permitted by remote SMTP server
ErrInfo  = 550-Spam refused: AutoMailer@roquez.dackushosting.nl does not have a valid
550 domain.
SMAIL SMTP-Send MX = "mx.home.nl." SMTP = "roquez.dackushosting.nl" From = "AutoMailer@roquez.dackushosting.nl" To = "chrislybruijsters@home.nl" Failed !
SMTP-Error = "550-Spam refused: AutoMailer@roquez.dackushosting.nl does not have a valid
550 domain."
SMTP-Server = "mx.home.nl."
>>


The domain roquez.dackushosting.nl is not a real domain (although dackushosting.nl is), so we keep on gettig this error message and looping / rejected mails.

Could I add a HELO to make it work, or something else? And also, the added sender must exist otherwise the mail could get rejected anyway, right?
PMEmail Poster
Top
atomant
Posted: Sep 22 2005, 01:37 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



If you have your own dns server then you can configure roquez.dackushosting.nl domain and also configure xmail to use that dns server.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Webmail Add-ons | Next Newest »

Reply to this topicStart new topic