![]() |
|
|
|||||||
| Register | FAQ | Top Posters | Members List | Calendar | Search | Today's Posts | Resend Activation Email | Mark Forums Read |
| dotProject Documentation | dotProject FAQ | Bugs & Feature Requests | Language Packs & Themes | Download dotProject |
| Installation Issues 2.x Please use this forum to raise any installation issues you may be experiencing. Use the search facility and check the FAQ's before asking your question please. |
![]() |
|
|
Thread Tools | Display Modes |
|
#11
|
|||
|
|||
|
We seem to have solved it.
Our IT department had to change the relay settings on the Exchange server, it turns out that relaying was only allowed for a set list of IP addresses. I would still be interested to know if we can modify the config so that all DP generated emails come from a particular address. Best wishes, - Vince
__________________
Thank you |
|
#12
|
||||
|
||||
|
Line 401 of classes/libmail.class.php
Code:
$this->socketSend("HELO " . $this->getHostName());
Pedro A. |
|
#13
|
|||
|
|||
|
Quote:
- Vince
__________________
Thank you |
|
#14
|
||||
|
||||
|
Code:
$this->socketSend("HELO [XXX.XXX.XXX.XXX]");
Pedro A. |
|
#15
|
|||
|
|||
|
Update, in case useful to others:
1) Change line 401 from: $this->socketSend("HELO " . $this->getHostName()); to: $this->socketSend("HELO " . "[internal Exchange server IP number]"); 2) Change line 426 from: $rcv = $this->socketSend("MAIL FROM: <$from>"); to: $rcv = $this->socketSend("MAIL FROM: <projects@ourdomain.com>"); 3) Change line 160 from: $this->xheaders['From'] = $from; to: $this->xheaders['From'] = "projects@ourdomain.com"; And that apparently does the trick. Anything we missed? Thanks for your guidance. May I suggest that DP should have an admin option to do this so as to avoid the issues with 'spoofing' external email addresses? Best wishes, - Vince
__________________
Thank you |
|
#16
|
|||
|
|||
|
Great. That fixed my problem with SMTP auth.
I think my hastily set up server is misconfigured somewhere and as a result any dp emails appeared to be coming from a different (local) domain (my email is hosted with an ISP different to the one I use for access and different to the dp server installation). Anyhow, I was getting a message 500 back from my ISP complaining about mail address appearing to come from a different domain. No complaints now. ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
|
|