Sending outgoing mail through many smtp servers?

hello,

there’s single SMTPServer in RT_Config.pm:

Set($SMTPServer, ‘mail.local’);

I’d like to make a patch, which allow multiple smtp-servers, like

Set(@SMTPServer, (qw(‘mail1.local’ ‘mail2.local’)) );

the question is: should I just leave new functionality ? or combined scalar

  • array autodetection algorithm ?
    sounds like array-functionality would be enough.

Cheers,
Ilya Shipitsin

Hello, Ilya.

I don’t think it’s good idea to implement more features in SMTP
transport. It slows down mail sending and after all operations that
generates mails. Better choice is to use MTA configured in whatever
you like way and sendmail command in RT.On Wed, Feb 3, 2010 at 4:08 PM, Илья Шипицин chipitsine@gmail.com wrote:

hello,

there’s single SMTPServer in RT_Config.pm:

Set($SMTPServer, ‘mail.local’);

I’d like to make a patch, which allow multiple smtp-servers, like

Set(@SMTPServer, (qw(‘mail1.local’ ‘mail2.local’)) );

the question is: should I just leave new functionality ? or combined scalar

  • array autodetection algorithm ?
    sounds like array-functionality would be enough.

Cheers,
Ilya Shipitsin


List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Best regards, Ruslan.

I agree, send to a local mail server like postfix and set multiple MX
records for your outbound mail in DNS. Or use the program called
’pen’ or its brother ‘balance’.

example:
pen smtp mailhost1 mailhost2 mailhost3

And send to localhost

Hello, Ilya.

I don’t think it’s good idea to implement more features in SMTP
transport. It slows down mail sending and after all operations that
generates mails. Better choice is to use MTA configured in whatever
you like way and sendmail command in RT.

On Wed, Feb 3, 2010 at 4:08 PM, Илья Шипицин chipitsine@gmail.com wrote:

hello,

there’s single SMTPServer in RT_Config.pm:

Set($SMTPServer, ‘mail.local’);

I’d like to make a patch, which allow multiple smtp-servers, like

Set(@SMTPServer, (qw(‘mail1.local’ ‘mail2.local’)) );

the question is: should I just leave new functionality ? or combined scalar

  • array autodetection algorithm ?
    sounds like array-functionality would be enough.

Cheers,
Ilya Shipitsin


List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


Best regards, Ruslan.


List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

pen is very good idea. I’d even could write a note regarding it on wiki2010/2/3 Shane Spencer shane@bogomip.com

I agree, send to a local mail server like postfix and set multiple MX
records for your outbound mail in DNS. Or use the program called
’pen’ or its brother ‘balance’.

example:
pen smtp mailhost1 mailhost2 mailhost3

And send to localhost

  • Shane

On Wed, Feb 3, 2010 at 4:21 AM, Ruslan Zakirov ruslan.zakirov@gmail.com wrote:

Hello, Ilya.

I don’t think it’s good idea to implement more features in SMTP
transport. It slows down mail sending and after all operations that
generates mails. Better choice is to use MTA configured in whatever
you like way and sendmail command in RT.

On Wed, Feb 3, 2010 at 4:08 PM, Илья Шипицин chipitsine@gmail.com wrote:

hello,

there’s single SMTPServer in RT_Config.pm:

Set($SMTPServer, ‘mail.local’);

I’d like to make a patch, which allow multiple smtp-servers, like

Set(@SMTPServer, (qw(‘mail1.local’ ‘mail2.local’)) );

the question is: should I just leave new functionality ? or combined
scalar

  • array autodetection algorithm ?
    sounds like array-functionality would be enough.

Cheers,
Ilya Shipitsin


List info:
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


Best regards, Ruslan.


List info:
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel