New Module: MultipleSMTP

Moderator: tto

renee
OTRS superhero
Posts: 241
Joined: 06 Feb 2009, 11:15
OTRS Version?: 3.0.x
Company: Perl-Services.de
Contact:

New Module: MultipleSMTP

Postby renee » 19 Jul 2011, 15:38

If you have several system addresses and you want to use different SMTP servers for these addresses, you might be interested in MultiSMTP (http://opar.perl-services.de/bin/index. ... /MultiSMTP). After installation, the admin gets a new item in the admin area (box: "Email", name: "SMTP settings") where he can manage the SMTP settings.

For each system address you can add a SMTP server and you can use the same variants (SMTP, SMTPS SMTPTLS). And if the Perl modules Crypt::CBC and Crypt:DES are installed, the passwords get encrypted before they are stored in the database.

To enable sending mails with the different SMTP servers you have to select "MultiSMTP" in Framework -> Core::SMTP -> SendmailModule.

I hope this is useful to you. If you have any comments, questions, feedback, don't hesitate to drop me a mail (info@perl-services.de).
Need a Perl/OTRS developer? You can contact me at info@perl-services.de

Andre Bauer
OTRS guru
Posts: 2191
Joined: 08 Dec 2005, 17:01
OTRS Version?: 5.0.x
Real Name: André Bauer
Company: Magix Software GmbH
Location: Dresden
Contact:

Re: New Module: MultipleSMTP

Postby Andre Bauer » 19 Jul 2011, 16:21

Great! Thanks a lot!

Waiting for long time for this feature :-)

I wiill post the module to my bugreport: http://bugs.otrs.org/show_bug.cgi?id=2178
Prod: Ubuntu Server 16.04 / Zammad 1.2

DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!

OtterHub.org

dubarca
OTRS newbie
Posts: 7
Joined: 16 Jul 2009, 11:23
OTRS Version?: 3.0.6

Re: New Module: MultipleSMTP

Postby dubarca » 04 Nov 2011, 16:57

I'd love this module it's something i've been waiting for since... probably ever. Finally a clean way to implement Multiple SMTP server.

I gave this module a try, though as I'm on postgres the table creation for ps_multi_smtp failed due to the missing "" for the user column. Once I got around this(sorry if this is not the supposed OTRS way), it bucked somewhere else; When creating my SMTPs and saving them following comes up:

Code: Select all

Backend ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Fri Nov  4 15:54:44 2011

Message: ERROR:  null value in column "smtp_id" violates not-null constraint, SQL: 'INSERT INTO ps_multi_smtp_address (smtp_id, address) VALUES (?,?)'

Traceback (3373):
   Module: Kernel::System::MultiSMTP::SMTPAdd (v1.1.1.1) Line: 191
   Module: Kernel::Modules::AdminMultiSMTP::Run (v1.1.1.1) Line: 169
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.57) Line: 837
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 48
   Module: (eval) (v1.88) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31


I will continue my strugle but if in the meantime anybody has an idea, please be so kind.

J
"Prod": OTRS: 3.0.1.

OS: Debian 6
Apache2/PSQL 8

renee
OTRS superhero
Posts: 241
Joined: 06 Feb 2009, 11:15
OTRS Version?: 3.0.x
Company: Perl-Services.de
Contact:

Re: New Module: MultipleSMTP

Postby renee » 06 Nov 2011, 16:09

I will have a look at it this week...
Need a Perl/OTRS developer? You can contact me at info@perl-services.de

mzanchetta
OTRS newbie
Posts: 1
Joined: 26 Dec 2011, 19:50
OTRS Version?: 3.0
Real Name: Maximiliano Zanchetta
Company: Multiline

Re: New Module: MultipleSMTP

Postby mzanchetta » 26 Dec 2011, 20:14

renee wrote:I will have a look at it this week...


Hello renee, how are you?

I'm trying to use your module without SMTP authentication, and i'm receiving this message in the log:
"SMTP authentication failed: 5355.7.3 Authentication unsuccessful"

Is there a way to authenticate without user & password?

Thanks a lot.
Maximiliano

reneeb
OTRS guru
Posts: 4337
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: New Module: MultipleSMTP

Postby reneeb » 17 Apr 2013, 05:00

A new version is online... Now you can define SMTPs for AdminEmail, NotificationSenderEmail, (not only system addresses)
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de


Return to “Patches / Modules”

Who is online

Users browsing this forum: No registered users and 1 guest

cron