[NTLUG:Discuss] Switching ISPs - Earthlink uses port 587 for email???

Stephen Davidson gorky at freenet.carleton.ca
Sun Oct 7 19:06:11 CDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings.

Found the file;
/usr/share/sendmail/feature/msp.m4
Has the following block in it;
dnl This queue directory must have the same group
dnl as sendmail and it must be group-writable.
dnl notice: do not test for QUEUE_DIR, it is set in some ostype/*.m4 files
ifdef(`MSP_QUEUE_DIR',
`define(`QUEUE_DIR', `MSP_QUEUE_DIR')',
`define(`QUEUE_DIR', `/var/spool/clientmqueue')')
define(`_MTA_HOST_', ifelse(defn(`_ARG_'), `', `[localhost]', `_ARG_'))
define(`_MSP_FQHN_',`dnl used to qualify addresses
ifdef(`MASQUERADE_NAME', ifdef(`_MASQUERADE_ENVELOPE_', `$M', `$j'), `$j')')
ifelse(_ARG2_, `MSA', `define(`RELAY_MAILER_ARGS', `TCP $h 587')')
dnl ---------------------------------------------

Ok, so maybe I am in business.  So, I add the line;
define(`RELAY_MAILER_ARGS', `IPC $h 587')dnl
after the last dnl listed (about the middle of the file).  Then I add to
/etc/mail/mailertable;
.                       relay:smtpauth.earthlink.net
And clear the SMART_HOST entry from the /etc/sysconfig/sendmail file. (I
set it to "").  Run /sbin/SuSEConfig -module sendmail, and restart sendmail.

gorky:/etc # /etc/init.d/sendmail restart
Shutting down SMTP port                                               done
Initializing SMTP port (sendmail)Mrelay: Warning: first argument in
[IPC] mailer must be TCP or FILETCP
                                                                      done
gorky:/etc #

Well, that's pretty understandable, so I go change the line I put in the
msp.m4 file to;
# For Earthlink - SPD 10/07/07
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl

Rerun SuSEConfig, a new submit.cf gets built, and no warnings when I
restart sendmail.  So I try to send a test email to my cips.ca account,
and this is what gets printed to the log;

Oct  7 18:43:31 gorky sendmail-client[12378]: l97Ng1WU012341:
to=<gorky at cips.ca>, ctladdr=<steve at gorky.j2eeguys.com> (1000/100),
delay=00:01:30, xdelay=00:00:00, mailer=relay, pri=390276,
relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
refused by [127.0.0.1]
Oct  7 18:43:45 gorky sendmail[12398]: gethostbyaddr(192.168.1.33) failed: 1

I don't think that's good.  Especially since this started to repeat
about once a minute, and the email never got delivered.

Help???

I'm will to pay reasonable consulting fee's, lunch, dinner, whatever to
get this resolved.

Regards,
Steve

Rick Renshaw wrote:
> Try this:
> 
> define(`RELAY_MAILER_ARGS', `IPC $h 587')dnl
> 
> and 
> 
> .		relay:smtp-server.com
> 
> if you need it.  Found them both with as the first hit googling 'sendmail smarthost port'
> 
> http://lists.freebsd.org/pipermail/freebsd-questions/2004-January/031496.html
> 
> 
> --- Stephen Davidson <gorky at freenet.carleton.ca> wrote:
> 
> Greetings.
> 
> I am switching my ISP.  Earthlink uses port 587 for receiving email.  I
> am using SuSE 10.1 & Sendmail for my local mail server.  I have been
> Googling all over the place, and while finding lots of stuff to get
> Sendmail to listen on the 'Submission' port, nothing about how to get it
> to forward/transmit to the Smart_host on that port.  I've been at this
> longer than I care to admit to, and would love even a pointer from somebody?
> 
> -Steve
>>
_______________________________________________
http://www.ntlug.org/mailman/listinfo/discuss
>>

> Be vewwy, vewwy qwiet, I'm hunting Jedi.
>           Darth Fudd.


>       ____________________________________________________________________________________
> Check out the hottest 2008 models today at Yahoo! Autos.
> http://autos.yahoo.com/new_cars.html

> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHCXRyPtiPEDq7o8YRAq5mAKCI8E0VfhH/j01/nXBmTvlJ8nfj+wCgoW6V
T9BqX33U/yiyCdBIKS68roA=
=lzD3
-----END PGP SIGNATURE-----




More information about the Discuss mailing list