Berkeley CSUA MOTD:Entry 41192
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2018/10/21 [General] UID:1000 Activity:popular
10/21   

2006/1/1-4 [Computer/SW/Mail, Computer/SW/SpamAssassin] UID:41192 Activity:nil
1/1     Anyone ever have problems with procmail inserting a '>' in front of
        the 'From' field when it forwards email?  I haven't been able to
        figure out how to prevent this, not find any web info talking about
        it.  The insertion screws up mail-reading at the forwarded end
        (thunderbird does not separate out the subject and other fields any
        more).  Thanks!
        \_ It's probably sendmail, not procmail doing that.  And the problem
           is probably that you're attaching the original headers in the
           message body, instead of in the message header, or another From
           header is being added, so sendmail is escaping the From.
           \_ Yeah, looking at an email as received at csua and at the
              remote forward destination, it looks like in the process of
              procmail forwarding it wraps a new set of headers on top of
              the email.  I thought that it used to work fine without
              changing things like this, though?  Haven't been able to
              find any documentation that shines any light on modifying the
              behavior to forward the mail with original headers, though -op
2018/10/21 [General] UID:1000 Activity:popular
10/21   

You may also be interested in these entries...
2010/4/7-8 [Computer/SW/Mail] UID:53776 Activity:nil
4/7     postfix equivalent of 'sendmail -bt' ?
	...
2008/7/15-16 [Computer/Domains] UID:50572 Activity:nil
7/14    Help sendmail experts. I forward email from my own domain to
        http://gmail.com. I have never had any problem until recently. The problem
        happens only when eBay sends an email to my domain (as
        member@ebay.com). I receive the mail on my domain/my machine, and
        when it tries to forward to gmail, I get the following:
         Diagnostic-Code: X-Postfix; host <DEAD>gmail-smtp-in.l.google.com<DEAD>[w.x.y.z]
	...
2006/12/29-30 [Computer/SW/Security, Academia/Berkeley/CSUA/Motd] UID:45510 Activity:high
12/29   There have been a lot of complaints regarding soda reliability and
        users not volunteering their time and effort to help. Obviously,
        it wouldn't make sense for every user to be given root access so
        they can volunteer. Instead, why don't we use motd for people to
        contribute concrete suggestions (not just to start flame wars) to
        improve soda reliability and security? I'll start:
	...
2006/9/9-11 [Computer/SW/Mail, Computer/SW/Unix] UID:44331 Activity:nil
9/9     After rotating my /var/log/mail.* files and restarting postfix,
        I no longer have any mail log files in /var/log/mail.*! Is there
        something else I have to do for postfix? I never had this problem
        when I was using sendmail. Please help!         -learning unix
        \_ man -k syslog
	...
2006/8/6-10 [Computer/SW/Mail] UID:43922 Activity:nil
8/5     I just want to take this fine opportunity and say, FUCK sendmail.
        It is difficult to configure and its debugging facility totally
        blows. I can't believe how braindead sendmail config is, not to
        mention its sucky security. Fuck sendmail, use postfix instead.
        I got postfix running in a jiffy and I didn't even have to go
        through 800 pages of sendmail manpage. Fuck sendmail and
	...
2006/8/4-6 [Computer/SW/Mail] UID:43896 Activity:nil
8/3     I'm trying to add virtual forwarding, by adding a file called
        /etc/mail/virtusertable that forwards from user "test@mydomain.com"
        to "joeblow". I also added the line "FEATURE(`virtusertable')dnl"
        in sendmail.mc. Lastly, I did a make, then restarted sendmail. However
        it is not working. How do I diagnose the problem?
        \_ I have a similar setup.  From my config I also have a
	...
2006/8/4-6 [Computer/SW/Mail] UID:43903 Activity:low
8/4     In sendmail on Linux, how do I write a rule which will quietly discard
        e-mail sent to nonexistent users? Default behavior is to bounce
        the mail back, but in the case of SPAM the From: address doesn't
        exist. I'd rather just toss such mail.
        \_ This may bring other problems with it, but you may wish to
           consider greylisting.  It simply replies to each mail with a 405
	...
2006/8/4-6 [Computer/SW/Mail] UID:43914 Activity:nil
8/4     are exim-virtuser-person and sendmail-virtuser-person the same?
	...
2006/8/4-6 [Computer/SW/Mail] UID:43915 Activity:nil
8/4     Dear sendmail virtusertable gurus, please help.
        Let's say my domain name is <DEAD>csua1.com<DEAD> and I'd like it to handle mail
        for <DEAD>csua2.com<DEAD> as well. The virtusertable (which I ran "makemap hash"
        on to generate virtusertable.db) contains the followings:
        a@csua1.com joe
        b@csua2.com joe
	...
