Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-03 11:14:27 +0100:
 When I send mail via PEARs Mail class they are sorted as spam by 
 Thunderbird. Do you have any ideas why? I can't figure it out.

Surely Thunderbird provides an interface to query and modify its spam
filters? Or is it an automated email black hole without even a log file?

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Emil Edeholt

Hi,

I can of course tell Thunderbird that something is not spam, but I don't 
want all of my users to have to do that for every mail I send via pear. 
Maybe I haven't included some header non-spam usually have or something? 
Did my script look all okey?


Emil

Roman Neuhauser wrote:

Surely Thunderbird provides an interface to query and modify its spam
filters? Or is it an automated email black hole without even a log file?
  

--

Hälsningar Emil Edeholt

Karlsson  Novak Medical AB
Telefon 090-154830
Mobil 070-3758222
E-post [EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Jochem Maas
Emil Edeholt wrote:
 Hi,
 
 I can of course tell Thunderbird that something is not spam, but I don't
 want all of my users to have to do that for every mail I send via pear.
 Maybe I haven't included some header non-spam usually have or something?
 Did my script look all okey?

it's not the script. it's the content of the email (possibly in conjunction
with 'bad' mail headers, etc)

 
 Emil
 
 Roman Neuhauser wrote:
 Surely Thunderbird provides an interface to query and modify its spam
 filters? Or is it an automated email black hole without even a log file?
   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Emil Edeholt
Are you sure? The email is very short and is something like this (but in 
swedish):


Hello,

Your order is now available.

Regards Emil

Jochem Maas wrote:

it's not the script. it's the content of the email (possibly in conjunction
with 'bad' mail headers, etc)
  

--

Hälsningar Emil Edeholt

Karlsson  Novak Medical AB
Telefon 090-154830
Mobil 070-3758222
E-post [EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Stut

Emil Edeholt wrote:
I can of course tell Thunderbird that something is not spam, but I 
don't want all of my users to have to do that for every mail I send 
via pear. Maybe I haven't included some header non-spam usually have 
or something? Did my script look all okey?


Let's all take a moment and thank $DEITY that there is no non-spam 
header. Anyway, moving on...


Whether an email is marked as spam or not depends on a lot of factors. 
Check the archives - this has been discussed a few times in the past few 
months.


-Stut


Roman Neuhauser wrote:

Surely Thunderbird provides an interface to query and modify its spam
filters? Or is it an automated email black hole without even a log file?
  


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Jochem Maas
Emil Edeholt wrote:
 Are you sure? The email is very short and is something like this (but in

yes I'm sure. Thunderbird knows nothing about your script (not even that it 
exists),
all it sees is the 'envelope' (headers et al) and the content of the email.

it might be purely the fact that the email is so short, or it may even be due
to the language in the email - hard to say without doing some proper testing 
(i.e.
create variations of the email, etc - also read up on how to avoid being
marked as spam when sending email - thedre is plenty of advice out there).

PS - 'something like this' generally equates to 'completely useful information'
when it comes to solving programming problems - be specific and detailed, hard 
facts
are all that count in this game ;-)

 swedish):
 
 Hello,
 
 Your order is now available.
 
 Regards Emil
 
 Jochem Maas wrote:
 it's not the script. it's the content of the email (possibly in
 conjunction
 with 'bad' mail headers, etc)
   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Roman Neuhauser
Don't toppost. Preserve (just) enough context to make the mail
comprehensible by someone who doesn't know the previous emails.

Thanks.

# [EMAIL PROTECTED] / 2007-01-03 11:14:27 +0100:
 When I send mail via PEARs Mail class they are sorted as spam by 
 Thunderbird. Do you have any ideas why? I can't figure it out.

# [EMAIL PROTECTED] / 2007-01-03 11:29:42 +0100:
 Roman Neuhauser wrote:
 Surely Thunderbird provides an interface to query and modify its spam
 filters? Or is it an automated email black hole without even a log file?
  
 I can of course tell Thunderbird that something is not spam, but I don't 
 want all of my users to have to do that for every mail I send via pear. 

That's not what I asked. Does Thunderbird tell you why it marked
something as spam? If it does, use that information. If it does not,
you're crazy for using it. Either way, your question belongs into a
Thunderbird mailing list, along with the exact full message. Full means
including all headers, exact means you need to abandon formulations it
was something like.

 Maybe I haven't included some header non-spam usually have or something? 

How are we supposed to know? Should we read Thunderbird's source code
for you? :)

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Strong Cypher

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Could you send us header of your mail please, just to see the prob

Perhaps problem in sender : [EMAIL PROTECTED]

Or domain who send the mail : localhost.localdomain

I don't really know how thunderbird find some spam, that's why I prefer use
kmail + bsfilter :)

so ...

give us more information

We will help you perhaps :)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1

iD8DBQFFm5V7Eg3iyspSWPARAiixAJ96MuBkpZAlpgj1tMgE97NDURLMpQCfXq8W
rG2NqdH/F6nv97dv7IEZ8Ik=
=7gkI
-END PGP SIGNATURE-


Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Emil Edeholt

Roman Neuhauser wrote:

