Mailinglist Archive: opensuse (3459 mails)
| < Previous | Next > |
RE: [opensuse] Postfix and accepting multiple networks
- From: "James D. Parra" <Jamesp@xxxxxxxxxxxxxxxx>
- Date: Thu, 7 Feb 2008 12:58:17 -0800
- Message-id: <531F1E080638384C9623B00D71AA546D05020C7B@xxxxxxxxxxxxxxxxxxxxxxxxx>
On Thursday 07 February 2008 21:29:01 James D. Parra wrote:
server is on is relayed. There is no parameter in the current main.cf for
mynetworks.
There has to be. Look again
Or do you have mynetworks_style set?
If I add, for example, only the following, will that be enough?
/etc/postfix/main.cf:
mynetworks = 192.168.1.0/24, 10.10.0.0/16, 192.168.2.1
You need a network mask there. if 192.168.2.1 is a single machine that
should
be trusted, use /32
Anders
~~~~~~~
Thanks for the mask info.
Regarding the 'mynetworks', those parameters are commented out. As shown in
the main.cf
<snip>
#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host
<snip>
&
<snip>
#mynetworks = 168.100.189.0/28, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table
<snip>
Here is what *is* listed;
<snip>
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
program_directory = /usr/lib/postfix
masquerade_domains = $mydomain
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
myorigin = $mydomain
allow_untrusted_routing = yes
<end>
Its simple, but it got the job done until now. I think the last line is what
allowed the relaying to work without the 'mynetworks' parameter.
Thanks again,
~James
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |