Bug#656841: exim4-config: Beyong SMTPS for smarthost

Osamu Aoki osamu at debian.org
Sat Jan 28 15:52:12 UTC 2012


Hi,

I am wondering about design of current smarthost.  I made a alternative
set up which uses multiple smarthosts based on From: header.
(I got its hint from recent exim ML but did more to accomodate SMTPS.)

These days, it is better to use google address as both sending and
recieving for some services instead of just recieving.  If you use just
"From: foo at gmail.com", some service does not like it (I think of google
code or something.)

So if desktop user set up exim for smarthost, it should use them based
on From: address for all practical purpose.

After checking my previous simple SMTPS patch, I finally got this tried
to make it work with all of the following.
 * my connection ISP (used for @debian.org address too.)
 * google accounts
 * yahoo.co.jp SMTPS account

Based on my local configuration, I made a patch to the exim4 package.

As I installed this, this works aftwe adding local configuration:

ENABLE_MULTIPLE_SMARTHOSTS = yes

The only concern I have is security of $address_data.

Should I add hide to address_data in my updated
 /etc/exim4/conf.d/router/200_exim4-config_primary

I do not know if you wish the default configuration to use this patch.
But this may be helpful for other people.  So I am sending this
alternative configuration with all required changes and documentation.

Osamu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: exim4-4.77.multi-smarthosts.patch
Type: text/x-diff
Size: 20164 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-maintainers/attachments/20120129/d9b0e288/attachment.patch>


More information about the Pkg-exim4-maintainers mailing list