Berkeley CSUA MOTD:Entry 42739
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2006/4/15-21 [Computer/SW/Unix] UID:42739 Activity:low
4/15    Another idea.  I don't know if it's practical.  But is it possible
        for each user to provide a yahoo or other address that mail can
        be forwarded to during extended downtimes like this?
        \_ Certainly, you can add a .forward file.  Now if you want something
           that well work during downtime... thats not the answer.  We are
           seriosly considering moving mail to another box so when soda
           gets rooted we can spend less time unable to deliver mail.
        \_ I think that's best left up to the users.  I got no mail thru the
           downtime, but i Expected that, and did not care.
           \_ So, as a user, what can I do, if anything, to set my
              incoming mail to forward to another address _when soda is
              down_?
              \_ As a user, absolutely nothing.  The CSUA doesn't have users,
                 it has members.  As a member, you could write some code that
                 \_ as a user of the systems, geez, as in, versus a root
                    staffer who can do things with their mail.
                    \_ Yes, as a member, you can write code which you can hand
                       to root and say, check out this neat program I wrote
                       that lets our members do this cool thing they couldn't
                       do before. -dans
                 makes what you are requesting possible.  Alternatively, you
                 could offer the current undergrads assistance with migrating
                 mail to a host other than soda, though after the amount of
                 time they just spent on soda, I don't think they're too keen
                 on taking on another big project right now. -dans
                 \_ how would this be a big project?  The same way sendmail
                    is setup now, set it up on box B.  change MX records.
                    NFS mount mail from box B.  Setup imap/pop on box B
                    instead of on soda.
                    \_ The fact that your solution involves NFS mounting mail
                       with the existing sendmail setup shows that you have no
                       idea what you're doing.  That, or, in the two years
                       since I last looked at this problem, file locking over
                       NFS has changed so that it works, and sendmail uses
                       this shiny new magic (i.e. working) NFS file locking.
                       -dans
                       \_ Does this mean sims, eecs, ocf, etc, plus all
                          the other places that export their mailspools,
                          all of them have "no idea what [they're] doing" ?
                          \_ dans and tom: a case of convergent evolution
                       \_ If the following reasoning is flawed, please point
                          out the error, and I will admit that my previous
                          statement was wrong.  Of course, all of the
                          reasoning below goes out the window if NFS now
                          features a working locking mechanism, a
                          qualification I made above:
                          1. Multiple processes cannot safely write to a
                             classical unix mbox file without a functional
                             locking mechanism.
                          2. Modern MTAs, a set I begrudingly include sendmail
                             in, use multiple processes or threads to speed
                             mail delivery.  As a consequence of this, modern
                             MTAs cannot safely deliver mail to an mbox file
                             hosted on a remote NFS server.
                          3. When a mail client, e.g. pine or mutt, works
                             directly with an mbox file (vs. through a POP or
                             IMAP server), it will need to write changes to
                             the file.  If the file is hosted on a remote NFS
                             server, these writes cannot be performed safely.
                          Ergo: Working with mail stored in unix mbox file
                          format via a remote NFS server carries the risk of
                          corrupting mailboxes and losing mail.
                          -dans
                          \_ Sendmail doesn't have to use mbox.  However,
                             this is the same concern a number of us raised
                             when soda went to nfs mounted homedirs.  It
                             was summarily ignored.
                             \_ procmail is nfs-safe -- or claims to be
                                anyways.
                             \_ That's nice.  It's also an additional detail
                                that adds to the work required to move from
                                the existing mail setup to your shiny
                                hypothetical new mail setup.  Are you
                                volunteering your time and services? -dans
              \_ possible, but not currently, some sendmail hackery would
                 do this quite nicely.
           \_ Does anyone know if mail is being queued during downtime?
              \_ mail is queued for 5 days or until scotch's disks fill.
                 \_ #f.  Normally mail is queued for 5 days (this is a
                    sendmail default) or until scotch's disks fill, but the
                    max queue time was increased to prevent mail loss. -dans
        \_ How about next time soda is taken offline for a significant amount
           of time that everyone gets suitable warning first?
           \_ While we're at it, why don't we put a message on the website
              asking hackers to kindly inform us one week in advance before
              breaking into soda? -dans
              \_ What does that have to do with anything?  If soda was already
                 compromised for who-knows-how-long, what's an extra day?  And
                 ssh access could have been stopped while giving people some
                 time to download their email locally.
                 \_ As soon as the extent of the compromise was realized we
                    immediately brought the machine down.  I apologize, but I
                    imagine that when we get hacked the next time we will have
                    to bring the machine down quickly again.
                 \_ You're not familiar with UCB campus network policies, are
                    you.  The root staff did what campus policies required and
                    what any responsibly system administrator would do.  There
                    are more important aspects to running soda than providing
                    you with continuous, uninterrupted access to your mail.
                    Now that you know this, perhaps you will set up your
                    .forward to save a copy locally and automatically forward
                    a copy to a secondary mail address.  Come on, knowing is
                    half the battle! -dans
