
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yassou Stelios! On Sun, Oct 23, 2005 at 01:32:07AM +0300, Stelios Maistros wrote:
Yassou Christian :-) (very perceptive of you ..)
Hihi, I ofthen travel to greek and I always enjoy it very much :). We have good friends living near Volos.... :).
I used option #3, using dovecot imap/pop server which is included in Fedora 4 and then I setup pop.
I had to create a directory called mail in /opt/otrs because initially dovecot complained that it could not find its MAIL environment, I am assuming in order to do its indexing, etc.
IMHO dovecot stores all incomming messages into this folder.
However, can you explain option #2 ( the one executing Postmaster.pl for a local address ?) if you have a few minutes ?
PostMaster.pl takes all incomming messages from STDIN and forwards them into the ticket system. The simplest way to use PostMaster.pl directly with a mail server is to create an alias that executes the PostMaster.pl module for every message which is delivered to this specific alias. For example you could insert the alias into the global alias file /etc/aliases. The alias should look like this: otrs: |"/opt/otrs/bin/PostMaster.pl" All messages that are send to otrs@your.machine.tld will now be piped into PostMaster.pl which stores them in the OTRS database. Ofcourse this is a bad solution for a machine where several domains are hosted on and where the otrs@ address should be available only for one domain. With postfix you could create a virtual mailbox in this case, sendmail should also offer this option.
I tried to run Postmaster manually:
./Postmaster.pl -q queuename
But it simply hanged waiting for input. How would it work for what you are suggesting ?
Executing PostMaster.pl without piping a message into it makes no sence :). Try for example the following: # cat /opt/otrs/doc/test-email-1.box | /opt/otrs/bin/PostMaster.pl -q raw
Stelios
Best regards, Christian - -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDW5MRTFWOq90iSiERArp/AJ9ih4L91s0rlG4i/Jlb4WEeMhE/eQCePSo4 Qj3l2cIJErA49bgQLjTk42w= =7HnY -----END PGP SIGNATURE-----