sendmail configuration

Hi,
how I should configure sendmail as a gateway (with grey-lists, already
configured) in DMZ relying incoming e-mails (from Internet) to selected
e-mail server in inside LAN?
Thanks for any help,
--
john
student [ Sa, 12 April 2008 23:05 ] [ ID #1941420 ]

Re: sendmail configuration

student <student [at] biol.uni.lodz.pl> wrote:
> how I should configure sendmail as a gateway (with grey-lists, already
> configured) in DMZ relying incoming e-mails (from Internet) to
> selected e-mail server in inside LAN?

Minimal configuration:

a) access table entry to allow relaying to domains serviced by internal
server and relaying by internal server
[requires FEATURE(`access_db') in sendmail.mc file ]

access file entries:
to:example.com RELAY
connect:aaa.bbb.ccc.ddd RELAY

b)mailertable entry for "DNS less" routing [requires FEATURE(`mailertable')]

mailertable file entry:
example.com relay:[aaa.bbb.ccc.ddd]

In "spam world" consider also adding "per recipient" verification to
avoid necessity of sending back bounces generated by spam to non
existing mailboxes at internal server.
You can you FEATURE(`virtusertable') or FEATURE(`ldap_routing').
FEATURE(`ldap_routing') can be used with classic hash/dbm maps instead
of LDAP lookups.

--
[pl>en: Andrew] Andrzej Adam Filip anfi [at] xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
A newspaper is a circulating library with high blood pressure.
-- Arthure "Bugs" Baer
Andrzej Filip [ Sa, 12 April 2008 23:21 ] [ ID #1941421 ]

Re: sendmail configuration

Post removed (X-No-Archive: yes)
Notifier Deamon [ Sa, 12 April 2008 23:51 ] [ ID #1941422 ]

Re: sendmail configuration

Thanks a lot, it works.
--
student
=============
Andrzej Adam Filip pisze:
> student <student [at] biol.uni.lodz.pl> wrote:
>> how I should configure sendmail as a gateway (with grey-lists, already
>> configured) in DMZ relying incoming e-mails (from Internet) to
>> selected e-mail server in inside LAN?
>
> Minimal configuration:
>
> a) access table entry to allow relaying to domains serviced by internal
> server and relaying by internal server
> [requires FEATURE(`access_db') in sendmail.mc file ]
>
> access file entries:
> to:example.com RELAY
> connect:aaa.bbb.ccc.ddd RELAY
>
> b)mailertable entry for "DNS less" routing [requires FEATURE(`mailertable')]
>
> mailertable file entry:
> example.com relay:[aaa.bbb.ccc.ddd]
>
> In "spam world" consider also adding "per recipient" verification to
> avoid necessity of sending back bounces generated by spam to non
> existing mailboxes at internal server.
> You can you FEATURE(`virtusertable') or FEATURE(`ldap_routing').
> FEATURE(`ldap_routing') can be used with classic hash/dbm maps instead
> of LDAP lookups.
>
student [ Mi, 16 April 2008 00:33 ] [ ID #1943297 ]
Miscellaneous » comp.mail.sendmail » sendmail configuration

Vorheriges Thema: MIME coding for SMTP
Nächstes Thema: language characters