RE: Queues does not receive email messages - Solved

Yassou Christian :-) (very perceptive of you ..) Right !! 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. Then it worked as advertised. However, can you explain option #2 ( the one executing Postmaster.pl for a local address ?) if you have a few minutes ? 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 ? Thanks for your help ! Stelios /////////////////////
My first thought is some type of permission problem but the .forward confuses me. There is no .forward anywhere in the system.
If I understand right, you want to bring the new mails directly with your sendmail configuration into the ticket system. But OTRS isn't able to recive mails directly, you have to use procmail or maildrop for the local delivery and these MDA's have to execute the PostMaster.pl module for the transport of the new messages into OTRS. You have two possibililies now: 1) Install a proper .procmailrc file into /opt/otrs if the local MDA is procmail. There is a .procmailrc.dist already in /opt/otrs. 2) Configure a local mail address or alias that executes PostMaster.pl if a mail is received for this address. Or, and that is the easiest thing to configure, fetch all incomming messages from a pop3 server. pop3 accounts can e configured in the admin interface of OTRS or you can use fetchmail. See also http://doc.otrs.org/2.0/en/html/c1216.html for further information.
Stelios
Best regards, Christian

-----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-----
participants (2)
-
Christian Schoepplein
-
Stelios Maistros