[SOLVED] Setting Up Gmail

Moderator: crythias

Post Reply
ronaldjerardmedina
OTRS expert
Posts: 99
Joined: 24 Jun 2016, 11:36
OTRS Version?: 5.0.3-01
Real Name: Ronald Jerard
Company: Medina

[SOLVED] Setting Up Gmail

Post by ronaldjerardmedina » 10 Nov 2016, 10:31

I got this Error when sending Email (See Attached Image).
I followed the instructions here "http://wiki.otterhub.org/index.php?titl ... with_Gmail"
What must be the error?
I am using Linux Suse 11 as my server and I configured the Mail Server and Firewall there.
Can Someone help me?
You do not have the required permissions to view the files attached to this post.
Last edited by ronaldjerardmedina on 17 Nov 2016, 03:48, edited 1 time in total.
OTRS 5.0.3-01 - MySql - SLES -

ronaldjerardmedina
OTRS expert
Posts: 99
Joined: 24 Jun 2016, 11:36
OTRS Version?: 5.0.3-01
Real Name: Ronald Jerard
Company: Medina

Re: Setting Up Gmail

Post by ronaldjerardmedina » 10 Nov 2016, 10:54

And as i Look up at /var/mail/root I saw this.

Code: Select all

[Wed Nov  9 02:05:05 2016] otrs.Daemon.pl: Can't locate Date/Format.pm in @=
INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs /u=
sr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/li=
b/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl=
/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/li=
b/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /opt/otrs/Kerne=
l/cpan-lib/Mail/Field/Date.pm line 13.
[Wed Nov  9 02:05:05 2016] otrs.Daemon.pl: BEGIN failed--compilation aborte=
d at /opt/otrs/Kernel/cpan-lib/Mail/Field/Date.pm line 13.
[Wed Nov  9 02:05:05 2016] otrs.Daemon.pl: Compilation failed in require at=
 (eval 25) line 3.
[Wed Nov  9 02:05:05 2016] otrs.Daemon.pl: Attempt to reload Mail/Field/Dat=
e.pm aborted.
[Wed Nov  9 02:05:05 2016] otrs.Daemon.pl: Compilation failed in require at=
 (eval 28) line 3.
[Wed Nov  9 02:05:05 2016] otrs.Daemon.pl: Attempt to reload Mail/Field/Dat=
e.pm aborted.
OTRS 5.0.3-01 - MySql - SLES -

RStraub
OTRS guru
Posts: 2171
Joined: 13 Mar 2014, 09:16
OTRS Version?: 6.0.14
Real Name: Rolf Straub

Re: Setting Up Gmail

Post by RStraub » 10 Nov 2016, 11:18

Could you run:
~otrs/bin/otrs.CheckModules.pl
and see if the Module Date::Format is correctly installed?

Also, offtopick: that Business Solution advertisment is really getting out of hand..
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS

ronaldjerardmedina
OTRS expert
Posts: 99
Joined: 24 Jun 2016, 11:36
OTRS Version?: 5.0.3-01
Real Name: Ronald Jerard
Company: Medina

Re: Setting Up Gmail

Post by ronaldjerardmedina » 11 Nov 2016, 04:02

Hi RStraub,

Look at the attachment, I think all the modules needed are installed correctly. but I will try reinstalling Date::Format.
Hope It works. Does internet has something to do with this? Thanks in advance

And yes the ads are so annoying esp. for admins.
You do not have the required permissions to view the files attached to this post.
OTRS 5.0.3-01 - MySql - SLES -

klausneil
OTRS ninja
Posts: 658
Joined: 29 May 2012, 22:47
OTRS Version?: 6.0.16
Real Name: Klaus Salazar
Company: SLP
Location: Perú

Re: Setting Up Gmail

Post by klausneil » 11 Nov 2016, 05:04

Hi, well you have first configure smtp-relay.gmail.com with your ip public on your google apps after you can use smtp by otrs, you can telnet smtp-relay.gmail.com 25 and this work. Remenber that google not use smtp by default.

ronaldjerardmedina
OTRS expert
Posts: 99
Joined: 24 Jun 2016, 11:36
OTRS Version?: 5.0.3-01
Real Name: Ronald Jerard
Company: Medina

Re: Setting Up Gmail

Post by ronaldjerardmedina » 11 Nov 2016, 05:12

how will I do that? Will i put on my linux mail server that my outgoing email server is smtp-relay.gmail.com? btw, i tried telnet smtp-relay.gmail.com 25 and nothing happens.
OTRS 5.0.3-01 - MySql - SLES -

Post Reply