Re: X-Mailer and User-Agent

2003-11-23 Thread Carsten Thönges
* George Mitchell [EMAIL PROTECTED] writes:
 Thomas Fernandez wrote:
 Mark Partous wrote:

[ User-Agent string ]

 Why should it not be allowed?
[...]

 I'm having a hard time finding an RFC that covers this.  The best I've
 come up with is a draft RFC for News articles:

It's RFC 2616.

,
| 14.43 User-Agent
| [...]
|User-Agent = User-Agent : 1*( product | comment )
| 
| 3.8 Product Tokens
| [...]
|product = token [/ product-version]
|product-version = token
| 
| 2.2 Basic Rules
| [...]
|token  = 1*any CHAR except CTLs or separators
|separators = ( | ) |  |  | @
|   | , | ; | : | \ | 
|   | / | [ | ] | ? | =
|   | { | } | SP | HT
| 
|comment= ( *( ctext | quoted-pair | comment ) )
|ctext  = any TEXT excluding ( and )
| 
|quoted-pair= \ CHAR
| 
|CHAR   = any US-ASCII character (octets 0 - 127)
|CTL= any US-ASCII control character
| (octets 0 - 31) and DEL (127)
|CR = US-ASCII CR, carriage return (13)
|LF = US-ASCII LF, linefeed (10) 
|SP = US-ASCII SP, space (32)
|HT = US-ASCII HT, horizontal-tab (9)
|
|CRLF   = CR LF
|  
|LWS= [CRLF] 1*( SP | HT )
| 
|TEXT   = any OCTET except CTLs,
| but including LWS
`

So, it seems like s and spaces are not allowed for the product
string. Unfortunately The Bat! contains a space.

User-Agent: TheBat!/2.01.49 (The Bat! (v2.01.49) Business)

Carsten
-- 



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-23 Thread Peter Meyns
Hi Carsten,

on Sat, 22 Nov 2003 19:58:51 +0100GMT (22.11.03, 19:58 +0100GMT here),
you wrote in mid:[EMAIL PROTECTED] :

CT %SetHeader('User-Agent', 'The Bat!/%TheBatVersion (Business)')

I think I got it right now. *S*

-- 
Cheers
Peter

Don't humanize computers. They hate that!

Winamp currently playing: Hall and Oats - One On One



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-23 Thread tb

-- Saturday, November 22, 2003, 10:48:12 AM, [EMAIL PROTECTED] wrote:

 On Saturday, November 22, 2003 @ 5:20:23 AM [-0700], Carsten Thönges wrote:

 Both X-Mailer and User-Agent are used to identify the software
 responsible for sending (at least The Bat! looks at both
 headers). So why not suppress the standard X-Mailer, define a
 User-Agent header and fill it with whatever you like?

 Wouldn't this make TB an attractive tool to spammers? I don't mind the
 suppression part, but the ability to make it look like it came from
 any other mail client would be troublesome.

Umm, spammers don't want to use The Bat!, they have plenty of tools for
sending spam, and most definitely have been modifying headers for longer
than The Bat has existed.

I use X-Ray -and- I am a registered user with a business license.

If I had a year to spare, I'd write my own e-mail client. However,
since I don't, I too would like to see these types of features.

--
[EMAIL PROTECTED]



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Thomas Fernandez
Hello Carsten,

On Sat, 22 Nov 2003 14:20:23 +0100 GMT (22/11/2003, 20:20 +0700 GMT),
Carsten Thönges wrote:


 Just a tiny idea I'd like to share ...

 A number of users wish to modify The Bat!'s X-Mailer header. This
 isn't possible without third party software like X-Ray.

 Both X-Mailer and User-Agent are used to identify the software
 responsible for sending (at least The Bat! looks at both
 headers). So why not suppress the standard X-Mailer, define a
 User-Agent header and fill it with whatever you like?

 So there's no need for X-Ray :-)

 PS
 A correct (conform with RFCs) User-Agent header looks like mine ;-)
 i. e. User-Agent: Software/Version (Comment)

 Carsten

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Life is an endless struggle full of frustrations and challenges, but
eventually you find a hair stylist you like.

Message reply created with The Bat! 2.01.26
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 128MB RAM




Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Thomas Fernandez
Hello Carsten,

On Sat, 22 Nov 2003 14:20:23 +0100 GMT (22/11/2003, 20:20 +0700 GMT),
Carsten Thönges wrote:

 So why not suppress the standard X-Mailer,

Options / Preferences / General / untick X-Mailer...

 define a User-Agent header

Options / Preferences / Message Headers / Add...

 and fill it with whatever you like?

I forgot where to do this, but I tested it before and it worked. The
help file isn't updated for this, it seems.

 So there's no need for X-Ray :-)

There isn't. :-)

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Junk is something you've kept for years and throw away three weeks
before you need it.

Message reply created with The Bat! 2.01.26
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 128MB RAM





Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Simon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Carsten,

On Sat, 22 Nov 2003 14:20:23 +0100 your time, you said:

CT So there's no need for X-Ray :-)

That  would  be nice. But you'd lose the other functionality available
with  X-Ray. X-Ray performs filtering on both SMTP and POP3, which can
be  very  useful.  And you aren't just restricted to X-Mailer: headers
either.

I'd  like to see something like X-Ray as a plugin for TB! I don't know
whether  that is possible, given the nature of the software, but there
ya go.

- --
Slán,

 Simon @ i~n+f~o+w~i+z~a+r~d+.~c+o~.+u~k

*
PGP Key via Web:   http://pgp.infowizard.co.uk/
PGP Key via Email: [EMAIL PROTECTED]

Faffing about with TB! v1.62r on W2K SP4

#651. Square Wold Irs My ¶

-BEGIN PGP SIGNATURE-
Comment: Protect your Privacy with PGP.
Comment: KeyID: 0xDF8062C1
Comment: Fingerprint: 40DD 7908 9DF8 634F 1B98  8849 9266 C870 DF80 62C1

iQA/AwUBP79wspJmyHDfgGLBEQInKQCg3LyhQKGP/CYnlBomGCm22wtucUYAoNXZ
NbSmaCV1wWnb+pKt5WF0fogS
=Vrd+
-END PGP SIGNATURE-



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread St - Musaic.Net

 Options / Preferences / General / untick X-Mailer...

  Funny - that option is not present in my version (2.01).
  Why is that?

-- 
  St



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Matt Thoene
On Saturday, November 22, 2003 @ 5:20:23 AM [-0700], Carsten Thönges wrote:

 Both X-Mailer and User-Agent are used to identify the software
 responsible for sending (at least The Bat! looks at both
 headers). So why not suppress the standard X-Mailer, define a
 User-Agent header and fill it with whatever you like?

Wouldn't this make TB an attractive tool to spammers? I don't mind the
suppression part, but the ability to make it look like it came from
any other mail client would be troublesome.

-- 
Matt



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Scott Frederick
Hello St,

Saturday, November 22, 2003, 7:45:00 AM, you wrote:

 Options / Preferences / General / untick X-Mailer...

SMN   Funny - that option is not present in my version (2.01).
SMN   Why is that?

I think that option was only added in a more recent release.

-- 
Best regards,
 Scottmailto:[EMAIL PROTECTED]
BayesIt! 0.4gm
Using The Bat! 2.01.3 under Windows 98 4.10 Build   A  
pgp key: 
mailto:[EMAIL PROTECTED]Body=Please%20send%20keys



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Edgar
Hello St,

On Saturday, November 22, 2003, 4:45:00 PM, you wrote:

 Options / Preferences / General / untick X-Mailer...

   Funny - that option is not present in my version (2.01).
   Why is that?

New option in 2.01.3

-- 
Cheers,
 Edgar

Communicating with TB! v2.01.3, Windows XP 5.1.2600 Service Pack 1

America is the only country that went from barbarism to decadence
without civilization in between. - Oscar Wilde

To request my public key select this url:
mailto:[EMAIL PROTECTED]

  

 


  

pgp0.pgp
Description: PGP signature

Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: X-Mailer and User-Agent

2003-11-22 Thread Kevin Coates
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Matt,

On Sat, 22 Nov 2003 08:48:12 -0800 (11:48 AM here), Matt Thoene [MT]
wrote in mid:[EMAIL PROTECTED]:

MT Wouldn't this make TB an attractive tool to spammers? I don't mind
MT the suppression part, but the ability to make it look like it came
MT from any other mail client would be troublesome.

I believe that the spammers already have this capability. The majority
of the spam I receive claims to be generated with Outlook or Outlook
Express. Perhaps they prefer an email client more HTML oriented.

As The Bat! is already considered by some as a spammer's tool (url
below) I really don't think that it makes a difference. I just wonder
why Outlook or OE isn't considered in the same category.

In any event, filtering spam based on x-mailer or user-agent headers
isn't an effective way to combat spam. Perhaps if more email clients
allowed x-mailer adjustments this ridiculous banning based solely on
email client used would be eliminated.

http://www.silverstones.com/thebat/spammer.html

- --
Kevin Coates
Dewitt, NY USA

Using TB! v2.01.49 under Windows XP 5.1.2600 SP1

(see kludges for my pgp key)
.

-BEGIN PGP SIGNATURE-

iD8DBQE/v5okRbTFvUNHmLkRAn96AKCtb4eIYvfsAiZ8tjOzxHRZrrmpLgCg0Her
X33QfXvGpWgMNuJt0DEJrtc=
=hvow
-END PGP SIGNATURE-


Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Edgar
Hello Thomas,

On Saturday, November 22, 2003, 2:37:41 PM, you wrote:

 So why not suppress the standard X-Mailer,
 Options / Preferences / General / untick X-Mailer...

 define a User-Agent header
 Options / Preferences / Message Headers / Add...

 and fill it with whatever you like?
 I forgot where to do this, but I tested it before and it worked. The
 help file isn't updated for this, it seems.

Ok, I've added User-Agent as header field
But when sending it does not show.
It only shows when I enter a name behind it by leaving it edible.
But then I have to enter it every time.

The macro that stands above the Headers %HDRnnn does not work
because it breaks it off at the -

So %HDRUser-Agent=Ritlabs does not work and leaves
-Agent+Ritlabs in my mail.

How should I do it?

-- 
Cheers,
 Edgar

Communicating with TB! v2.01.3, Windows XP 5.1.2600 Service Pack 1

If I follow you home will you keep me?

To request my public key select this url:
mailto:[EMAIL PROTECTED]

  

 


  

pgp0.pgp
Description: PGP signature

Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: X-Mailer and User-Agent

2003-11-22 Thread Roelof Otten
Hallo Edgar,

On Sat, 22 Nov 2003 18:40:49 +0100GMT (22-11-03, 18:40 +0100, where I
live), you wrote:

E Ok, I've added User-Agent as header field
E The macro that stands above the Headers %HDRnnn does not work

Use %SetHeader(User-Agent,Ritlabs)

-- 
Groetjes, Roelof



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Edgar
Hello Roelof,

On Saturday, November 22, 2003, 7:03:26 PM, you wrote:

 Hallo Edgar,

 On Sat, 22 Nov 2003 18:40:49 +0100GMT (22-11-03, 18:40 +0100, where I
 live), you wrote:

E Ok, I've added User-Agent as header field
E The macro that stands above the Headers %HDRnnn does not work
 Use %SetHeader(User-Agent,Ritlabs)

I've done the following:
Added User-Agent RFC822=User-Agent all checkboxes are empty (all
are No)

Added in the template: %SetHeader(User-Agent,De Vleermuis!/2.01.3 (Ritlabs))
Still does not show it.

-- 
Cheers,
 Edgar

Communicating with TB! v2.01.3, Windows XP 5.1.2600 Service Pack 1

The only way to get rid of a temptation is to yield to it. -Oscar
Wild-

To request my public key select this url:
mailto:[EMAIL PROTECTED]

  

 


  

pgp0.pgp
Description: PGP signature

Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: X-Mailer and User-Agent

2003-11-22 Thread Edgar
Hello Jurgen,

On Saturday, November 22, 2003, 8:05:31 PM, you wrote:

 Hello Edgar,

 Saturday, November 22, 2003, 7:43:25 PM, you wrote:


E Ok, I've added User-Agent as header field
E The macro that stands above the Headers %HDRnnn does not work
 Use %SetHeader(User-Agent,Ritlabs)

 Added in the template: %SetHeader(User-Agent,De
 Vleermuis!/2.01.3 (Ritlabs))
 Still does not show it.

 I got this to work, AFTER I removed the minus from it, with
 User-Agent it did not work
   HDRUserAgent=Die Fledermaus

Is UserAgent a good header for this (instead of x-mail)?
Should the - not be there, so TB and other programs look at it
and show it?



-- 
Cheers,
 Edgar

Communicating with TB! v2.01.3, Windows XP 5.1.2600 Service Pack 1

Another brilliant mind ruined by higher education.

To request my public key select this url:
mailto:[EMAIL PROTECTED]

  


 


  

pgp0.pgp
Description: PGP signature

Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: X-Mailer and User-Agent

2003-11-22 Thread Carsten Thönges
* Edgar [EMAIL PROTECTED] writes:

[ User-Agent header ]

 So %HDRUser-Agent=Ritlabs does not work and leaves
 -Agent+Ritlabs in my mail.

%SetHeader('User-Agent', 'The Bat!/%TheBatVersion (Business)')

hth, Carsten
-- 



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Edgar
Hello Roelof,

On Saturday, November 22, 2003, 7:03:26 PM, you wrote:

E Ok, I've added User-Agent as header field
E The macro that stands above the Headers %HDRnnn does not work

 Use %SetHeader(User-Agent,Ritlabs)
This only works if you select also the: allow field to be edit
with editor when you create the header. Other wise it won't
show.

-- 
Cheers,
 Edgar

Communicating with TB! v2.01.3, Windows XP 5.1.2600 Service Pack 1

Egotist: a person more interested in himself than in me. (Ambrose
Bierce)

To request my public key select this url:
mailto:[EMAIL PROTECTED]

  


 


  

pgp0.pgp
Description: PGP signature

Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: X-Mailer and User-Agent

2003-11-22 Thread Thomas Fernandez
Hello Edgar,

On Sat, 22 Nov 2003 18:05:02 +0100 GMT (23/11/2003, 00:05 +0700 GMT),
Edgar wrote:

 Options / Preferences / General / untick X-Mailer...

   Funny - that option is not present in my version (2.01).
   Why is that?

 New option in 2.01.3

According to the list footer that is current version. But then, I am
not really sure whether 2.01.7 is the current version... I am using
2.01.26, which is definitely a beta. They should go back to calling
the beta versions beta, IMHO.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Mothers all want their sons to grow up to be President, but they
don't want them to become politicians in the process. (John F.
Kennedy)

Message reply created with The Bat! 2.01.26
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 128MB RAM





Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread Thomas Fernandez
Hello Mark,

On Sat, 22 Nov 2003 20:19:57 +0100 GMT (23/11/2003, 02:19 +0700 GMT),
Mark Partous wrote:

RO Use %SetHeader(User-Agent,Ritlabs)

 Resulting in something like the above?
 Is this allowed?

Why should it not be allowed?

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Wenn ich nur darf, wenn ich soll, aber nie kann, wenn ich will, dann
mag ich auch nicht, wenn ich muss. Wenn ich aber darf, wenn ich will,
dann mag ich auch, wenn ich soll und dann kann ich auch, wenn ich
muss. Denn schliesslich: Die, die koennen sollen, muessen wollen
duerfen.

Message reply created with The Bat! 2.01.26
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 128MB RAM





Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: X-Mailer and User-Agent

2003-11-22 Thread George Mitchell
Thomas Fernandez wrote:

 On Sat, 22 Nov 2003 20:19:57 +0100 GMT (23/11/2003, 02:19 +0700 GMT),
 Mark Partous wrote:

 Resulting in something like the above?
 Is this allowed?

 Why should it not be allowed?

Assuming Mark was referring to his User-Agent header, which was:

 User-Agent: Ritlabs'  De Vleermuis 2.01.26  Business Edition

Carsten mentioned in the root of this thread:

,- [ mid:[EMAIL PROTECTED] ]
| A correct (conform with RFCs) User-Agent header looks like mine ;-)
| i. e. User-Agent: Software/Version (Comment)
`-

I'm having a hard time finding an RFC that covers this.  The best I've
come up with is a draft RFC for News articles:

http://www.ietf.org/internet-drafts/draft-ietf-usefor-article-11.txt

The definition of the User-Agent field (section 6.18) seems to exclude
the use of whitespace (among other things, including double-quotes)
within a product name and would have the product version follow a /.
The atoms are defined in Appendix B.1.

Anyone know of a more authoritative source for the proper use of the
User-Agent header in mail or news?

-- 
George

Using TB! 2.01.49 on Windows XP Pro 5.1, Build 2600, Service Pack 1.



Current version is 2.01.3 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html