Re: Spam problem

2001-10-26 Thread Rob 'Feztaa' Park

On Sat, Oct 27, 2001 at 11:15:08AM +0530, Suresh Ramasubramanian (dis)graced my inbox 
with:
> > Now that's something I don't know much about. I am running a mail server
> > on my machine, but I don't actually use it for receiving mail - I use
> > fetchmail to get my mail from my ISP-given email address. As far as I
> 
> Try this - http://www.linuxgazette.com/issue66/suresh.html - it might help.

Will do.

> > know, fetchmail just passes it right along to postfix normally, right?
> > Or does it just drop the mail straight into my spool file? If it's the
> > former, I might be able to do that...
> 
> Depends on how you configure fetchmail.  The default is for fetchmail to talk
> to localhost:25 so your postfix (look at the sample pcre file in the postfix
> example configs for help) should bounce things rather nicely.

Well, when I ran fetchmailconf, I did a novice config. So I just
configured what users one what servers are me, the rest is default
settings. I guess that means fetchmail sends mail to postfix
automatically. I think I can prove that by showing you the fetchmail and
postfix Received: headers on my incoming mail :P

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"What's the three words you never want to hear while making love? 'Honey, I'm home.'"
-- Ken Hammond

 PGP signature


Re: Spam problem

2001-10-26 Thread Suresh Ramasubramanian

Rob 'Feztaa' Park  [26/10/01 21:58 -0600]:
> On Fri, Oct 26, 2001 at 05:49:03PM -0700, Will Yardley (dis)graced my inbox
> > if you have control over your mail server you might be able to setup
> > something to reject the mail before it even enters your server.
> 
> Now that's something I don't know much about. I am running a mail server
> on my machine, but I don't actually use it for receiving mail - I use
> fetchmail to get my mail from my ISP-given email address. As far as I

Try this - http://www.linuxgazette.com/issue66/suresh.html - it might help.

> know, fetchmail just passes it right along to postfix normally, right?
> Or does it just drop the mail straight into my spool file? If it's the
> former, I might be able to do that...

Depends on how you configure fetchmail.  The default is for fetchmail to talk
to localhost:25 so your postfix (look at the sample pcre file in the postfix
example configs for help) should bounce things rather nicely.

-srs

 PGP signature


Re: Spam problem

2001-10-26 Thread Will Yardley

Rob 'Feztaa' Park wrote:
> On Fri, Oct 26, 2001 at 05:49:03PM -0700, Will Yardley (dis)graced my inbox with:

> Well, I check my spam folder whenever there's something new in it
> (which kinda defeats the purpose of filtering the spam, because I
> still see it). That rule I mentioned does kill 100% of the spam from
> that particular spammer, and hasn't caught any legit mail at all
> (yet...), so I'm thinking of changing the third line to /dev/null :)

yeah i just don't have my spam folder set as a mailbox that receives
mail... but then i check it a couple times a day, or at least every
couple days.  as long as i don't have to get it in my inbox i'm pretty
happy tho.

changing the one line to /dev/null might be ok
 
> Would that work? I thought most spammers added little "send email here
> to unsubscribe" to the bottom of their emails just so they could confirm
> that they are actually spamming a real address... In other words, "email
> me to let me know I'm doing a good job!"

yes but a lot of them have valid return-path or From: headers that they
use purely to tell what addresses are valid.  so if a bounce is
convincing enough, they might unsub you...

> Funny thing about the headers is, as far as I can tell from the
> hostnames, it's coming from _my_ ISP. But they deny it.

that's unlikely.  you might want to run the headers through spamcop.  it
_is_ possible that they're using a direct SMTP connection to your ISP's
mailserver, but the originating IP will still show.  you can forward me
the full headers privately if you want and while it might be a bit
OT, i'm sure someone on this list would know where it's coming from.

headers can be faked to an extent, but they rarely lie.