2006/8/5-6 [Computer/Domains] UID:43917 Activity:nil
8/5     I'm trying to setup procmail so that when I send email out, I can set my
        domain to be any of the 3 I own. However, sendmail keeps masquerading my
        domain to be a certain domain, even though I didn't specify masquerading
        in sendmail.mc/cf. What is going on?
        \_ Try Hotmail.  -proud American
	...
2006/7/22-24 [Computer/SW/Mail] UID:43762 Activity:nil
7/22    Is there a way to send out a mass mail (using pine or gmail) such
        that each recipient receives the email with their own address in
        the "To:" field, but that doesn't show any of the other
        receipients?  Of course, I could use Bcc, but then each
        receipient's email address doesn't show up in the header they
        receive, and the mail might then be filtered as spam, since it's
	...
2009/8/18-9/1 [Computer/SW/Database, Computer/SW/Languages/Perl] UID:53283 Activity:low
8/18    trying to write an intentionally slow regex.
        what is your worst regex ever?
        this is using MySQL regexp but I'll also accept
        perl format         --brain
        \_ you need to know how regex is implemented internally in order to
           have a worst regex in terms of running time. Something that uses
	...
2009/5/8-14 [Computer/SW/SpamAssassin] UID:52971 Activity:nil
5/7     Dear csua, looks like /usr/bin/spamc and /usr/bin/formail don't exist
        on the emailer. I'm getting a bunch of binaries not found error
        on my .procmail-log.
    \_ Complaining via motd is not a reliable way to be heard and get your
       stuff fixed. Try emailing us. --t
	...
2009/1/26-2/1 [Computer/SW/SpamAssassin] UID:52462 Activity:nil
1/26    Can somebody show me a procmail rule which drops email from
        users {foo, bar, baz}@{host1,host2,host3}.berkeley.edu.
        I dont want to have to create a rule set like this for
        each combination:
        :0:
        * ^From: cfengine@host.berkeley.edu
	...
2008/4/19-23 [Computer/SW/SpamAssassin] UID:49782 Activity:nil
4/17    How do I get procmail to delete emails with things like
        ^Viiiaaaagggrrra in the message body.  ^V then i+ then a+ ...
        \- a better rule would be to check for the language type, and
           if it's undeterminable or has too many misspellings then
           it's most likely spam email. ps i'm gay ok thx.
        \_ Thatd be some pretty impressive regex magic, to get all imaginable
	...
2008/3/10-13 [Computer/SW/SpamAssassin] UID:49412 Activity:nil
3/10    Is there a reliable way to control spam on soda?
        Can someone write an "any undergrad can do it" level FAQ?  Thanks.
        \_ echo "/dev/null" > ~/.forward
        \_ I use Thunderbird to check my soda mail.
        \_ Forward to gmail.  Let google's spam filter work for you.
        \_ I use spamassassin. I just checked and it caught all but one of
	...
2007/8/11-15 [Computer/SW/SpamAssassin] UID:47587 Activity:nil
8/11    Is spamassassin working?  Anybody using procmail with spamassassin?
        >spamc -R < /usr/share/doc/spamc/sample-spam.txt
        returns 0/0
        \_ It hasn't worked for me for about a month.
	...
2007/4/2-3 [Politics/Domestic/RepublicanMedia, Computer/SW/SpamAssassin] UID:46179 Activity:low
4/2     http://www.humanevents.com/offers/offer.php?id=ANN104
        Sign up to get Ann Coulter's Weekly Column FREE!
        (great if you need to spam someone you hate)
        \_ Why don't you just forward your regular dose of spam to them via
           procmail or something?
	...
2007/3/16-20 [Computer/SW/SpamAssassin] UID:45997 Activity:nil
3/16    Is there a way to configure spamassassin to delete junk messages from
        my /var/mail/{login} spool before I run my mail client program?  Thx.
        \_ procmail
	...
2007/2/7-11 [Computer/SW/Mail] UID:45682 Activity:high
2/7     Has anyone got Pine to work in the new CSUA environment?  I
        didn't see anything in the FAQ that described this.  When I open
        up Pine I get:
        [Can't open /var/mail/theeric: not a selectable folder]
        When I try to do anything (i.e move up or down with arrow, hit I
        for mail), I get another error:
	...
2007/1/31-2/3 [Computer/SW/SpamAssassin] UID:45630 Activity:kinda low
1/31    Can you give us any pointer for setting up spamassassin on csua under
        the new mail system?  TIA.
        \_ What I did is create a .procmailrc file in your homedir with the following
           content:
        \_ What I did is create a .procmailrc file in your homedir with the
           following content:
	...
2007/1/28-2/1 [Computer/SW/Security, Computer/SW/Unix] UID:45607 Activity:moderate
1/28    Where does inbound mail get spooled now? I had no problem moving
        my old spool to /var/mail/$USER, but where is the new mail
        spooling? (Yes, I read soda-changes.) Nothing is ending up in
        /var/mail/$USER/new. Should it be?
        \_ Do you have .procmailrc setup?  If so, I needed to add
           an additional rule at the end (after setting up the
	...