Greg Morgan wrote: <snip> > The first problem I am having is on my DCD102 system. I put ipmail in > /usr/bin/ipmail. <snip>
I wimped out. I put ipmail in /etc because I could not figure out where the tar conflict was at. This allowed me to perform some testing. That led to another series of exploring and growing events but well worth it. I found out that the POSIXness.mail user variable is null when mail is sent from an init process, or in my case another process like /usr/bin/dhclient eth0. KP Kirchdoerfer had already posted a fix in his dcd 1.0.2.1 ISO. http://leaf.sourceforge.net/article.php?sid=30 I know my understanding of mail systems is limited. But I am wondering if an inituser variable should be created in POSIXness.conf file. This would allow a user to configure who mail is coming from. However, even if I change the POSIXness.mail line from ... { echo "RSET" echo "HELO $fqdn" echo "MAIL FROM:<$user@$fqdn>" ... to ... { echo "RSET" echo "HELO $fqdn" echo "MAIL FROM:<[EMAIL PROTECTED]>" ... I still received email from [EMAIL PROTECTED] and not my desired [EMAIL PROTECTED] I suppose I am being to understand the wingate problem. If you have an open SMTP server for your ISP customers to use. If one of your customers has a machine that can be exploited, then a spammer can logon with the wingate computer and fill the Internet with trash email. The POSIXness.mail diff is below. Any thoughts would be appreciated. Greg Morgan Perhaps all my other diffs where backwards? [root@baloo orig]# diff -bu POSIXness.mail POSIXness.mail.new --- POSIXness.mail Mon May 27 23:36:16 2002 +++ POSIXness.mail.new Mon May 27 23:36:16 2002 @@ -183,6 +183,8 @@ fqdn=${MAIL_DOMAIN:-`hostname -f`} user=${USER:-$LOGNAME} + #if mail is started from init set user to root + user=${user:-root} smtpserv=${MAIL_SERVER:-mail} while getopts va:b:c:d:h:s: opt ; do [root@baloo orig]# _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