That's not what I asked. Does Thunderbird tell you why it marked
something as spam? If it does, use that information. If it does not,
you're crazy for using it. Either way, your question belongs into a
Thunderbird mailing list, along with the exact full message. Full means
including all headers, exact means you need to abandon formulations it
was something like.

  
As far as I can see it does not give more information. Why would that 
make me crazy? I can see what's marked as spam, and it gets better at 
finding spam the more emails I mark as spam or not spam. I think that is 
an okey solution. I don't want to spend more time on spam in my email 
client, since almost all spams are stopped by the mail server anyway.


But I'll look for a log file. Maybe there are something hidden below the 
gui.
Maybe I haven't included some header non-spam usually have or something? 



How are we supposed to know? Should we read Thunderbird's source code
for you? :)

  
Of course not. I just wondered if there was something obvious in the 
mail headers or whatever from pear that would make my mail look like 
spam. And I want a more mainstream solution that works on all/most email 
clients, not just firefox. But I'll talk to the mozilla folks instead, 
if you think it's so off topic to discuss this.


Thanks for your time...

Regards Emil

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-03 13:16:17 +0100:
 Roman Neuhauser wrote:
 That's not what I asked. Does Thunderbird tell you why it marked
 something as spam? If it does, use that information. If it does not,
 you're crazy for using it. Either way, your question belongs into a
 Thunderbird mailing list, along with the exact full message. Full means
 including all headers, exact means you need to abandon formulations it
 was something like.
  
 As far as I can see it does not give more information. Why would that 
 make me crazy?

Because it leads into trouble, like the one you're in now. Who knows,
perhaps Thunderbird decided for you that short emails in languages other
than English are spam. Perhaps you've labeled too many of such massages.

 I can see what's marked as spam, and it gets better at finding spam
 the more emails I mark as spam or not spam. I think that is an okey
 solution.

Ok, but then you should be ready to live with its mysterious behaviors.

 Maybe I haven't included some header non-spam usually have or something? 
 
 How are we supposed to know? Should we read Thunderbird's source code
 for you? :)
  
 Of course not. I just wondered if there was something obvious in the 
 mail headers or whatever from pear that would make my mail look like 
 spam.

But you didn't include that message in your email to the list.

 And I want a more mainstream solution that works on all/most email 
 clients, not just firefox.

I used PEAR Mail to send emails from linux boxes that more often than
not didn't even have the hostname set correctly, and I had no problems.
Then again, AFAIK all recipients used either mutt or outlook.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Curt Zirzow

On 1/3/07, Emil Edeholt [EMAIL PROTECTED] wrote:

Roman Neuhauser wrote:

But I'll look for a log file. Maybe there are something hidden below the
gui.
 Maybe I haven't included some header non-spam usually have or something?


 How are we supposed to know? Should we read Thunderbird's source code
 for you? :)


Of course not. I just wondered if there was something obvious in the
mail headers or whatever from pear that would make my mail look like
spam. And I want a more mainstream solution that works on all/most email
clients, not just firefox. But I'll talk to the mozilla folks instead,
if you think it's so off topic to discuss this.


The obvious problem with your question is well, no 'headers' were
supplied. Then of course there are algorithms  like bayesian that
predict spam based on headers and content, with a learning curve.

Then there is of course people on @aol.com addresses where depending
on how things are setup, you will automatically go into the spam box
if you are not in their address book.


All in all mail sucks never rely on it to work.

Curt.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Curt Zirzow

On 1/3/07, Roman Neuhauser [EMAIL PROTECTED] wrote:

.
Then again, AFAIK all recipients used either mutt or outlook.


Now that is a very disperse audience, i never see mutt mentioned often.

Curt.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-03 04:42:05 -0800:
 On 1/3/07, Roman Neuhauser [EMAIL PROTECTED] wrote:
 .
 Then again, AFAIK all recipients used either mutt or outlook.
 
 Now that is a very disperse audience,

The reports went to two types of people: admins and managers.

 i never see mutt mentioned often.

Try subscribing to [EMAIL PROTECTED] :)

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Richard Lynch
On Wed, January 3, 2007 4:29 am, Emil Edeholt wrote:
 I can of course tell Thunderbird that something is not spam, but I
 don't
 want all of my users to have to do that for every mail I send via
 pear.
 Maybe I haven't included some header non-spam usually have or
 something?
 Did my script look all okey?

There's no magical this is not spam header.

If there was, all the spammers would include it, and what would be the
point?

What you have to do is compare your email with one that survives the
spam obstacle course, and make your email lean and mean and fit to
survive.

Without looking at your code/email, the FIRST thing to do is to get
rid of HTML-enhanced (cough, cough) email.  Just use plain-text.

The odds of HTML-enhanced (cough, cough) email being spam is *SO* much
higher than plain-text, that you are right away going to lose the
battle with many spam filters if you use HTML-enhanced email.

Next, make sure that it looks like a REAL PERSON sent the email.

The From: and Reply-to: lines should be:
Emil Edeholt [EMAIL PROTECTED]
and not just:
[EMAIL PROTECTED]

There are a zillion other things you can do -- You may want to install
SpamAssassin (etc) and run your email through it.  It adds headers
that tell you EXACTLY why you are losing points in the obstacle
course and getting labeled as spam.

Some things will be beyond your control, or willingness to change. 
Having medical.se as the return address will probably send up a red
flag, just because of the disproportionate number of medical related
spams.

Fortunately, you don't need a PERFECT non-spam score -- Just one good
enough to pass the course.  The final number is user-configurable, so
it's about coming closer to an ideal rather than achieving a perfect
score.

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php