On Tue, Sep 2, 2008 at 1:48 PM, Marcel Grandemange <[EMAIL PROTECTED]> wrote: > > > I have a server that has one real ip and a virtual second ip. > > Both are connected to the same isp but have different addresses. > > > > The plan was one is used for all normall traffic but the second only for > mail. > > > > This is not working so, when a user sends mail postfix uses the main ip > address to send from, this creates an issue as there is someone on the > internal network running there own smtp server and sending spam. > > This results in the main address being blacklisted and our mail server as > well. >
>this is the second time in a month that someone has asked this type of >question. >why would other administrators help you continue to send spam to us?? >block outbound SMTP from hosts that should not send it. We operate a WISP and intend to take measures to prevent the spam but we need the mail server operational while we resolve the issue. You cannot simply block outgoing smtp, will have to del with hundreds off calls. We have a plan, but wasn't the question, to stop the spam we have a plan but to get postfix to use second ip we don't. Ive been following different setups , and everytime spotfix insists on using main interface to send mail. 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. 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 Correction through 196.212.65.186, I need it to go through 196.212.65.187 > > > If postfix could simply send mail from the virtual address our issues would > be solved as main interface can be blacklisted and wont effect our mail > server. > that doesn't solve the problem you are creating for the rest of the world. it also won't solve your problem, your whole netblock will end up blacklisted eventually. > > > > > Help!? __________ NOD32 3407 (20080902) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com __________ NOD32 3407 (20080902) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com