Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 1997 11:18:15 GMT
From:      xiyuan qian <xiyuan@npc.haplink.com.cn>
To:        freebsd-isp@freebsd.org
Subject:   Which one?
Message-ID:  <199710301118.LAA06302@npc.haplink.com.cn>

next in thread | raw e-mail | index | archive | help

Hi, I am working with developing a simple email gate program. That is dial out
to the ISP to get the email message then distribute the message to the right 
user based on the To: line. I think I can carry it out by two methods:

1. When I get the To: line and the email message, send the message to the user
  by the internal mail function;
2. Direct operate the /var/mail/user file, append the message to this file;

Which one is the favourite one? Is there any problem when the dial line 
disconnect suddenly? 

Best regaurds!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710301118.LAA06302>