
Hi Guys, I have a Windows server in Aus that needs to import mail from an IMAP server in Germany. What is the best method to go about this? I don't understand the stuff about fetchmail as it seems to be linux stuff. Help is greatly Appreciated. Cheers! ~Chris

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Watt schrieb:
Hi Guys,
I have a Windows server in Aus that needs to import mail from an IMAP server in Germany. What is the best method to go about this? I don't understand the stuff about fetchmail as it seems to be linux stuff.
Hi Chris, there's a package for the 2.1.x framework to access IMAP(S) and POP(S) accounts from OTRS without fetchmail etc. http://www.cape-it.de/download/PostmasterMailAccount_0.0.8.zip ...uses Mail::IMAPClient, Mail::POP3Client and IO::Socket::SSL. regards, Torsten Thau -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFF+WzTvXo8m5PgoXQRAvWVAKCB1Lmz/zIjDHnnW4x6JYnuu49D8ACeOAxk R6lIMj5l0olPOG6K0FNDwaw= =vWAH -----END PGP SIGNATURE-----

I can't seem to find these sections in sysconfig to tell the perl
module where to get the e-mail from.
Where do I get these settings? Unfortunately I don;t have POP e-mail
for this so it does have to draw it all from an IMAP server. And also
unfortunately I am stuck with a Windows machine.
What an unfortunate series of events :P
Cheers guys
~chris
On 3/16/07, Torsten Thau
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Chris Watt schrieb:
Hi Guys,
I have a Windows server in Aus that needs to import mail from an IMAP server in Germany. What is the best method to go about this? I don't understand the stuff about fetchmail as it seems to be linux stuff.
Hi Chris,
there's a package for the 2.1.x framework to access IMAP(S) and POP(S) accounts from OTRS without fetchmail etc.
http://www.cape-it.de/download/PostmasterMailAccount_0.0.8.zip
...uses Mail::IMAPClient, Mail::POP3Client and IO::Socket::SSL.
regards, Torsten Thau -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFF+WzTvXo8m5PgoXQRAvWVAKCB1Lmz/zIjDHnnW4x6JYnuu49D8ACeOAxk R6lIMj5l0olPOG6K0FNDwaw= =vWAH -----END PGP SIGNATURE----- _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Watt schrieb:
I can't seem to find these sections in sysconfig to tell the perl module where to get the e-mail from.
Where do I get these settings? Unfortunately I don;t have POP e-mail for this so it does have to draw it all from an IMAP server. And also unfortunately I am stuck with a Windows machine.
Hi Chris, since you replied to my message I suppose you refer to the package PostmasterMailAccount_0.0.8.opm. Have you already installed this package and can't find the mail acoount configuration? Is this your question? After installing there should be a menu entry in the admin area under "Misc" called "Postmaster Mail Account". Here you can configure the mail accounts. viele Gruesse, Torsten Thau - -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 pgp-key: 0x292F987D fax: +49 371 5347 625 http://www.cape-it.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFGAPLPvXo8m5PgoXQRAk1RAJ446aU6p7+OM096nO0i6s5AcS748QCeNmDJ Mz0sKGuhXxxXsT/k2TiO0SE= =8EjG -----END PGP SIGNATURE-----

