[Pkg-exim4-users] Two (slightly) different configurations for port 25 and 587
Boyd Stephen Smith Jr.
bss at iguanasuicide.net
Thu Oct 21 15:07:18 UTC 2010
In <201010211020.21519 at fortytwo.ch>, Adrian von Bidder wrote:
>What I'd like to do:
>
> * don't advertise STARTTLS at all on port 25 (I've had problems with
>several mailservers with broken implementations, so I don't want them to try
>this. I don't want exim to use TLS on outgoing mail either, btw.)
> * don't allow authentication at all on port 25 (no mail submission!)
> * on Port 587, exactly the other way round: only allow mail in after
>authentication via TLS. Ideally, I'd like the antispam stuff that runs on
>port 25 incoming mail to run not at DATA time but after (and generate
>bounces), so people don't get their email stuck in the outbox.
>
>Is this easily possible? (I admit that this is probably just a question of
>RTFM. But the exim manual is 57 chapters long ... :-)
I believe you can use String expansions (Chapter 11) to make each of the
relevant configuration options different depending on the port. In particular
the are two Expansion variables (Section 11.8): $interface_address and
$interface_port.
I haven't tested this at all.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss at iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20101021/487a0e0a/attachment.pgp>
More information about the Pkg-exim4-users
mailing list