New Module: MultipleSMTP

Locked
renee
Znuny expert
Posts: 241
Joined: 06 Feb 2009, 11:15
Znuny Version: 3.0.x
Company: Perl-Services.de
Contact:

New Module: MultipleSMTP

Post by renee »

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
Znuny guru
Posts: 2189
Joined: 08 Dec 2005, 17:01
Znuny Version: 5.0.x
Real Name: André Bauer
Company: Magix Software GmbH
Location: Dresden
Contact:

Re: New Module: MultipleSMTP

Post by Andre Bauer »

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
Znuny newbie
Posts: 7
Joined: 16 Jul 2009, 11:23
Znuny Version: 3.0.6

Re: New Module: MultipleSMTP

Post by dubarca »

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
Znuny expert
Posts: 241
Joined: 06 Feb 2009, 11:15
Znuny Version: 3.0.x
Company: Perl-Services.de
Contact:

Re: New Module: MultipleSMTP

Post by renee »

I will have a look at it this week...
Need a Perl/OTRS developer? You can contact me at info@perl-services.de
mzanchetta
Znuny newbie
Posts: 1
Joined: 26 Dec 2011, 19:50
Znuny Version: 3.0
Real Name: Maximiliano Zanchetta
Company: Multiline

Re: New Module: MultipleSMTP

Post by mzanchetta »

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
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: New Module: MultipleSMTP

Post by reneeb »

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