> That's the thing, though. The message is _very_ well spoofed. It's hard
> to track down. Then again, I'm no expert, so perhaps I should attach a
> copy of the headers for you (perhaps I'll do that privately).

yeah do that. i'm not the best at this but i've done a bit of it.

> > if you have control over your mail server you might be able to setup
> > something to reject the mail before it even enters your server.
> 
> Now that's something I don't know much about. I am running a mail
> server on my machine, but I don't actually use it for receiving mail -
> I use fetchmail to get my mail from my ISP-given email address. As far
> as I know, fetchmail just passes it right along to postfix normally,
> right?  Or does it just drop the mail straight into my spool file? If
> it's the former, I might be able to do that...

yeah if you're using fetchmail i don't think that will help so much
if you actually run a mail server (esp. with postfix) you can do regex
checks on headers so that the message is rejected before it even gets
delivered / filtered by procmail. i think http://postfix.org/uce/ has
some info, and there's an unnoficial set of header check regexs for uce
at http://www.mrbill.net/postfix/

you can also sub to blacklists of varying degrees of usefulness... a lot
of these will cause your machine to reject mail that you want to receive
tho spambouncer can use these blacklists as well, although of course
once the mail is received, the spammer has already wasted more bandwidth
and time than you'd like them to

in any event this is definitely getting a bit OT..

w

-- 
GPG Public Key:
http://infinitejazz.net/will/pgp/



Re: Spam problem

2001-10-26 Thread Rob 'Feztaa' Park

On Fri, Oct 26, 2001 at 05:49:03PM -0700, Will Yardley (dis)graced my inbox with:
> Rob 'Feztaa' Park wrote:
> 
> > Hey guys, I've been having this terrible problem with email spam and I
> > was wondering if you guys have similar problems, and if so, what you do
> > about them.
> > 
> > Anyway, I keep getting advertisements for really disgusting porn. They
> > all seem to come from different addresses (although they're all from
> > hotmail, and they're all obviously spoofed - replies bounce).
> 
> well for your own sanity, i highly recommend a set of procmail filters
> like spambouncer... www.spambouncer.org

Cool, I'll check that out.

> you still need to check your spam folder occasionally, and sometimes
> there will be spam that makes it through or legit / semi legit mail that
> makes it into your spam folder (and it takes a bit of time to get
> configured right) BUT it does keep a very high percentage of spam
> out of your inbox.

Well, I check my spam folder whenever there's something new in it (which
kinda defeats the purpose of filtering the spam, because I still see
it). That rule I mentioned does kill 100% of the spam from that
particular spammer, and hasn't caught any legit mail at all (yet...), so
I'm thinking of changing the third line to /dev/null :)

> you can also set it up to notify people with 'borderline' mail that
> their mail has been held, and allows them to send you mail by using a
> specific password... and it can send fake 'bounces' back to known
> spammers to try to get you off their lists.

Would that work? I thought most spammers added little "send email here
to unsubscribe" to the bottom of their emails just so they could confirm
that they are actually spamming a real address... In other words, "email
me to let me know I'm doing a good job!"

> > I've spoken with my ISP about this, and they basically said "Hey, not
> > our fault, go away."
> > 
> > This is getting really bad. It just keeps coming, and I can't stop it.
> > 
> > Does anybody know how I can get these guys shut down?
> 
> probably not, but you might use spamcop to report it, or read the
> headers and report the spammer to their ISP.  a good amount of spam
> comes from shady isps in other countries, so reporting it isn't always a
> good idea.

Funny thing about the headers is, as far as I can tell from the
hostnames, it's coming from _my_ ISP. But they deny it.

> you should also report them to the netblock owners of their website,
> return email address, DNS providers, etc.

That's the thing, though. The message is _very_ well spoofed. It's hard
to track down. Then again, I'm no expert, so perhaps I should attach a
copy of the headers for you (perhaps I'll do that privately).

> of course some people might suggest doing some research and getting some
> sort of revenge on them, but i wouldn't suggest doing anything like
> that :p

I'm generally opposed to breaking the law when I take action here, but
if push comes to shove...

> if you have control over your mail server you might be able to setup
> something to reject the mail before it even enters your server.

Now that's something I don't know much about. I am running a mail server
on my machine, but I don't actually use it for receiving mail - I use
fetchmail to get my mail from my ISP-given email address. As far as I
know, fetchmail just passes it right along to postfix normally, right?
Or does it just drop the mail straight into my spool file? If it's the
former, I might be able to do that...

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"Ever notice something? Unix comes with compilers. NT comes with solitaire."
-- Adep



Re: Spam problem

2001-10-26 Thread Will Yardley

Rob 'Feztaa' Park wrote:

> Hey guys, I've been having this terrible problem with email spam and I
> was wondering if you guys have similar problems, and if so, what you do
> about them.
> 
> Anyway, I keep getting advertisements for really disgusting porn. They
> all seem to come from different addresses (although they're all from
> hotmail, and they're all obviously spoofed - replies bounce).

well for your own sanity, i highly recommend a set of procmail filters
like spambouncer... www.spambouncer.org

you still need to check your spam folder occasionally, and sometimes
there will be spam that makes it through or legit / semi legit mail that
makes it into your spam folder (and it takes a bit of time to get
configured right) BUT it does keep a very high percentage of spam
out of your inbox.

you can also set it up to notify people with 'borderline' mail that
their mail has been held, and allows them to send you mail by using a
specific password... and it can send fake 'bounces' back to known
spammers to try to get you off their lists.

> I've spoken with my ISP about this, and they basically said "Hey, not
> our fault, go away."
> 
> This is getting really bad. It just keeps coming, and I can't stop it.
> 
> Does anybody know how I can get these guys shut down?

probably not, but you might use spamcop to report it, or read the
headers and report the spammer to their ISP.  a good amount of spam
comes from shady isps in other countries, so reporting it isn't always a
good idea.

you should also report them to the netblock owners of their website,
return email address, DNS providers, etc.

of course some people might suggest doing some research and getting some
sort of revenge on them, but i wouldn't suggest doing anything like
that :p

if you have control over your mail server you might be able to setup
something to reject the mail before it even enters your server.

w

-- 
GPG Public Key:
http://infinitejazz.net/will/pgp/



Spam problem

2001-10-26 Thread Rob 'Feztaa' Park

Hey guys, I've been having this terrible problem with email spam and I
was wondering if you guys have similar problems, and if so, what you do
about them.

Anyway, I keep getting advertisements for really disgusting porn. They
all seem to come from different addresses (although they're all from
hotmail, and they're all obviously spoofed - replies bounce).

However, I am quite lucky, because they all have one thing in common
that lets me filter them fairly easily:

:0
* ^Message-.*mx.+mail.home.com
$MAILDIR/spam

:D

So far, that procmail filter has filtered every single one, and hasn't
caught anything not-spam (as for the mx.+mail part, the message id
always ends with @mx, then a number or two, a hyphen, then two or three
seemingly random letters, then mail.home.com.

I've spoken with my ISP about this, and they basically said "Hey, not
our fault, go away."

This is getting really bad. It just keeps coming, and I can't stop it.

Does anybody know how I can get these guys shut down?

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"When I was a kid I used to pray every night for a new 
bicycle. Then I realized that the Lord doesn't work that 
way, so I stole one and asked Him to forgive me."
-- Emo Philips



Re: Say what ?

2001-10-26 Thread Michael Elkins

On Fri, Oct 26, 2001 at 06:41:31PM -0400, Daniel Eisenbud wrote:
> I believe it's supposed to be a very small, not very configurable IMAP
> client.

This was sort of a side project that I haven't really done much with.  I
was experimenting with ways of only loading part of the index display to
speed up reading of large mailboxes.  This was motivated by a discussion
I had with Brendan over on #mutt (irc.openprojects.net) about ways to
speed up the process, and adding isync-like functionality to Mutt proper.

I don't really care for IMAP, but I'm forced to use it at work because we
have an Exchange server.  Switching between IMAP mailboxes is a rather
painful experience IMO, which I why I wrote isync so I could continue using
Mutt.

Pup was not intended to be a Mutt-replacement, and I have no itention of
starting over again.  :-)

me

 PGP signature


Re: Say what ?

2001-10-26 Thread Daniel Eisenbud

I believe it's supposed to be a very small, not very configurable IMAP
client.

-Daniel

On Fri, Oct 26, 2001 at 03:35:40PM -0700, Igor Pruchanskiy <[EMAIL PROTECTED]> 
wrote:
> I just saw this conversation on irc
> 
>  kate: The mutt developer is working on pup, Son of Mutt.
>  Jeopardy: oh, I thought you were talking about blackbox. :-)
>  NetSkier: say what? LOL!
>  NetSkier: Michael Elkins, or Thomas Roessler?
>  lol
>  kimihia: It is true;  kate:  Elkins
>  He said he is not working very hard on it, but he has started.
> Hope I am not divulging secrets.
> 
> igor
> 
> -- 
> Uptime : 54 days, 15:50

-- 
Daniel E. Eisenbud
[EMAIL PROTECTED]

"We should go forth on the shortest walk perchance, in the spirit of
undying adventure, never to return,--prepared to send back our embalmed
hearts only as relics to our desolate kingdoms."
--Henry David Thoreau, "Walking"



Say what ?

2001-10-26 Thread Igor Pruchanskiy

I just saw this conversation on irc

 kate: The mutt developer is working on pup, Son of Mutt.
 Jeopardy: oh, I thought you were talking about blackbox. :-)
 NetSkier: say what? LOL!
 NetSkier: Michael Elkins, or Thomas Roessler?
 lol
 kimihia: It is true;  kate:  Elkins
 He said he is not working very hard on it, but he has started.
Hope I am not divulging secrets.

igor

-- 
Uptime : 54 days, 15:50



Re: send-hook and my_hdr

2001-10-26 Thread Lars Becker

On Thu, Oct 25, 2001 at 11:44:12PM -0700, Gary Johnson wrote:

 > folder-hook .   unhook send-hook
 > folder-hook .   'unmy_hdr From:'
 > folder-hook folder1 send-hook .  'my_hdr From: default_for_folder1'
 > folder-hook folder2 send-hook .  'my_hdr From: default_for_folder2'
 > folder-hook .   'send-hook "~t person1" "my_hdr From: for_person1"'
 > 
 > In this example, send-hooks and "my_hdr From:" settings are first
 > cleared when any folder is entered.  Then any folder-specific "my_hdr
 > From:" settings are made as default send-hooks.  Finally, any special
 > send-hooks are set, either for all folders as shown, or as a function of
 > the folder.

Thanks. It's an interesting solution. However i have sticked to
Thomas suggestion since i'm also using "set reverse_name" which
also works if i set the from-header with "set
[EMAIL PROTECTED]". Of course i haven't told you therefore you
couldn't know it.

Greetings
 - Lars.



Re: send-hook and my_hdr

2001-10-26 Thread Lars Becker

On Fri, Oct 26, 2001 at 10:28:20AM +0200, Thomas Roessler wrote:

 >>That won't work in all cases. If i set unmy_hdr in a sent-hook,
 >>all from-headers set by a folder-hook are removed too, and not
 >>only the hooks which were set by send-hooks.
 > I'd set the $from variable from folder-hooks and use my_hdr from 
 > send-hooks to override it from case to case.

Thanks Thomas. This works great!

Greetings
 - Lars.



Re: 2 Q's (my wishlist)

2001-10-26 Thread Daniel Eisenbud

On Fri, Oct 26, 2001 at 04:01:56PM -0400, Daniel Eisenbud <[EMAIL PROTECTED]> 
wrote:
> On Fri, Oct 26, 2001 at 01:02:26PM -0400, Jeremy Hankins <[EMAIL PROTECTED]> wrote:
> > mh, of course, has an rmmproc, which I redefined to move messages to the
> > archive folder rather than deleting them.  If possible, I'd like to do
> > something similar in mutt, so that I can use all the delete stuff (by
> > message, thread, subthread, etc) but instead of simply deleting the
> > message it's moved to =Archive/.
> 
> Maybe make a folder-hook that sets a macro that on quitting,
> synchronizing, or changing folders, tags all the deleted messages and
> saves them to the proper mailbox first.  This should work, but I haven't
> tried it.

Alternately, you can make macros that tag a pattern and then save
tagged, or tag a thread and save tagged, etc, and use them instead of
delete.  This has the disadvantage that it will mess up any tags that
you've set for other things, so maybe it's best to do it at mailbox
closing...

-Daniel

-- 
Daniel E. Eisenbud
[EMAIL PROTECTED]

"We should go forth on the shortest walk perchance, in the spirit of
undying adventure, never to return,--prepared to send back our embalmed
hearts only as relics to our desolate kingdoms."
--Henry David Thoreau, "Walking"



Re: 2 Q's (my wishlist)

2001-10-26 Thread David Champion


Ah, mutt -- making the world smaller again.


On 2001.10.26, in <[EMAIL PROTECTED]>,
"Jeremy Hankins" <[EMAIL PROTECTED]> wrote:
> 
> First of all, I'd like to see the hostname portion of the Message-ID in
> the index (assuming there is one, of course).  I find that quite useful
> on occasion (e.g., mail from root crontabs from a cluster of machines
> all using a smarthost -- the message id is an easy way to tell which

I'd recommend setting the MTA to pass mail from root literally, and
setting each machine's root GECOS in /etc/passwd to "kimbark root",
etc., but anyway


> host the message is from).  Unfortunately, I haven't been able to find a
> way to do this.  I guess I could set up a procmail recipe to put it in
> the subject or something, but that seems rather ugly.

The first thing to come to mind is a procmail recipe to find the
hostname component of the m-id and store it in the X-Label: header.
X-Label is completely meaningless; it's only there for mutt to be able
to display arbitrary header information stored by procmail. :) Use %y
(or %?y?%y?, etc) to show it in the index_format.


> The other problem I have is that I keep a message archive mirroring
> the layout of my folders.  E.g, if there's a =foo & =bar, I also
> want an =Archive/foo & =Archive/bar that reflect the past contents
> of those folders.  Since I use procmail, the obvious solution (which
> I'm currently doing) is to send messages both to the folder itself
> and to the archive folder when sorting incoming mail.  Unfortunately
> that (a) leads to an ugly procmailrc, (b) completely loses state info
> (read/unread/replied, etc) and (c) fails to account for messages that
> are mis-sorted by procmail which I then manualy put into the right
> folder.

I do this, but instead of having two folders, =foo is a symlink to
=Archive/foo-`date +%Y%m` or somesuch. That makes the same folder
information occupy both namespaces, and I remake the symlinks each
month. It also actually *simplifies* the procmailrc, at the cost of
requiring a monthly rotation script.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: LDAP and mutt.

2001-10-26 Thread David Rock

On Fri, Oct 26, 2001 at 04:36:44PM -0400, Peter L. Berghold wrote:
> I checked the FAQ for this one and didn't find it... It probably 
> should be in the FAQ.
> 
> Is there a way of connecting to an LDAP directory from Mutt? If not I 
> might want to teach this dog a new trick... ;-)

You can use "Q" to query an external program for addresses.  I do this
at work with a perl script that calls ldapsearch.

-- 
David Rock
[EMAIL PROTECTED]
_
Swap jobs without having to swap email addresses at www.mail-x-change.com




Re: LDAP and mutt.

2001-10-26 Thread Gary Johnson

On Fri, Oct 26, 2001 at 04:36:44PM -0400, Peter L. Berghold wrote:
> I checked the FAQ for this one and didn't find it... It probably 
> should be in the FAQ.
> 
> Is there a way of connecting to an LDAP directory from Mutt? If not I 
> might want to teach this dog a new trick... ;-)

