[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix trusted network



Frank,

please do not top-post.  See <http://www.rawip.org/style.html> for a
short explanation.

> Frank Kaldewey <kaldewey@anymotion.de> [2004-07-06 17:35]:
>
> Lukas Ruf wrote:
>
> >>Frank Kaldewey <kaldewey@anymotion.de> [2004-07-06 16:43]:
> >>
> >>Hi
> >>
> >>postfix has to relay mails from a webserver(win2k) in LAN to WAN.
> >>
> >>webserver          192.168.1.150
> >>
> >>mailserver/postfix 192.168.1.100
> >>
> >>I edit in etc/postfix/main.cf
> >>
> >>mynetworks = 192.168.1.0/28, 127.0.0.0/8
> >>
> >
> >
> >do you have 'permit_mynetworks'?  Can you send us the restrictions?
> >
> >

I have in my /etc/postfix/main.cf:

smtpd_recipient_restrictions =
   reject_invalid_hostname,
   reject_non_fqdn_hostname,
   reject_non_fqdn_sender,
   reject_non_fqdn_recipient,
   reject_unknown_sender_domain,
   reject_unknown_recipient_domain,
   reject_unauth_pipelining,
   permit_mynetworks,
   reject_unauth_destination,
   permit

This works pretty fine.  For an explanation, see the documentation on
<http://www.postfix.org>

HTH.

wbr,
Lukas
PS: Please reply to the list.  If I state this in the Reply-To, I mean
    it.  All email to <dev_null@rawip.org> is discarded....  I read
    the lists I am posting.  Thanks.
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|



Reply to: