Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

relay server on port 2525

18 views
Skip to first unread message

sam

unread,
Dec 13, 2009, 11:28:26 PM12/13/09
to
well - we have SCO unix (yes, yuck - but it's what we have) with
SENDMAIL 8.11.

IP provider has blocked port 25 outbound. - they need password
authentication - so - we don't use our IP provider's relay server from
SCO. (too difficult to install the pieces that allow for password auth)

We use smtp2go - which also accepts port 26, 2525, etc.

A telnet to smpt2go.com on port 25 fails (just hangs) - but ports 26,
2525 do connect and do respond to HELO.

MIND YOU: THIS IS "*** SCO ***" unix - there is no m4 - or .mc files

asking the IP provider to open port 25 they want lot's of extra $$$ for
a whole package of servics that includes (but is not limited to) opening
port 25. they will not open port 25 alone as a service by itself.

here is what I want to do (please don't offer alternatives, I'll only
tell you the alternative is not going to work for me)

I wanto to MANUALLY modify the sendmail.cf file so that the outbound for
the relay server is thru something other then port 25.

anyone who knows how to do this and offer the correct information will
be very much appreciated. - thank you.

ska

unread,
Dec 14, 2009, 3:45:43 AM12/14/09
to
sam wrote:
> anyone who knows how to do this and offer the correct information will
> be very much appreciated.

Check op.me sec. 5.4. M—Define Mailer

"For mailers that use [IPC] as pathname the argument vector
(A=) must start with TCP or FILE for delivery via a TCP or a Unix
domain socket. If TCP is
used, the second argument must be the name of the host to contact.
Optionally a third argument can
be used to specify a port, the default is smtp (port 25)."

IMHO: You have to mangle the "relay" mailer.

-ska

sam

unread,
Dec 14, 2009, 11:42:22 AM12/14/09
to
ska <s...@mail.inf.fh-brs.de> wrote in
news:25dcb00c-a385-4acd...@v30g2000yqm.googlegroups.com:

well - the Mrelay line is as follows

Mrelay, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP,
R=MasqSMTP, E=\r\n, L=2040, T=DNS/RFC822/SMTP, A=IPC $h

I have no idea what the $h or where it is being defined - but ...
I've modified the A= to

A=TCP smtp2go.com 2525

so far no luck - there are other M lines suc as Msmtp, Mesmtp, Msmtp8,
Mdsmtp, Mdsmtp. - I was wondering if any/all need to be changes as well

I do know that smtp2go accepts (listens) on port 2525 as well as 25, 26
and a few others. - I am not sure what you mean by 'mangle' the mailer.

ska

unread,
Dec 15, 2009, 4:45:27 AM12/15/09
to
sam wrote:
> so far no luck - there are other M lines suc as Msmtp, Mesmtp, Msmtp8,
> Mdsmtp, Mdsmtp. - I was wondering if any/all need to be changes as well

Check out your log lines, there is a "mailer=<<name>>" item. The
"relay=<<host>>" ist the destination server.

-ska

Erich Titl

unread,
Dec 15, 2009, 11:05:20 AM12/15/09
to sam
Sam

sam wrote:
> ska <s...@mail.inf.fh-brs.de> wrote in
> news:25dcb00c-a385-4acd...@v30g2000yqm.googlegroups.com:
>
> well - the Mrelay line is as follows
>
> Mrelay, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP,
> R=MasqSMTP, E=\r\n, L=2040, T=DNS/RFC822/SMTP, A=IPC $h
>
> I have no idea what the $h or where it is being defined - but ...
> I've modified the A= to
>
> A=TCP smtp2go.com 2525

I have to use smtp2go myself. I usually use port 25 but generated the
lines quickly for 2525

Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP,


R=MasqSMTP, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,

A=TCP $h 2525


# "Smart" relay host (may be null)
DS[smtp2go.com]


And that is typically all you have to do. You don't really want to do
that in the .cf file, but in the .mc file, so it is portable.

cheers

Erich

0 new messages