OTRS with IMAP

Moderator: crythias

Locked
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

OTRS with IMAP

Post by klausneil »

Greetings friends, I have a problem which I just realized, I configured the system so that in Email Setting -> Mail Accounts PostMaster and here was configured with IMAP account, the problem is that when you access the web mail does not appear no mail. Someone could give me an idea about this. Thank you very much in advance.

PD = my mail is in a hosting and OTRS is version 3.1.10. and the installation was done with:

aptitude install libapache2-mod-perl2 libdbd-pg-perl libnet-dns-perl libnet-ldap-perl libio-socket-ssl-perl-perl libpdf libsoap-API2-lite-perl libgd-text-perl libgd-graph libapache-dbi-perl-perl postgresql [/ b]

After only configure apache, database and basic configuration of OTRS. Now once in the web interface addresses place outgoing mail (SMTP) and the direction of arrival (IMAP). Hopefully I can get a little help.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS with IMAP

Post by jojo »

please read the admin manual and follow the INSTAL file in the OTRS base directory
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS with IMAP

Post by klausneil »

thanks jojo already did that's why I have the service running, the point is that I do not see where in the talk about the way it makes the reception of OTRS emails if the mail server is on a hosting.

Not if I have understood, the problem is that the emails are configured as IMAP, the emails that allow user1 account ones in the hosting, but when you send an email to OTRS and there is a copy on the hosting.

Someone who can give me a hand
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS with IMAP

Post by jojo »

please write your question more clearly.

Do I understand correctly that you wan't to leave a copy of the message which was fetched on the hosted mailserver?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS with IMAP

Post by klausneil »

Sorry for writing'm not very good with English and do my effort. Exactly, I want to leave a copy of the message that was fetched in the hosted mail server

I'm trying to install cyrus-imap is enabled on port 143 otrs server but nothing happened, but if you had any comments I'd appreciate it.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS with IMAP

Post by jojo »

OTRS will allways fetch all mails independ of the transport via POP3 or IMAP. It is also not suggested to leave a copy of a mail in a human accessible mailbox.

For setting up these kind of functionality you need to use fetchmail on your linux box. (OTRS provides a config for fetchmail.)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS with IMAP

Post by klausneil »

Ok, look, I've set up a crontab task in / opt / otrs / var / cron / fetchmail causing this would completely discharge mails on the server and not keep a copy on the hosting?, In my work I ask me that left a copy in the server hosting for safety.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS with IMAP

Post by jojo »

OTRS uses its own fetching (which delete all mails after fetch).
If you want to use fetchmail you need to configure the .fetchmailrc file (which can keep the mails)

please read the INSTALL file for propper setup of all needed cronjobs
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS with IMAP

Post by klausneil »

I'll try and I write to comment as I finish, many thanks for all your help. regards
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS with IMAP

Post by klausneil »

regards

I was proving a solution that allows me to take and IMAP mails remain in the hosting, I have seen here have achieved a solution by editing IMAP.pl
viewtopic.php?f=62&t=8180&p=32270

and wherein only the line comment

# $ IMAPObject-> delete ($ Messageno);

I did but still the mail does not stay in the hosting, I searched for information on editing the file. fetchmail but can not find information on how to do it

They could advise me what I can do, because in my company asked me to do it this way

P.D.= to do the above steps begin to repeat too often a single email. Any idea what could have happened?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS with IMAP

Post by jojo »

don't change the IMAP code. Use the fetchmal program (which is not part of OTRS) to achive this
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS with IMAP

Post by klausneil »

cerrado
Locked