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

Sendmail alternate port

0 views
Skip to first unread message

jbe...@gmail.com

unread,
Sep 8, 2009, 2:05:17 AM9/8/09
to
I'm using sendmail 8.14.2 under slackware linux, and I'd like to have
sendmail's relay mailer use an alternate port. Based on information
in the FAQ, I added the following line to my .mc file

define(`RELAY_MAILER_ARGS', `TCP $h 2525')

I rebuilt my cf file and there were no changes other than some header
lines, date stamps and the like. Is there some pre-requisite to
adding that line that makes it actually do something? Do I need to
recompile sendmail with some option? Or is some other option in
the .mc file necessary before this does anything? I'm just trying to
figure out how to get this to actually work.

Thanks,
Joel

Johann Klasek - swap last two domainparts

unread,
Oct 23, 2009, 7:54:10 AM10/23/09
to

Maybe added in wrong place?

The line above must apear before the
MAILER(smtp)
line ...


Johann

dp

unread,
Oct 23, 2009, 11:21:28 AM10/23/09
to

Piggy-backing, didn't see the original post. If the OP is trying to add an
additional port (vs changing the default port) I find it easier to use the
firewall (ipfilter, here) to create a proxy port. This is quick and easy, works
every time, and it solves problems for traveling users the same as adding a
second port to Sendmail.

dp

0 new messages