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 -> Directing mail to a php script

Reply to this topicStart new topic

> Directing mail to a php script
zarien
Posted: Dec 9 2003, 07:37 AM
Quote Post


Newbie
*

Group: Members
Posts: 21
Member No.: 827
Joined: 1-December 03



Hello all

I have been having this problem for a while now. I am trying to get hivemail working, the part I'm stuck on is the part where is asks me to direct all mail to a php script called 'Hivemail_process'. I will cut the part of the instructions I am talking about. I am running XMail (the latest) on windows xp professional with the latest versions of Apache and MySQL. I don't know how to do this, help would be greatly appreciated, please help soon, I'm running out of hair! sad.gif

Quote from the instructions.

QUOTE
And last but not least, we need to 'tell' the server to direct all
  mail to the script you just uploaded. To do so, we edit the valias
  file for your Web site. This file is usually located at
  /etc/valiases/example.com, but it might be different on your server.
  Ask your host if you are not sure there this file is. Once you know
  the file location, log in to telnet or SSH and type the following:

    pico /etc/valiases/example.com

  (replace the path with the real path). If you can't use pico, try
  using the vi text editor by typing:

    vi  /etc/valiases/example.com.

  In that file, you need to add a new line, that looks like this:

    *: |/home/example/hivemail_process.php

  Where /home/example/hivemail_process.php is the complete path to the
  hivemail_process.php file you uploaded earlier. If you are not sure
  where this file is located, type this command (outside of the file
  editor) to find where it is:

    find / -name hivemail_process.php -print 2>/dev/null

  For example, if your file is at
  /home/hivemail/etc/hivemail_process.php, this is the line you will add
  to your valias file:

    *: |/home/hivemail/etc/hivemail_process.php

  After you added the line, save the file and exit the file editor.
PMEmail Poster
Top
atomant
Posted: Dec 9 2003, 08:41 AM
Quote Post


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

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



Zarien, I have tried to send you a mail but looks like you server is not accessible.
Can you check it out?

For webmail I suggest you to use UebiMiau. It works nice under windows server too because it needs only plain php, no need for mysql.


--------------------
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