There is a list of scripts to do just that at 

http://www.fiction.net/blong/programs/mutt/

under "External Address Query Scripts".  I adapted one of them,
mutt_ldap_query2.pl, ("ldapsearch wrapper modified by Warren Jones") to
work with my company's LDAP server.

I found out about this page by following the "Links" link at
www.mutt.org and going to the section, "Mutt User Scripts and Add-Ons".

Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |



LDAP and mutt.

2001-10-26 Thread Peter L. Berghold
 msg.pgp


Re: mutt-users-digest V1 #820

2001-10-26 Thread MuttER

On Fri, Oct 26, 2001 at 03:40:46PM -0400, Matej Cepl wrote:
> On Thu, 25 Oct 2001 23:01:34 -0600, Rob 'Feztaa' Park wrote:
> > > I get this failure/error when posting from mutt 1.3.23i.  I
> > > DO NOT get a failure when I copy the same msg to kmail's outbox
> > > and then send it (exactly the same msg). ?
> > In that case, I don't have a clue. Sorry :(
> 
> In that case, it's easy -- your setup of postfix is broken (I suppose,
> that you are sending your email with kmail directly to SMTP server of
> your provider, aren't you?).
> 
> -- 
---end quoted text---

yeeesss, BUT  I AM able to post to other addresses correctly as I am
now setup.  I ONLY (iirc) have a problem with AOL, which is known to to
rather odd things :^).
-- 
Pat Shanahan   Registered Linux User #207535
Registered at: http://counter.li.org



