<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sendmail / temp files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917360#M808792</link>
    <description>Thanks folks, been scratching my head about this one for a long time, it's nice to have it narrowed down to the pop3 daemon, after thinking it was sendmail, all this time.  Looks like more disk space in /home is what I'll try first.&lt;BR /&gt;</description>
    <pubDate>Tue, 04 Oct 2005 09:44:03 GMT</pubDate>
    <dc:creator>Fred Martin_1</dc:creator>
    <dc:date>2005-10-04T09:44:03Z</dc:date>
    <item>
      <title>sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917344#M808776</link>
      <description>While it is delivering mail to a user, sendmail creates a temporary file in the user's home directory.  It's named after the user and the process ID of (apparently) the instance of sendmail making the delivery:&lt;BR /&gt;&lt;BR /&gt; /home/fred/fred.3254&lt;BR /&gt;&lt;BR /&gt;The file normally is present only for a few seconds, if that.&lt;BR /&gt;&lt;BR /&gt;On occasion, my /home file directory slams up to 100%, and I find that most users have many of these files left behind, causing the file system to fill.  Most of the temp files left behind are essentially copies of the entire mail file for the user.&lt;BR /&gt;&lt;BR /&gt;I've discovered over time, it is caused by a single user's email - someone taking delivery of a malformed or very large email.  Recently I had this happen whne a user was taking delivery of a 2mb file every 5 or 10 minutes.&lt;BR /&gt;&lt;BR /&gt;Not sure of the specifics of that, but it seems that sendmail is trying over and over to deliver something, each time creating a new temp file, then when the disk is too full, all users that take deliver of any email get the same problem.&lt;BR /&gt;&lt;BR /&gt;Does anyone know any more about this specific problem?  Anything I can do (I already have a filesize limit).&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Aug 2005 08:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917344#M808776</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2005-08-10T08:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917345#M808777</link>
      <description>The easy answer is to increase the size of the /home filesystem.&lt;BR /&gt;&lt;BR /&gt;You can redirect a certain users home elsewhere as well and this will solve the short term problem.&lt;BR /&gt;&lt;BR /&gt;Messing around with where the mail system stores files will make it hard for others to udnerstand your system and let you take vacations and such.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 10 Aug 2005 08:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917345#M808777</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-08-10T08:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917346#M808778</link>
      <description>An update to this.  It doesn't seem to be related to disk space for /var/mail.  It seems to be related to the size of an individual's inbox.&lt;BR /&gt;&lt;BR /&gt;Whenever the problem occurs there is always one inbox file that is over 2GB.  Move it temporarily to another file system and the problem goes away.&lt;BR /&gt;&lt;BR /&gt;So my original assessment is a little off.&lt;BR /&gt;&lt;BR /&gt;It's not really an indivual email that causes this.  Although, a very large incoming email is what usually puts the user's inbox over the top.&lt;BR /&gt;&lt;BR /&gt;It then goes into what I'll call a 'crisis' mode, repeatedly copying the user's inbox to his home directory as I've already described.&lt;BR /&gt;&lt;BR /&gt;Then it stars doing the same to other user's inboxes even if they're not large.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2005 15:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917346#M808778</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2005-09-28T15:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917347#M808779</link>
      <description>You can use the the attached script to trim /var/mail/username , mail boxes .&lt;BR /&gt;&lt;BR /&gt;This script will trim the mailbox leaving the messages in the current month .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thx,&lt;BR /&gt;bl</description>
      <pubDate>Fri, 30 Sep 2005 09:17:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917347#M808779</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2005-09-30T09:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917348#M808780</link>
      <description>I have seen an authentication system with home directories that gets around this.&lt;BR /&gt;&lt;BR /&gt;There is no /home filesystem, just a /home folder.&lt;BR /&gt;&lt;BR /&gt;In that folder are soft links to NAS/SAN storage that has much more disk available than any local machine.&lt;BR /&gt;&lt;BR /&gt;Assuming there is storage available on your network, this can allow large temporary files to be transmitted. As to why the mail system needs really huge files, I don't know, most systems do have attachment limits and anti-spam message queue limits.&lt;BR /&gt;&lt;BR /&gt;Large files as you originally report should not come from the mail system.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 30 Sep 2005 09:28:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917348#M808780</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-09-30T09:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917349#M808781</link>
      <description>I don't think the temp file in the home directory is normal. &lt;BR /&gt;&lt;BR /&gt;The temp file should be a local delivery agent thing, not a sendmail thing.  &lt;BR /&gt;&lt;BR /&gt;Your local delivery agent is probably rmail (search for rmail in sendmail.cf). &lt;BR /&gt;&lt;BR /&gt;[From man rmail] see if you can figure out what TMPDIR is when rmail attempts to deliver the mail locally.  &lt;BR /&gt;&lt;BR /&gt;==&amp;gt;When set, the TMPDIR environment variable ==&amp;gt;specifies a directory to be&lt;BR /&gt;==&amp;gt;used for temporary files, overriding the ==&amp;gt;default directory /tmp.&lt;BR /&gt;&lt;BR /&gt;By default it's supposed to be /tmp. &lt;BR /&gt;&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;/tmp/ma*                 Temporary file&lt;BR /&gt;&amp;lt;\SNIP&amp;gt;&lt;BR /&gt;&lt;BR /&gt;If the environment variable is getting set to something else (e.g. a user's home directory), you might see unintended side effects.&lt;BR /&gt;&lt;BR /&gt;&lt;/SNIP&gt;</description>
      <pubDate>Mon, 03 Oct 2005 10:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917349#M808781</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2005-10-03T10:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917350#M808782</link>
      <description>Well that is interesting.  Currently Mlocal is in fact /usr/bin/rmail.&lt;BR /&gt;&lt;BR /&gt;Man on rmail does mention TMPDIR but it's not defined in our environments.&lt;BR /&gt;&lt;BR /&gt;Perhaps if undefined it defaults to /home/user, I'll have to read some more.&lt;BR /&gt;&lt;BR /&gt;The idea that this is a local delivery thing instead of a sendmail issue, is something I hadn't considered.  Thanks for that.&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 11:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917350#M808782</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2005-10-03T11:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917351#M808783</link>
      <description>I agree with Chris - something is up with your configuration - I never get temp files in the home dirs...&lt;BR /&gt;&lt;BR /&gt;How is mail delivered?  does it go to a central server (like exchange)?  Or do you just deliver locally?&lt;BR /&gt;&lt;BR /&gt;Look at the DS macro in your /etc/mail/sendmail.cf file...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 03 Oct 2005 11:13:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917351#M808783</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-10-03T11:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917352#M808784</link>
      <description>sendmail is running on our unix box, and everyone getting mail has a unix account.  Most people POP in to get mail, from a PC.  Some use Pine from Unix.  So everything is delivered locally.&lt;BR /&gt;&lt;BR /&gt;We do have an anti-spam gateway (SpamLion) between the unix box and the internet.  So, DS is defined as:&lt;BR /&gt;&lt;BR /&gt;DSspamlion&lt;BR /&gt;&lt;BR /&gt;However, this issue pre-dates the installation of the SpamLion gateway.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 12:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917352#M808784</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2005-10-03T12:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917353#M808785</link>
      <description>As far as rmail goes - that is the default in HP-UX - to use it that is.&lt;BR /&gt;&lt;BR /&gt;All my servers have Mlocal as:&lt;BR /&gt;&lt;BR /&gt;Mlocal,         P=/usr/bin/rmail, F=lsDFMAw5:/|@qm9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And I never see tmp files in the user home dirs...(that would be terrible if your root account is at the default home dir of / as you could fill up your root file system!).&lt;BR /&gt;&lt;BR /&gt;Looking at the man rmail, I see nothing to indicate temp files in $HOME&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 03 Oct 2005 12:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917353#M808785</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-10-03T12:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917354#M808786</link>
      <description>At any given moment on our system, I can issue the following:&lt;BR /&gt;&lt;BR /&gt;# find /home -name [a-z][a-z][a-z].[0-9]*&lt;BR /&gt;/home/frp/frp.11382                      &lt;BR /&gt;/home/fas/fas.3996                       &lt;BR /&gt;/home/fgc/fgc.29648                      &lt;BR /&gt;&lt;BR /&gt;These are all mail files that have been dropped into homes, as I described above.&lt;BR /&gt;&lt;BR /&gt;I just made a huge discovery.  The files are created when the users POP in to get mail, NOT when the mail is being delivered to their inbox.&lt;BR /&gt;&lt;BR /&gt;I dropped several large emails into my own inbox, then when I clicked on my mail client's send-receive button 30 seconds later, the temp file appeared briefly.&lt;BR /&gt;&lt;BR /&gt;Apparently, when an inbox is too large, or perhaps mailformed, I have issues.&lt;BR /&gt;&lt;BR /&gt;Well, this happens with users on Outlook, Eudora and Thunderbird, so it's not the client at fault.&lt;BR /&gt;&lt;BR /&gt;As mentioned, perhaps my /home area is too small and it's as simple as that.&lt;BR /&gt;&lt;BR /&gt;I don't know anything about the processes involved when POP is is session.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 13:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917354#M808786</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2005-10-03T13:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917355#M808787</link>
      <description>...although I'm learning :)&lt;BR /&gt;&lt;BR /&gt;We're using FacetWin POP3, so the process fct_pop3d appears briefly when I pop in for mail from my PC.&lt;BR /&gt;&lt;BR /&gt;I think I need to look at the FacetWin POP3 environment.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 13:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917355#M808787</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2005-10-03T13:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917356#M808788</link>
      <description>Alas, docs are sparse.  No mention of any temp files or temp directories, or anything configurable.&lt;BR /&gt;&lt;BR /&gt;Only that FacetWin's POP3 is in compliance with RFC1460, Post Office Protocol - Version 3, June 1993.&lt;BR /&gt;&lt;BR /&gt;I have a question, I started used FacetWin because in the old days HP-UX 9 &amp;amp; 10 didn't have a POP3d.&lt;BR /&gt;&lt;BR /&gt;I'm running HP-UX 11.11, does it now?&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 13:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917356#M808788</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2005-10-03T13:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917357#M808789</link>
      <description>I bet those temp files have something to do with your POP daemon.  Look in the POP docs and your configuration to see where POP wants to write temp files (and mail spool files). &lt;BR /&gt;&lt;BR /&gt;With most modern POP daemons, you've got good ability to control what goes where.&lt;BR /&gt;&lt;BR /&gt;We usually set up a hierarchy outside of /var/mail or /home for POP, so that if things break, it's just POP breaking (e.g. /var/spool/pop).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 13:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917357#M808789</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2005-10-03T13:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917358#M808790</link>
      <description>Yeah that's the right track, I figure.  I've been looking, it doesn't appear that the FacteWin POP3d (our version circa 1999) is configurable enough that I can tell it to put temp files anywhere else.&lt;BR /&gt;&lt;BR /&gt;If not, I'll have to increase /home to be quite large.&lt;BR /&gt;&lt;BR /&gt;Or switch to another POP3d.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Oct 2005 13:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917358#M808790</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2005-10-03T13:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917359#M808791</link>
      <description>We've generally used qpopper from Qualcomm:&lt;BR /&gt;&lt;A href="http://eudora.com/products/unsupported/qpopper/documentation.html" target="_blank"&gt;http://eudora.com/products/unsupported/qpopper/documentation.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You've got to compile it.  I bet there's a built version at the porting archive.</description>
      <pubDate>Mon, 03 Oct 2005 14:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917359#M808791</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2005-10-03T14:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail / temp files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917360#M808792</link>
      <description>Thanks folks, been scratching my head about this one for a long time, it's nice to have it narrowed down to the pop3 daemon, after thinking it was sendmail, all this time.  Looks like more disk space in /home is what I'll try first.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Oct 2005 09:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-temp-files/m-p/4917360#M808792</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2005-10-04T09:44:03Z</dc:date>
    </item>
  </channel>
</rss>

