I get postfix working fine to send mails from a client (ximian) running on the same server (redhat 9), however when i tried to send messages from any pc from same network, i get the message: "relay from non-local domains is not allowed".
i will thank any tip.
Martin.
My current configuration looks like:
#postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 6
debug_peer_list = 192.168.20.106
inet_interfaces = all
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname
myhostname = venus.activos.com.co
mynetworks = 192.168.0.0/24
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-1.1.12/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.12/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:C7:4B:8C:60
inet addr:192.168.20.126 Bcast:192.168.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24403 errors:0 dropped:0 overruns:0 frame:0
TX packets:1327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2710586 (2.5 Mb) TX bytes:112566 (109.9 Kb)
Interrupt:10 Base address:0xec00 Memory:df8ff000-df8ff038
eth1 Link encap:Ethernet HWaddr 00:30:1B:35:10:49
inet addr:192.168.20.127 Bcast:192.168.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24532 errors:0 dropped:0 overruns:0 frame:0
TX packets:356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2941579 (2.8 Mb) TX bytes:31793 (31.0 Kb)
Interrupt:11 Base address:0xd400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:111507 errors:0 dropped:0 overruns:0 frame:0
TX packets:111507 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9192515 (8.7 Mb) TX bytes:9192515 (8.7 Mb)
Martin Cabrera
Oracle DBA/Programmer
i will thank any tip.
Martin.
My current configuration looks like:
#postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 6
debug_peer_list = 192.168.20.106
inet_interfaces = all
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname
myhostname = venus.activos.com.co
mynetworks = 192.168.0.0/24
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-1.1.12/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.12/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:C7:4B:8C:60
inet addr:192.168.20.126 Bcast:192.168.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24403 errors:0 dropped:0 overruns:0 frame:0
TX packets:1327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2710586 (2.5 Mb) TX bytes:112566 (109.9 Kb)
Interrupt:10 Base address:0xec00 Memory:df8ff000-df8ff038
eth1 Link encap:Ethernet HWaddr 00:30:1B:35:10:49
inet addr:192.168.20.127 Bcast:192.168.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24532 errors:0 dropped:0 overruns:0 frame:0
TX packets:356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2941579 (2.8 Mb) TX bytes:31793 (31.0 Kb)
Interrupt:11 Base address:0xd400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:111507 errors:0 dropped:0 overruns:0 frame:0
TX packets:111507 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9192515 (8.7 Mb) TX bytes:9192515 (8.7 Mb)
Martin Cabrera
Oracle DBA/Programmer