ERROR, url_link recursive (eces.Colorado.EDU/secure/mindterm2) 2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2012/8/29-11/7 [Computer/SW/Security] UID:54467 Activity:nil
8/29    There was once a CSUA web page which runs an SSH client for logging
        on to soda.  Does that page still exist?  Can someone remind me of the
        URL please?  Thx.
        \_ what do you mean? instruction on how to ssh into soda?
           \_ No I think he means the ssh applet, which, iirc, was an applet
              that implemented an ssh v1 client.  I think this page went away
	...
2012/9/20-11/7 [Computer/SW/Unix, Finance/Investment] UID:54482 Activity:nil
9/20    How do I change my shell? chsh says "Cannot change ID to root."
        \_ /usr/bin/chsh does not have the SUID permission set. Without
           being set, it does not successfully change a user's shell.
           Typical newbie sys admin (on soda)
           \_ Actually, it does: -rwsr-xr-x 1 root root 37552 Feb 15  2011 /usr/bin/chsh
	...
2012/3/29-6/4 [Computer/HW/Memory, Computer/HW/CPU, Computer/HW/Drives] UID:54351 Activity:nil
3/29    A friend wants a PC (no mac). She doesn't want Dell. Is there a
        good place that can custom build for you (SSD, large RAM, cheap video
        card--no game)?
        \_ As a side note: back in my Cal days more than two decades ago when
           having a 387SX made me the only person with floating-point hardware,
           most machines were custom built.
	...
2012/5/8-6/4 [Computer/SW/Unix] UID:54383 Activity:nil
5/8     Hello everyone!  This is Josh Hawn, CSUA Tech VP for Spring 2012.
        About 2 weeks ago, someone brought to my attention that our script
        to periodically merge /etc/motd.public into /etc/motd wasn't
        running.  When I looked into it, the cron daemon was running, but
        there hadn't been any root activity in the log since April 7th.  I
        looked into it for a while, but got lost in other things I was
	...
2012/1/27-3/26 [Computer/SW/Unix] UID:54299 Activity:nil
1/27    Interesting list of useful unix tools. Shout out to
        cowsay even!
        http://www.stumbleupon.com/su/3428AB/kkovacs.eu/cool-but-obscure-unix-tools
        \_ This is nice.  Thanks.
	...
2012/2/9-3/26 [Computer/SW/Security, Computer/SW/Unix] UID:54305 Activity:nil
2/9     Reminder: support for mail services has been deprecated for *several
        years*. Mail forwarding, specifically .forward mail forwarding, is
        officially supported and was never deprecated.
        \_ There is no .forward under ~root.  How do we mail root and how do
           we get responses?
           \_ root@csua.berkeley.edu is and always has been an alias.
	...
2011/9/14-12/28 [Computer/SW/Unix] UID:54172 Activity:nil
9/12    We've restored CSUA NFS to something vaguely resembling normal
        functionality -- plus, with some luck, we should now have something
        vaguely resembling normal uptime, too!  Ping root@csua.org if you
        notice any problems.  --jordan
--------------------------------------------------------------------------------
        \_  Oh, and http://irc.CSUA.Berkeley.EDU is online again.
	...
2011/10/26-12/6 [Computer/SW/Unix] UID:54202 Activity:nil
10/24  What's an easy way to see if say column 3 of a file matches a list of
       expressions in a file? Basically I want to combine "grep -f <file>"
       to store the patterns and awk's $3 ~ /(AAA|BBB|CCC)/ ... I realize
       I can do this with "egrep -f " and use regexp instead of strings, but
       was wondering if there was some magic way to do this.
       \_ UNIX has no magic. Make a shell script to produce the ask or egrep
	...
2011/6/5-8/27 [Computer/HW/Memory] UID:54127 Activity:nil
6/5     In an effort to stabilize our services, we'll be rebuilding parts of
        the CSUA infrastructure over the course of this summer.  To give us
        some wiggle room, I've temporarily decreased soda's allocated RAM from
        8GB to 2GB.  If you need to run something that requires large amounts
        of memory, please send mail to root@csua.org and we'll try to
        accommodate your request.  --jordan
	...
2011/4/27-7/30 [Computer/SW/Security, Computer/SW/Unix] UID:54096 Activity:nil
4/28    Will wall be fixed?   - jsl
        \_ What's wall?
           \_ An anachronism from a bygone era, when computers were hard to
              comeby, the dorms didn't have net, there was no airbears, and
              when phones didn't come standard with twitter or sms.
           \_ A non useful implementation of twitter.
	...