Marcel Grandemange wrote: > Ive been following different setups , and everytime spotfix insists on using > main interface to send mail.
>please stop talking about "interface". if you have a problem related to >interfaces, ask on your OS forum. > > em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4> > ether 00:30:48:90:c8:28 > inet 196.212.65.186 netmask 0xfffffff8 broadcast 196.212.65.191 > inet 196.212.65.187 netmask 0xfffffff8 broadcast 196.212.65.191 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > > > 196.212.65.186 is nated and all normall traffic goes through that. > 196.212.65.187 is for mail only. > > When ever a mail gets sent it uses 196.212.65.186 > > That is blacklisted, and the problem goes further than that. >blacklisted where? A few bll lists. > > Ive tried to do this.... > inet_interfaces = 196.212.65.187, 127.0.0.1 > > No joy, binds to those interfaces but sends mail through 196.212.65.187 >I guess you mean .186. >Please do # postconf -e smtp_bind_address=196.212.65.187 # postfix stop # postfix start >then send a new test mail and see which IP is being used. you can send >me a message so that I see which IP is being used. done >if you still have problems, post the output of 'postconf -n' and the >contents of master.cf. feel free to hide private infos, but do so >coherently. also tell us which OS is this. [EMAIL PROTECTED] /home/thavinci]# postconf -n command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix content_filter = scan:127.0.0.1:10025 daemon_directory = /usr/local/libexec/postfix debug_peer_level = 2 html_directory = no mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man maps_rbl_domains = zen.spamhaus.org bl.spamcop.net dnsbl.sorbs.net message_size_limit = 20971520 mydestination = mynetworks = 127.0.0.0/8, 192.168.0.0/16, 172.32.0.0/16 mynetworks_style = host myorigin = r63.co.za newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no receive_override_options = no_address_mappings sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtp_bind_address = 196.212.65.187 smtpd_banner = $myhostname ESMTP ***No Unathorised Use Of This Service*** smtpd_delay_reject = yes smtpd_helo_required = yes smtpd_helo_restrictions = reject_invalid_hostname, permit smtpd_recipient_restrictions = permit_mynetworks,reject_non_fqdn_recipient, check_client_access hash:/usr/local/etc/postfix/pop-before-smtp, reject_unauth_destination, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.sorbs.net unknown_local_recipient_reject_code = 550 virtual_alias_maps = mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf virtual_gid_maps = static:125 virtual_mailbox_base = /var/mail virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_limit = 102400000 virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf virtual_minimum_uid = 125 virtual_transport = virtual virtual_uid_maps = static:125 OS = FreeBSD r63.co.za 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Aug 30 15:50:44 SAST 2008 thavinci@:/usr/src/sys/amd64/compile/thavinci amd64 Master.cf is pretty much stock except this at end.... # AV scan filter (used by content_filter) scan unix - - n - 16 smtp -o smtp_send_xforward_command=yes # For injecting mail back into postfix from the filter 127.0.0.1:10026 inet n - n - 16 smtpd -o content_filter= -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks -o smtpd_helo_restrictions= -o smtpd_client_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks_style=host -o smtpd_authorized_xforward_hosts=127.0.0.0/8 retry unix - - n - - error >Make sure your NAT implementation does not nat your smtp traffic. Im starting to wonder if this isn't the case... However would be confusing to me if it is! And Thanks guys for trying to help! I might be a bit moody, but im sure you understand the pressure when things like this happens! Thank You! __________ NOD32 3407 (20080902) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com