Re: 2 Q's (my wishlist)

2001-10-26 Thread David Pippenger

On Fri, Oct 26, 2001 at 01:18:32PM -0400, David T-G wrote:
> % 
> % First of all, I'd like to see the hostname portion of the Message-ID in
> ...
> % way to do this.  I guess I could set up a procmail recipe to put it in
> % the subject or something, but that seems rather ugly.
> 
> Yes, it does; I'd think that poking at the From: header would be better.
> In either case, though, I don't know how you'd display in the index from
> the MessageID.

I got this working using Simon Cozens' Mail::Audit perl module:
http://simon-cozens.org/writings/mail-audit.html 
It's a great replacement for procmail.  It's very easy to extract the
hostname from the Message-Id but took a trick to rewrite the From: header.

#!/usr/bin/perl   
require Mail::Audit;
my $mail   = Mail::Audit->new;
my $from   = $mail->from();
my $header = $mail->header();
if ($from =~ /root\@/) {
$header =~ /Message-Id: \<.*\@(.*)\..*\..*\>/;
$mail->put_header("From-orig:", "$from");
$mail->{obj}->head->replace("From:", "root\@$1"); #see Mail::Internet
$mail->accept();
}

The trick is to reach around Mail::Audit to its parent, Mail::Internet,
to rewrite the From: header.  And I saved the original From: header in
a new From-orig: header line.

