Koozali.org: home of the SME Server

SME6.0b3 intercepting SMTP traffic

Gyula Voros

SME6.0b3 intercepting SMTP traffic
« 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

Michael Soulier

Re: SME6.0b3 intercepting SMTP traffic
« Reply #1 on: October 22, 2003, 07:10:21 AM »
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

Sam Allen

Re: SME6.0b3 intercepting SMTP traffic
« Reply #2 on: October 22, 2003, 11:38:04 AM »
/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?? ^^^^^^^^^^^^

Michael Soulier

Re: SME6.0b3 intercepting SMTP traffic
« Reply #3 on: October 23, 2003, 01:56:37 AM »
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