jimmyjiang
Programmer
hi,
I have a postfix server 2.2.10 in centSo5.1, IP is 192.168.1.103, the mail will come from the other server 192.168.1.183( they are in same lan).
right now the server 192.168.1.183 can send mail to any destination relay from 192.168.103, but I want limit the destination to "intelligence.com" only, so only the email from 192.168.1.103 and from address is "xxx@intelligence.com" and "to address" is "xxx@intelligence.com" can be replayed in 192.168.1.103.
here is my "postconf -n"
[root@optimization postfix]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = /usr/share/doc/postfix-2.2.10-documentation/html
inet_interfaces = 192.168.1.103
mail_owner = postfix
mailbox_size_limit = 10485760000
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 209715200
mydomain = intelligence.com
mynetworks = 192.168.1.183, 192.168.1.232
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.10-documentation/readme
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient
unknown_local_recipient_reject_code = 550
thanks in advance!
I have a postfix server 2.2.10 in centSo5.1, IP is 192.168.1.103, the mail will come from the other server 192.168.1.183( they are in same lan).
right now the server 192.168.1.183 can send mail to any destination relay from 192.168.103, but I want limit the destination to "intelligence.com" only, so only the email from 192.168.1.103 and from address is "xxx@intelligence.com" and "to address" is "xxx@intelligence.com" can be replayed in 192.168.1.103.
here is my "postconf -n"
[root@optimization postfix]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = /usr/share/doc/postfix-2.2.10-documentation/html
inet_interfaces = 192.168.1.103
mail_owner = postfix
mailbox_size_limit = 10485760000
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 209715200
mydomain = intelligence.com
mynetworks = 192.168.1.183, 192.168.1.232
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.10-documentation/readme
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient
unknown_local_recipient_reject_code = 550
thanks in advance!