-- Dave




Re: mutt-users-digest V1 #820

2001-10-26 Thread Matej Cepl

On Thu, 25 Oct 2001 23:01:34 -0600, Rob 'Feztaa' Park wrote:
> > I get this failure/error when posting from mutt 1.3.23i.  I
> > DO NOT get a failure when I copy the same msg to kmail's outbox
> > and then send it (exactly the same msg). ?
> In that case, I don't have a clue. Sorry :(

In that case, it's easy -- your setup of postfix is broken (I suppose,
that you are sending your email with kmail directly to SMTP server of
your provider, aren't you?).

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
It would be thought a hard government that should tax its people
one tenth part.
-- Benjamin Franklin




Re: 2 Q's (my wishlist)

2001-10-26 Thread Daniel Eisenbud

On Fri, Oct 26, 2001 at 01:02:26PM -0400, Jeremy Hankins <[EMAIL PROTECTED]> wrote:
> mh, of course, has an rmmproc, which I redefined to move messages to the
> archive folder rather than deleting them.  If possible, I'd like to do
> something similar in mutt, so that I can use all the delete stuff (by
> message, thread, subthread, etc) but instead of simply deleting the
> message it's moved to =Archive/.

Maybe make a folder-hook that sets a macro that on quitting,
synchronizing, or changing folders, tags all the deleted messages and
saves them to the proper mailbox first.  This should work, but I haven't
tried it.

-Daniel

-- 
Daniel E. Eisenbud
[EMAIL PROTECTED]

"We should go forth on the shortest walk perchance, in the spirit of
undying adventure, never to return,--prepared to send back our embalmed
hearts only as relics to our desolate kingdoms."
--Henry David Thoreau, "Walking"



Re: 2 Q's (my wishlist)

2001-10-26 Thread David T-G

Matthew, et al --

...and then Matthew D. Fuller said...
% On Fri, Oct 26, 2001 at 01:55:37PM -0400 I heard the voice of
% David T-G, and lo! it spake thus:
% > ...and then Matthew D. Fuller said...
% > % 
% > % See the {ignore,unignore,hdr_order} config params.  Mine look something
% > % like this:
% > 
% > Index, not pager.
% 
% Ooh, ugh!  Coffee BEFORE mail!

*grin*


% 
% Well, you can display the full message ID easily enough (%i), but just

I didn't know about %i, and that's cool, but you're right about the rest,
and it would be ugly.


% the host part would be tricky.  I think the 'best' way to do this would
% be at the source, not the destination.  Sticking a `hostname` in the

Same here.  Set the outgoing fullname to "root @ box" or some such and
then it shows up correctly in the index.


% subject would work, or having the From: address be set by hostname (%a in
% index) would work.  I don't think you'd be able to get just the hostname
% out of message-id in the index without some sourcery, though...

That's what we do best, though :-)


% 
% 
% 
% -- 
% Matthew Fuller (MF4839) |[EMAIL PROTECTED]
% Unix Systems Administrator  |[EMAIL PROTECTED]
% Specializing in FreeBSD |http://www.over-yonder.net/
% 
% "The only reason I'm burning my candle at both ends, is because I
%   haven't figured out how to light the middle yet"


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: 2 Q's (my wishlist)

2001-10-26 Thread Matthew D. Fuller

