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

Re: Postfix



Am Montag, 25. April 2005 14:08 schrieb Markus Trümper:

> I'm using postfix on Woody as a mail server. The server is
> located in my DMZ, and I want my users to be able to send email
> without creating an open relay. My network setup:
>
>     192.168.1.0/24 (internal)
>
>      (firewall) --- Internet
>
>     192.168.4.0/24 (DMZ)
>
> How do I tell postfix to

Have you looked at the documentation at all?  Basic postfix 
configuration is quite easy!

$ man 5 postconf

You will find dozens of howtos and tutorials on the net, too. 

> - accept email from 192.168.1.0/24 and 192.168.4.0/24 for
>   relaying anywhere

Look at "mynetworks".

> - accept email from anywhere for relaying to 192.168.1.0/24 and
>   192.168.4.0/24 and local delivery

Look at "mydestination", maybe "virtual_*_domains".

> - reject anything else, specifically relay requests from
> anywhere but 192.168.1.0/24 and 192.168.4.0/24 to anywhere but
> 192.168.1.0/24 and 192.168.4.0/24?

That's default.  If you want to know more about this policy, look 
at "smtpd_recipient_restrictions".

Ask again, if you have _specific_ problems.

Regards,
Dennis

-- 
Send personal mail to dennis@... only.  Off-list 
mails to lists@stosberg.net will not reach me.



Reply to: