<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Courier New">Hello all,<br>
<br>
I seem to be in a bit of a pickle.  I can't seem to get my Fedora Core
4 machine to do smart relay to an smtp server that I have an account on
to be able to send mail.<br>
<br>
Work has decided to give me a new machine and with that comes web
restriction where I don't have access to send mail on port 587.  So
since I still can connect to my home network, I want to be able to
forward mail to my home machine and have it relay mail on that port to
the external smtp server.<br>
<br>
I have been googling around and see that I need to configure my
sendmail.mc file with the following entries:<br>
<br>
dnl define(`SMART_HOST',`smtp.gmail.com')</font><br>
<small><small>define(`RELAY_MAILER_ARGS', `IPC $h 697')dnl</small></small><br>
<font face="Courier New"><br>
then run the script that will update my sendmail.cf file.<br>
<br>
Issue 1.<br>
<br>
I don't have a default sendmail.cf file and I can't seem to find where
the .cf examples are on my machine.<br>
<br>
Issue 2 (Which is probably caused by issue one)<br>
<br>
When I run the m4 command I get the following:<br>
[user@FC4FW share]$  m4 /etc/mail/sendmail.mc /etc/mail/sendmail.cf<br>
/etc/mail/sendmail.mc:10: m4: Cannot open
/usr/share/sendmail-cf/m4/cf.m4: No such file or directory<br>
<br>
I also tried looking at the submit.cf file which has a smart host entry
that I can put in it<br>
<br>
# "Smart" relay host (may be null)<br>
DSsmtp.foo.bar<br>
<br>
But I don't see where I can specify a specific port number to send mail
on since the external server requires that I send mail on port 587.<br>
<br>
Questions1:<br>
How can I generate the sendmail.cf file so that I can have the settings
I want or is it ok to just edit the submit.cf file?<br>
<br>
If it is ok to just edit the submit.cf file, how can make sure that I
can send mail on a specifc port to an external server that requires
authentication.<br>
<br>
<br>
</font>
</body>
</html>