On Fri, Oct 26, 2001 at 01:55:37PM -0400 I heard the voice of
David T-G, and lo! it spake thus:
> ...and then Matthew D. Fuller said...
> % 
> % See the {ignore,unignore,hdr_order} config params.  Mine look something
> % like this:
> 
> Index, not pager.

Ooh, ugh!  Coffee BEFORE mail!

Well, you can display the full message ID easily enough (%i), but just
the host part would be tricky.  I think the 'best' way to do this would
be at the source, not the destination.  Sticking a `hostname` in the
subject would work, or having the From: address be set by hostname (%a in
index) would work.  I don't think you'd be able to get just the hostname
out of message-id in the index without some sourcery, though...



-- 
Matthew Fuller (MF4839) |[EMAIL PROTECTED]
Unix Systems Administrator  |[EMAIL PROTECTED]
Specializing in FreeBSD |http://www.over-yonder.net/

"The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet"



Re: 2 Q's (my wishlist)

2001-10-26 Thread David T-G

Matthew, et al --

...and then Matthew D. Fuller said...
% On Fri, Oct 26, 2001 at 01:18:32PM -0400 I heard the voice of
% David T-G, and lo! it spake thus:
% > ...and then Jeremy Hankins said...
% > % 
% > % First of all, I'd like to see the hostname portion of the Message-ID in
...
% > Yes, it does; I'd think that poking at the From: header would be better.
% > In either case, though, I don't know how you'd display in the index from
% > the MessageID.
% 
% See the {ignore,unignore,hdr_order} config params.  Mine look something
% like this:

Index, not pager.

Thanks anyway!


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: mbox files not showing new mail

2001-10-26 Thread Michael Tatge

Carl B . Constantine muttered:
> * Michael Tatge ([EMAIL PROTECTED]) wrote:
> > Carl B . Constantine muttered:
> > > However, mutt is not showing the 'N' beside the mbox file to indicate
> > > that it has new mail.
> > > 
> > > any ideas?
> > 
> > Do you happen to have a mail-notification tool running?
> 
> No I do not.

Some shells have a builtin notifier. "You have new mail in ..."

If that's not the case you could compile with --enable-buffy-size.
With Maildir mutt has no such problems, by the way. :)

HTH,

Michael
-- 

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: 2 Q's (my wishlist)

2001-10-26 Thread Matthew D. Fuller

On Fri, Oct 26, 2001 at 01:18:32PM -0400 I heard the voice of
David T-G, and lo! it spake thus:
> ...and then Jeremy Hankins said...
> % 
> % First of all, I'd like to see the hostname portion of the Message-ID in
> ...
> % way to do this.  I guess I could set up a procmail recipe to put it in
> % the subject or something, but that seems rather ugly.
> 
> Yes, it does; I'd think that poking at the From: header would be better.
> In either case, though, I don't know how you'd display in the index from
> the MessageID.

See the {ignore,unignore,hdr_order} config params.  Mine look something
like this:
ignore *# this means "ignore all lines by default"
unignore from: reply-to: to cc subject date x-mailer user-agent message-id 
Resent-From: Resent-To: Resent-Date: Followup
hdr_order from: reply-to: to cc date subject x-mailer user-agent message-id 
Resent-From: Resent-To: Resent-Date: Followup



-- 
Matthew Fuller (MF4839) |[EMAIL PROTECTED]
Unix Systems Administrator  |[EMAIL PROTECTED]
Specializing in FreeBSD |http://www.over-yonder.net/

"The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet"



Re: 2 Q's (my wishlist)

2001-10-26 Thread David T-G

Jeremy --

...and then Jeremy Hankins said...
% I switched from nmh to mutt about 6 months back, and overall I'm pretty
% pleased.  There are two things I used to do with nmh that I haven't

Woo hoo!


% found a (good) way to do with mutt, though.

Well, let's dig in.


% 
% 
% First of all, I'd like to see the hostname portion of the Message-ID in
...
% way to do this.  I guess I could set up a procmail recipe to put it in
% the subject or something, but that seems rather ugly.

Yes, it does; I'd think that poking at the From: header would be better.
In either case, though, I don't know how you'd display in the index from
the MessageID.


% 
% 
% The other problem I have is that I keep a message archive mirroring
% the layout of my folders.  E.g, if there's a =foo & =bar, I also
% want an =Archive/foo & =Archive/bar that reflect the past contents

Yep.


% of those folders.  Since I use procmail, the obvious solution (which
% I'm currently doing) is to send messages both to the folder itself
% and to the archive folder when sorting incoming mail.  Unfortunately

Ick.  So you want a copy of everything that ever came in rather than a
copy of things that you've read and otherwise processed?


% that (a) leads to an ugly procmailrc, (b) completely loses state info
% (read/unread/replied, etc) and (c) fails to account for messages that

It sure does...


% are mis-sorted by procmail which I then manualy put into the right
% folder.

Yeah, there are those times :-)


% 
% mh, of course, has an rmmproc, which I redefined to move messages to the
% archive folder rather than deleting them.  If possible, I'd like to do
% something similar in mutt, so that I can use all the delete stuff (by
% message, thread, subthread, etc) but instead of simply deleting the
% message it's moved to =Archive/.

