|The piece of software is fantastic.
|
|However, I am having a problem with my set-up. I have changed the mail
|server in the config file, but when I add a ticket no e-mails are sent.
First off, what platform are you running phphelpdesk on? The instructions
listed below are made assuming a *nix system.
Second, php has a few options concerning e-mail in the php.ini file, that
are used as parameters for php's mail()-function, which phphelpdesk uses.
Unless the server you're running phphelpdesk on is also an e-mail server
with a valid mx-record (ie. a live, dns-registered mailserver), you'll need
to trick sendmail into seeing your originating address as a valid one, in
order for the message to validate properly. A 'tail /var/log/maillog' should
present you with a bunch of messages that are delayed or paused, due to
missing validation.
At line 320-325 approx. of php.ini, you'll find a section celled [mail
function].
Since my server will not be recognized as a valid mailserver by my ISPs
smtp- and dns-servers, I added the -f option to php.inis sendmail-path.
Thus, my [mail function] reads as follows:
SMTP = localhost ;for win32 only (not
necessarily true. uncomment this line)
sendmail_from = som...@yo...main (def. which add. the msgs.
will originate from)
sendmail_path = /usr/sbin/sendmail -t -i -f va...@my...main
Give it a try, and see how it works. (Note that httpd will need to be
restarted for the changes to apply.)
\aw
|