Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Gyula Voros on October 22, 2003, 06:13:59 AM
-
How do I get the SME server to *stop* intercepting SMTP traffic? Qmail seems to catch all attempts to connect to an outside SMTP server... which is a problem for me since I'm on a residential connection and many hosts are now refusing e-mail from my SME box.
I don't want to set it to deliver to a specific SMTP server (eg. my ISP's) - in any case from what I've been seeing on the forums there would be problems with authentication. I want the client program to choose the SMTP server. This worked fine in previous versions of SME, as far as I'm aware, the request was just routed through the gateway...
Thanks,
-- Gyula Voros
-
Gyula Voros wrote:
>
> How do I get the SME server to *stop* intercepting SMTP
> traffic? Qmail seems to catch all attempts to connect to an
Until we make it configurable, this should work.
[root@sme1-60 root]# mkdir -p \
/etc/e-smith/templates-custom/etc/rc.d/init.d/masq
[root@sme1-60 root]# touch \ /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/{35SMTPProxy,90adjustSMTPProxy}
[root@sme1-60 root]# /sbin/e-smith/expand-template \
/etc/rc.d/init.d/masq
[root@sme1-60 root]# /etc/init.d/masq restart
Note that this was done to prevent worms and viruses from talking to external smtp servers to propagate themselves.
Regards,
Mike
-
/etc/init.d/masq restart
Shutting down IP masquerade and firewall rules: Done!
Enabling IP masquerading: iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
done
Eeerrr usual?? ^^^^^^^^^^^^
-
Sam Allen wrote:
>
> /etc/init.d/masq restart
>
> Shutting down IP masquerade and firewall rules: Done!
>
> Enabling IP masquerading: iptables: No chain/target/match by
> that name
> iptables: No chain/target/match by that name
> done
>
> Eeerrr usual?? ^^^^^^^^^^^^
Works for me. You must have something else installed.
Mike