There are at least a couple of ways to handle this.  You could set
move=yes and define the proper archive folder for each mailbox with an
mbox-hook (perhaps only one if there's an expando available).  You could
macro your 'd'elete key to 's'ave to the proper archive folder.  You
could probably use Cedric's trash folder patch to define the proper
archive folder as the trash can for each mailbox.


% 
% 
% I'd much appreciate any tips/pointers that help me towards either of the

If you haven't done it yet, sit down and take a good read through the
manual.  Check out various hooks as well as some variables like $move.
In addition, surf through the archives (found from mutt.org) for similar
questions; this sort of thing has come up before.


% above.  Mutt's a great mail program, and solutions to these two problems
% would put me close to MUA nirvanah.

There ya go :-)

HTH & HAND


% 
% -- 
% Jeremy Hankins <[EMAIL PROTECTED]>
% PGP fingerprint: 748F 4D16 538E 75D6 8333  9E10 D212 B5ED 37D0 0A03


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


2 Q's (my wishlist)

2001-10-26 Thread Jeremy Hankins

I switched from nmh to mutt about 6 months back, and overall I'm pretty
pleased.  There are two things I used to do with nmh that I haven't
found a (good) way to do with mutt, though.


First of all, I'd like to see the hostname portion of the Message-ID in
the index (assuming there is one, of course).  I find that quite useful
on occasion (e.g., mail from root crontabs from a cluster of machines
all using a smarthost -- the message id is an easy way to tell which
host the message is from).  Unfortunately, I haven't been able to find a
way to do this.  I guess I could set up a procmail recipe to put it in
the subject or something, but that seems rather ugly.


The other problem I have is that I keep a message archive mirroring
the layout of my folders.  E.g, if there's a =foo & =bar, I also
want an =Archive/foo & =Archive/bar that reflect the past contents
of those folders.  Since I use procmail, the obvious solution (which
I'm currently doing) is to send messages both to the folder itself
and to the archive folder when sorting incoming mail.  Unfortunately
that (a) leads to an ugly procmailrc, (b) completely loses state info
(read/unread/replied, etc) and (c) fails to account for messages that
are mis-sorted by procmail which I then manualy put into the right
folder.

mh, of course, has an rmmproc, which I redefined to move messages to the
archive folder rather than deleting them.  If possible, I'd like to do
something similar in mutt, so that I can use all the delete stuff (by
message, thread, subthread, etc) but instead of simply deleting the
message it's moved to =Archive/.


I'd much appreciate any tips/pointers that help me towards either of the
above.  Mutt's a great mail program, and solutions to these two problems
would put me close to MUA nirvanah.

-- 
Jeremy Hankins <[EMAIL PROTECTED]>
PGP fingerprint: 748F 4D16 538E 75D6 8333  9E10 D212 B5ED 37D0 0A03

 PGP signature


mutt via ssh on Mac OS X

2001-10-26 Thread Ken Weingold

Does anyone here use this?  I'm playing with it at work and have some
issues.  I don't want to waste the time of the list for this, so if
you could reply off-list, that would be great.

Thanks.


-Ken



Re: mbox files not showing new mail

2001-10-26 Thread Carl B . Constantine

* Michael Tatge ([EMAIL PROTECTED]) wrote:
> Carl B . Constantine muttered:
> > However, mutt is not showing the 'N' beside the mbox file to indicate
> > that it has new mail.
> > 
> > any ideas?
> 
> Do you happen to have a mail-notification tool running?
> 

No I do not. I just receive mail on an ongoing basis. Mutt is just
reading my /var/spool/mail/userid file. Mail goes through procmail using
a .forward file. When I look at my the list mail in mutt, the mbox file
is not marked as receiving mail.

Here's my .forward:

"|/public/bin/procmail"

any other ideas?

-- 
Carl B. Constantine University of Victoria
Programmer Analyst  http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
[EMAIL PROTECTED]



Re: list wierdness and muttrc builder

2001-10-26 Thread David T-G

Rob, et al --

...and then Rob 'Feztaa' Park said...
% On Wed, Oct 24, 2001 at 11:06:48AM -0700, Carl B . Constantine (dis)graced my inbox 
with:
% > For some reason I was unsubed from this list without warning. Anyone
% > know why that would be?
% 
% Happened to me last weekend. David T-G mentioned that if the list is
% very active, sometimes it screws up and unsubs people without warning.

No, no, no...  I hypothesized that the list software counts a threshold
number of bounces before sending out a probe before unsubbing you, and
that in the time of lots of activity the count would go up quickly.  I
*never* intended to say that it was the fault of the list software that
it got busy and then dropped people, but that some short glitch in the
'net or in your delivery might not have time to be righted before the
count got high enough to trigger.


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: [Q] mutt with qmail

2001-10-26 Thread Magnus Bodin

On Fri, Oct 26, 2001 at 10:32:26PM +0900, YOON, Joo-Yung wrote:
>
> I like using mutt.  
>
> Recently I changed the MTA from exim to qmail, and experience a little
> bit of confusing because it now does not move the read mails to other
> mailbox.

What do you mean by that? 
 
> Is there any one who uses qmail with mutt,
> and lives comfortable?

Yes. It works fine. What can be a problem is queueing outgoing mail. 
Nothing else.

/magnus



Re: list wierdness and muttrc builder

2001-10-26 Thread Rob 'Feztaa' Park

On Wed, Oct 24, 2001 at 11:06:48AM -0700, Carl B . Constantine (dis)graced my inbox 
with:
> For some reason I was unsubed from this list without warning. Anyone
> know why that would be?

Happened to me last weekend. David T-G mentioned that if the list is
very active, sometimes it screws up and unsubs people without warning.

Remember when you got your confirmation message saying that any email
addresses that bounce will be unsubbed? Well, I guess that when the list
is busy, mail to legit addresses bounces and gets unsubbed :)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"Who the hell wants to hear actors talk?"
-- H.M. Warner, Warner Brothers, 1927