Hi again,
I have set all of those settings but still don't seem to get anything.
Am I missing a setting (i.e. how often to chaeck the IMAP) or have I
missed an entire section?
Sorry I'm such a pain with this one!!
~Chris
On 3/21/07, Torsten Thau
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Chris Watt schrieb:
I can't seem to find these sections in sysconfig to tell the perl module where to get the e-mail from.
Where do I get these settings? Unfortunately I don;t have POP e-mail for this so it does have to draw it all from an IMAP server. And also unfortunately I am stuck with a Windows machine.
Hi Chris,
since you replied to my message I suppose you refer to the package PostmasterMailAccount_0.0.8.opm. Have you already installed this package and can't find the mail acoount configuration? Is this your question?
After installing there should be a menu entry in the admin area under "Misc" called "Postmaster Mail Account". Here you can configure the mail accounts.
viele Gruesse, Torsten Thau
- -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 pgp-key: 0x292F987D fax: +49 371 5347 625 http://www.cape-it.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFGAPLPvXo8m5PgoXQRAk1RAJ446aU6p7+OM096nO0i6s5AcS748QCeNmDJ Mz0sKGuhXxxXsT/k2TiO0SE= =8EjG -----END PGP SIGNATURE----- _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Watt schrieb:
Hi again,
I have set all of those settings but still don't seem to get anything. Am I missing a setting (i.e. how often to chaeck the IMAP) or have I missed an entire section?
Sorry I'm such a pain with this one!!
Hi Chris, did you set up a cron job for bin/PostMasterMailAccount.pl? I think I forgot that in the package - sorry for the inconvenience... Anyway, just create a new file $OTRSHOME/var/cron/postmaster_pmma with this content: #-- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (GPL). If you # did not receive this file, see http://www.gnu.org/licenses/gpl.txt. # -- # fetch emails every 10 minutes... */10 * * * * $OTRSHOME/bin/PostMasterMailAccount.pl >> /dev/null ...and update the crontab for the otrs-user with.. $OTRSHOME/bin/Cron.sh restart ...then it should work. Alternatively you can check it by calling $OTRSHOME/bin/PostMasterMailAccount.pl directly viele Gruesse, Torsten Thau - -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 pgp-key: 0x292F987D fax: +49 371 5347 625 http://www.cape-it.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFGAnDhvXo8m5PgoXQRApwNAJ9d2eaiIBPpOW4v2LKrt9W7/j8CugCfY2ov 8aEW+i/vVSaSZo8Ne0v8udY= =BDCi -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
# This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (GPL). If you # did not receive this file, see http://www.gnu.org/licenses/gpl.txt. # -- # fetch emails every 10 minutes... */10 * * * * $OTRSHOME/bin/PostMasterMailAccount.pl >> /dev/null
oups... Sorry I forgot that your'e on Windows. So you have to set up a scheduled job, which does the same as the cron job: run the script PostMasterMailAccount.pl every x minutes. regards, Torsten Thau - -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 pgp-key: 0x292F987D fax: +49 371 5347 625 http://www.cape-it.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFGAn9LvXo8m5PgoXQRAss+AJ9+3OpN+wd/x5bE3XF38rpVM4ktwgCfex0K lH2ms/C34SpxEeeinVveyJ8= =5Xux -----END PGP SIGNATURE-----

Hi Torsten,
I scheduled that task to run every 5 minutes, but all it seems to do
is open the text file, now actually run it. Am I doing something
wrong? Should I be scheduling it some other way?
Cheers
~Chris
On 3/22/07, Torsten Thau
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
# This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (GPL). If you # did not receive this file, see http://www.gnu.org/licenses/gpl.txt. # -- # fetch emails every 10 minutes... */10 * * * * $OTRSHOME/bin/PostMasterMailAccount.pl >> /dev/null
oups... Sorry I forgot that your'e on Windows. So you have to set up a scheduled job, which does the same as the cron job: run the script PostMasterMailAccount.pl every x minutes.
regards, Torsten Thau
- -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 pgp-key: 0x292F987D fax: +49 371 5347 625 http://www.cape-it.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFGAn9LvXo8m5PgoXQRAss+AJ9+3OpN+wd/x5bE3XF38rpVM4ktwgCfex0K lH2ms/C34SpxEeeinVveyJ8= =5Xux -----END PGP SIGNATURE----- _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

Call perl:
"Perl c:\otrs\blah\blah\postmasterpop3.pl"
(if the perl.exe is in your path statement). You could also probrably
associate an application with that filetype but doing it the way I said
before is a more "correct" way to do it.
HTH,
Andy
On 3/27/07 10:18 PM, "Chris Watt"
Hi Torsten,
I scheduled that task to run every 5 minutes, but all it seems to do is open the text file, now actually run it. Am I doing something wrong? Should I be scheduling it some other way?
Cheers ~Chris
On 3/22/07, Torsten Thau
wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
# This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (GPL). If you # did not receive this file, see http://www.gnu.org/licenses/gpl.txt. # -- # fetch emails every 10 minutes... */10 * * * * $OTRSHOME/bin/PostMasterMailAccount.pl >> /dev/null
oups... Sorry I forgot that your'e on Windows. So you have to set up a scheduled job, which does the same as the cron job: run the script PostMasterMailAccount.pl every x minutes.
regards, Torsten Thau
- -- Torsten Thau, Dipl. Inform. c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz phone: +49 371 5347 623 cell: +49 176 66 680 680 pgp-key: 0x292F987D fax: +49 371 5347 625 http://www.cape-it.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFGAn9LvXo8m5PgoXQRAss+AJ9+3OpN+wd/x5bE3XF38rpVM4ktwgCfex0K lH2ms/C34SpxEeeinVveyJ8= =5Xux -----END PGP SIGNATURE----- _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/
--
participants (3)
-
Andy Lubel
-
Chris Watt
-
Torsten Thau