Re: send-hooks don't work

2001-10-26 Thread Manuel Hendel

On Thu, Oct 25, 2001 at 05:30:08PM -0600, Rob 'Feztaa' Park wrote:
> On Thu, Oct 25, 2001 at 11:42:56PM +0200, Manuel Hendel (dis)graced my inbox with:
> > Hallo,
> > 
> > I'm using mutt 1.3.x. I use send-hooks to define the "my_hdr From:",
> > "my_hdr Organisation:" and the signature. If write the muttrc file and
> > start mutt, everything works fine, but after a while, mutt gets
> > confused and brings wrong Organisation or wron signatures. Where's the
> > problem.
> > 
> > muttrc:
> > 
> > set default_hook="~t %s"
> > 
> > send-hook . "my_hdr From: Manuel Hendel <[EMAIL PROTECTED]> ;\
> > set signature=peq|"
> > 
> > send-hook .*@domain\.de$ "my_hdr From: x ;\
> > my_hdr Organisation: x ;\
> > set signature=~/.mutt/world.sig"
> > 
> > send-hook .*@domain\.de$ "my_hdr From: x ;\
> > my_hdr Organisation: x ;\
> > set signature=~/.mutt/xxx.sig"
> > 
> > Is there anything wrong? I don't think so!
> 
> Well, I can see you're not unsetting the Organization header with your
> default send-hook.
> 
> This means that if you send something to an address that sets
> Organization, you'll keep that header until something else changes it.
> 
> Just add "unmy_hdr Organisation" (might need a : at the end, not sure)
> to that first send hook, and that should fix that problem.
> 
> As for your sig being screwed up, I don't know - it looks fine here.
> Unless "peq" does nothing...
> 
This seems to work. Thank you very much.

Manuel

-- 
On the other hand the early worm gets eaten. 



[Q] mutt with qmail

2001-10-26 Thread YOON, Joo-Yung

I like using mutt.  
Recently I changed the MTA from exim to qmail,
and experience a little bit of confusing
because it now does not move the read mails 
to other mailbox.

Is there any one who uses qmail with mutt,
and lives comfortable?

Warm regards to all,

Joo-Yung



Re: mutt's return value

2001-10-26 Thread Bruno Postle

On Thu 25-Oct-2001 at 11:02:21AM -0400, Mike Schiraldi wrote:
> 
> VeriSign, Inc.1
> VeriSign Trust Network1F0D
> =www.verisign.com/repository/RPA Incorp. By Ref.,LIAB.LTD(c)981H0F
> VeriSign Class 1 CA Individual Subscriber-Persona Not Validated0
> 01032200Z
> 020322235959Z0
[snip, lots and lots of other stuff]

Wow, that was a long signature - Is this using the mutt s/mime patch?

-- 
Bruno



Re: mbox files not showing new mail

2001-10-26 Thread Michael Tatge

Carl B . Constantine muttered:
> However, mutt is not showing the 'N' beside the mbox file to indicate
> that it has new mail.
> 
> any ideas?

Do you happen to have a mail-notification tool running?

Michael
-- 
"Who is General Failure and why is he reading my hard disk ?"
Microsoft spel chekar vor sail, worgs grate !!
(By [EMAIL PROTECTED], Felix von Leitner)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: send-hook and my_hdr

2001-10-26 Thread Thomas Roessler

On 2001-10-26 01:52:16 +0200, Lars Becker wrote:

>That won't work in all cases. If i set unmy_hdr in a sent-hook,
>all from-headers set by a folder-hook are removed too, and not
>only the hooks which were set by send-hooks.

>Is there any way to use folder-hooks *and* send-hooks together
>to modify the From-headers in a way that i want?

I'd set the $from variable from folder-hooks and use my_hdr from 
send-hooks to override it from case to case.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/





Re: Console mail notifiers/displayers

2001-10-26 Thread Denis Perelyubskiy

  * Collin Peters <[EMAIL PROTECTED]> [24-Oct-01 20:10 -0700]:
  >
  >Are there any out there?  I can't find any on freshmeat.
  >What I'm looking for is something that will display all
  >my mailboxes (or groups of them) with a new/total
  >display.  I have gkrellm setup with the mailboxes plugin
  >in X but I would like something for the console so I can
  >monitor my mail from an ssh session
  [...]

i've used tkbiff before. you may need to tweak it a little
for your liking, but for the most part its ok. dont remember
the page, but you can google for it

denis

-- 
// mailto: Denis Perelyubskiy <[EMAIL PROTECTED]>
// icq   : 12359698
// PGP   : http://www.cs.ucla.edu/~denisp/files/pgp.asc