Re: Freebsd, postfix and push email

2010-03-28 Thread perryh
Tim Judd taj...@gmail.com wrote:
 On 3/27/10, Ron (Lists) rg.li...@rzweb.com wrote:
  Is there a way to get my freebsd/postfix setup to send push
  notifications to an iPhone ... I know it can be done with
  Exchange and ActiveSync, but I don't want to run any kind of
  exchange server.

 Wouldn't push email be a function of your POP3 or IMAP server?
 FreeBSD and Postfix are neither of those.

Er, no.  POP3 and IMAP are pull services, wherein the client
polls the server periodically for any newly-arrived messages.
A client-level push service would need to operate similarly
to biff(1)/comsat(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


random FreeBSD panics

2010-03-28 Thread Masoom Shaikh
Hello List,

I was a happy FreeBSD user, just before I installed FreeBSD8.0-RC1. Since
then, system randomly just freezes, and there is no option other than hard
boot. I guessed this will get solved in 8.0-RELEASE, but it was not :(

Many times I get vmcore files, not always. I have dumpdev set to AUTO in my
rc.conf. Almost every time it just fsck's the file-system on reboot. I have
not lost any files though. This is a Dell Inspiron 1525 Laptop with 1GB ram,
Intel Core2 Duo T5500 with ATI Radeon X1400 card. The installation in
question is KDE4 from ports, with radeon/ati driver.

I felt the problem is with wpi driver, then suspected dri driver of X. Then
I observed system freezes even if none of this is installed. e.g. if it is
under some load, like building a port and simultaneously fetching something
over network it hangs, and hangs hard. This persuaded me to think something
is wrong in kernel scheduling itself. May be it is lost in some deadlock,
etc... Thus last weekend I thought I would see how immediate previous
version i.e. FreeBSD-7.3-RELEASE would behave.

I reinstalled FreeBSD7.1 from iso images, svn up'ed FreeBSD7.3 source, did
the normal buildworld, buildkernel, installkernel, installworld cycle.
Unfortunatly this kernel is naughty as well ;-), it also freezes with same
stubbornness. But difference is this time I happen to catch something
interesting.

It panics on NMI, fatal trap 19 while in kernel mode. Loaded the vmcore file
in kgdb and got the backtrace. I obtained vmcore files on two occasions. I
have attached both the back traces. This error most likely suggests hardware
error in RAM, but Windox7 and XP boot just fine and never caused any errors.

To verify if I have errors in my RAM I let run sysutils/memtest86+
overnight, to double verify I also executed Windows Memory Diagnostic test
for four times. None of them reported errors. Can anyone here suggest any
solution.

Masoom Shaikh


vmcore0.log
Description: Binary data


vmcore1.log
Description: Binary data
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

How to mark an interace as 'down' at boot time?

2010-03-28 Thread Modulok
Trivial question,

Is there an rc.conf way to mark a network interface as being 'down' at
boot time? I could do it with a cron job, or a kernel rebuild, but I
thought there'd be some nifty rc.conf syntax. I tried this:

ifconfig_bge0=down

The interface is marked as down in the dmesg output, but it's still up
when the boot cycle completes.
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd, postfix and push email

2010-03-28 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/03/2010 05:04:06, Ron (Lists) wrote:
 Is there a way to get my freebsd/postfix setup to send push
 notifications to an iPhone (I assume other smart phones work the same
 way).  I've searched the web and I can't find any information about how
 to make this work.  I know it can be done with Exchange and ActiveSync,
 but I don't want to run any kind of exchange server.
 
 Thanks for any help, or even a point in the right direction.

Sounds like what you want is an e-mail to SMS gateway.  There are
several scripts in the ports for generating SMSes from the command line,
which you should be able to make use of.  You'll need to choose
something appropriate for your area.

Otherwise you're looking at proprietary software as used by the likes of
Blackberry.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuvLaEACgkQ8Mjk52CukIzWsgCfcAoObsvsXslpdPdoSxeP5MSS
jeMAn3MrC0WlaeKxjDwBQax+VGww9ZSg
=gy88
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: random FreeBSD panics

2010-03-28 Thread Ivan Voras

Masoom Shaikh wrote:

Hello List,

I was a happy FreeBSD user, just before I installed FreeBSD8.0-RC1. Since
then, system randomly just freezes, and there is no option other than hard
boot. I guessed this will get solved in 8.0-RELEASE, but it was not :(


I wild shot - did you try disabling superpages?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to mark an interace as 'down' at boot time?

2010-03-28 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/03/2010 09:51:50, Modulok wrote:
 Trivial question,
 
 Is there an rc.conf way to mark a network interface as being 'down' at
 boot time? I could do it with a cron job, or a kernel rebuild, but I
 thought there'd be some nifty rc.conf syntax. I tried this:
 
 ifconfig_bge0=down
 
 The interface is marked as down in the dmesg output, but it's still up
 when the boot cycle completes.

Hmmm... normally, you'ld just leave any extra NICs unconfigured.  Not
plugging a cable in generally makes the OS believe the NIC is down.

You can tell the OS the i/f shouldn't be configured by:

ifconfig_bge0=NOAUTO

but that will probably still leave the i/f up if a cable is attached.

In this case, you could try using both of:

ifconfig_bge0=down
ipv6_ifconfig_bge0=ifdisabled down

(rc.conf syntax for IPv6 is different in CURRENT, but I assume you're
not using that.)

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuvMHUACgkQ8Mjk52CukIy8VQCfc3SscGvP7qiQX7bfcyzK2vGg
/bAAni5N/FRil82YtLcLPcf6CDuXcqiz
=vLKH
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: random FreeBSD panics

2010-03-28 Thread Masoom Shaikh
On Sun, Mar 28, 2010 at 10:32 AM, Ivan Voras ivo...@freebsd.org wrote:
 Masoom Shaikh wrote:

 Hello List,

 I was a happy FreeBSD user, just before I installed FreeBSD8.0-RC1. Since
 then, system randomly just freezes, and there is no option other than hard
 boot. I guessed this will get solved in 8.0-RELEASE, but it was not :(

 I wild shot - did you try disabling superpages?

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


umm, how do I do that ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: random FreeBSD panics

2010-03-28 Thread Gary Jennejohn
On Sun, 28 Mar 2010 11:18:59 +
Masoom Shaikh masoom.sha...@gmail.com wrote:

 On Sun, Mar 28, 2010 at 10:32 AM, Ivan Voras ivo...@freebsd.org wrote:
  Masoom Shaikh wrote:
 
  Hello List,
 
  I was a happy FreeBSD user, just before I installed FreeBSD8.0-RC1. Since
  then, system randomly just freezes, and there is no option other than hard
  boot. I guessed this will get solved in 8.0-RELEASE, but it was not :(
 
  I wild shot - did you try disabling superpages?
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
 umm, how do I do that ?


Add this to /boot/loader.conf
vm.pmap.pg_ps_enabled=0

--
Gary Jennejohn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: random FreeBSD panics

2010-03-28 Thread Ivan Voras
On 28 March 2010 13:18, Masoom Shaikh masoom.sha...@gmail.com wrote:
 On Sun, Mar 28, 2010 at 10:32 AM, Ivan Voras ivo...@freebsd.org wrote:
 Masoom Shaikh wrote:

 Hello List,

 I was a happy FreeBSD user, just before I installed FreeBSD8.0-RC1. Since
 then, system randomly just freezes, and there is no option other than hard
 boot. I guessed this will get solved in 8.0-RELEASE, but it was not :(

 I wild shot - did you try disabling superpages?

 umm, how do I do that ?

Set

vm.pmap.pg_ps_enabled=0

in /boot/loader.conf and reboot. Report back if it helps or not.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd, postfix and push email

2010-03-28 Thread Alejandro Imass
On Sun, Mar 28, 2010 at 12:04 AM, Ron (Lists) rg.li...@rzweb.com wrote:
 Is there a way to get my freebsd/postfix setup to send push notifications to
 an iPhone (I assume other smart phones work the same way).  I've searched
 the web and I can't find any information about how to make this work.  I
 know it can be done with Exchange and ActiveSync, but I don't want to run
 any kind of exchange server.


Hmm, something similar recently came up here in the thread Exchange
ActiveSync account, and in both cases there seems to be confusion in
the roles of the MTA, the MDA and the MUA.

The MTA is only responsible to relay mail to it's destination, the MDA
to store it somewhere and the MUA to retrieve it. The mail is
delivered in a mailbox and once it reaches that mailbox it is not the
MTA's nor the MDA's problem anymore. It just sits there until you can
reach your mailbox and read it. Many people think that IMAP, POP3 and
alike are part of the mail (MTA) system but they are not. They are
completely separate systems designed for you to be able to
access/fetch your mailbox(es) from a remote location. Remember that
email was invented on multi-user systems so when you log-in to a
machine via telnet, ssh or sitting on a terminal, you access your
email directly from the mailbox, you don't need to fetch it to a
remote location to read it.

Anyway, if you want to take mail from one mailbox and send it to
another location, you need to pop-it (regardless if it's pop, imap or
what have you) and then re-send it to the new destination. This is
usually not the work on an MTA AFAIK and you need to use other tools
such as Fetchmail.

Hope this helps,
Alejandro Imass


 Thanks for any help, or even a point in the right direction.

 Ron
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd, postfix and push email

2010-03-28 Thread Ross Cameron
On Sun, Mar 28, 2010 at 6:04 AM, Ron (Lists) rg.li...@rzweb.com wrote:
 Is there a way to get my freebsd/postfix setup to send push notifications to
 an iPhone (I assume other smart phones work the same way).  I've searched
 the web and I can't find any information about how to make this work.  I
 know it can be done with Exchange and ActiveSync, but I don't want to run
 any kind of exchange server.

 Thanks for any help, or even a point in the right direction.

FreeBSD is an OS
Postfix is an SMTP server.

What  you want is a email push daemon.
What I would use (and indeed do use) is Funambol, its and open source
push media server.
And there are software clients for most smart phone OSs.






-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[ HEADS UP ] Ports unstable for the next 10 days

2010-03-28 Thread Ion-Mihai Tetcu
Hi,


As announced before, a few big commits, that touch some thousands ports
are being done: png, curl, x11, gnome, kde4. The target ETA is 6-7
April. 

The first one was done, update of graphics/png (including a shared lib
version bump), with about 5000 ports affected.

We do _NOT_ recommend updating ports until this commits are all done,
and the problems are fixed, except if you want to help testing / fixing.

Before reporting failures, please take a look at ports@ list, and
http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built
to find out if the problem hasn't already been reported or even fixed.
We also have two incremental builds on Pointy to catch the problems.


Thank you,

With hat:   portmgr@

-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-03-28 Thread Michael Powell
Ion-Mihai Tetcu wrote:

 Hi,
 
 
 As announced before, a few big commits, that touch some thousands ports
 are being done: png, curl, x11, gnome, kde4. The target ETA is 6-7
 April.
 
 The first one was done, update of graphics/png (including a shared lib
 version bump), with about 5000 ports affected.
 
 We do _NOT_ recommend updating ports until this commits are all done,
 and the problems are fixed, except if you want to help testing / fixing.
 
 Before reporting failures, please take a look at ports@ list, and
 http://qat.tecnik93.com/index.php?action=failed_buildportssort=last_built
 to find out if the problem hasn't already been reported or even fixed.
 We also have two incremental builds on Pointy to catch the problems.
 
 
 Thank you,
 
 With hat: portmgr@
 

Thank you very much for this notification. It surely is nice to know this.

-Mike


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: random FreeBSD panics

2010-03-28 Thread Masoom Shaikh
On Sun, Mar 28, 2010 at 12:03 PM, Ivan Voras ivo...@freebsd.org wrote:
 On 28 March 2010 13:18, Masoom Shaikh masoom.sha...@gmail.com wrote:
 On Sun, Mar 28, 2010 at 10:32 AM, Ivan Voras ivo...@freebsd.org wrote:
 Masoom Shaikh wrote:

 Hello List,

 I was a happy FreeBSD user, just before I installed FreeBSD8.0-RC1. Since
 then, system randomly just freezes, and there is no option other than hard
 boot. I guessed this will get solved in 8.0-RELEASE, but it was not :(

 I wild shot - did you try disabling superpages?

 umm, how do I do that ?

 Set

 vm.pmap.pg_ps_enabled=0

 in /boot/loader.conf and reboot. Report back if it helps or not.


nopes, this didn't help too, machine freezed again after using for 30
minutes or so
all it was doing is playing amarok, fetching sources from svn repos,
and using firefox

lets assume if this is h/w problem, then how can other OSes overcome
this ? is there a way to make FreeBSD ignore this as well, let it
result in reasonable performance penalty.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Enough Is Enough

2010-03-28 Thread Sergio de Almeida Lenzi
I do not doubt the power  of portmaster and portupgrade, but
in my system (I have a master 4core,8Gb  and several slaves about 40
of them , that upgrade via portmaster -P -aBdg)
in the master system there are about 1200 packages installed...
so a portmaster -r png will last forever...

I made a  shell script that tests for the existance of the library
in /usr/local/lib/*.so, /usr/local/bin/*
sort it and tells me what ports really need upgrade...

with about 1200 ports, only 120 needed upgrade... (a question of 2
hours) in the master cpu,
or about 20 minutes in the slaves  

this scripts outputs the commands needed to fix the system

watch out
==
#!/bin/sh

endp() {
rm -f $t
exit $1
}

t=/tmp/$$

if [ $# -ne 1 ]
then
echo use $0 library
endp 1
fi

lib=$1

find /usr/local/bin /usr/local/lib -name -type f | \
while read x
do
grep $lib $x | \
awk '{print $3}' | \
while read y
do
pkg_info -W $y   $t
done
done
awk '{print $NF}' $t | sort -u  /tmp/buildpkglist
echo nice portmaster -Bdg `cat /tmp/buildpkglist`
endp 0
=
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: random FreeBSD panics

2010-03-28 Thread Adam Vande More
On Sun, Mar 28, 2010 at 8:42 AM, Masoom Shaikh masoom.sha...@gmail.comwrote:

 nopes, this didn't help too, machine freezed again after using for 30
 minutes or so
 all it was doing is playing amarok, fetching sources from svn repos,
 and using firefox

 lets assume if this is h/w problem, then how can other OSes overcome
 this ? is there a way to make FreeBSD ignore this as well, let it
 result in reasonable performance penalty.


They would remove or replace the bad hardware.

I've seen more that one DIMM which passed every memory checker I could find
in it's most extensive testing mode.  Only consistently effective option is
to replace with a known good piece of memory.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: random FreeBSD panics

2010-03-28 Thread Ivan Voras
On 28 March 2010 16:42, Masoom Shaikh masoom.sha...@gmail.com wrote:

 lets assume if this is h/w problem, then how can other OSes overcome
 this ? is there a way to make FreeBSD ignore this as well, let it
 result in reasonable performance penalty.

Very probably, if only we could detect where the problem is.
Try adding options PRINTF_BUFR_SIZE=128 to the kernel
configuration file if you can, to see if you can get a less mangled
log outout.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Marvell Yukon Driver for Hp notebook??

2010-03-28 Thread Kaya Saman

Hi guys,

I've just performed a clean install of FreeBSD 8.0 on my system which is 
a triple boot with Win 7 and Ubuntu Linux.


I did a bit of Google'ing on this subject and found various people 
asking the same question only for much older versions of BSD.


What I have found out so far is that the driver is called msk0 I am 
guessing as on my other fairly similar Hp in Solaris the driver is named 
myk0 by the official Marvell driver. Ok different OS different name - 
possible and more then likely! :-)


Anyhow, I just would like to know since so far my system is blind deaf 
and dumb, as I have no network access at all and as result no GUI as I 
will build it from ports; which driver I'd need and also how to install 
it in the machine???


With my other system and Solaris the trick was to use a USB key, of 
which of course the GUI was in full operation making my life a little 
easier then having to use the CLI to discover then mount the drive.


Has anyone got any suggestions??

I have the CD1 x86_64 edition of media :-)

Many thanks,

Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd, postfix and push email

2010-03-28 Thread Jeffrey Goldberg
On Mar 28, 2010, at 1:36 AM, per...@pluto.rain.com wrote:

 Er, no.  POP3 and IMAP are pull services, wherein the client
 polls the server periodically for any newly-arrived messages.

IMAP, but not POP3, can be used to push, but the iPhone mail client doesn't 
support that as far as I know.  It does support being pushed to over Mobile Me, 
but not on regular IMAP.

-j


-- 
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd, postfix and push email

2010-03-28 Thread Ron



Jeffrey Goldberg wrote:

On Mar 28, 2010, at 1:36 AM, per...@pluto.rain.com wrote:

Er, no.  POP3 and IMAP are pull services, wherein the client 
polls the server periodically for any newly-arrived messages.


IMAP, but not POP3, can be used to push, but the iPhone mail client
doesn't support that as far as I know.  It does support being pushed
to over Mobile Me, but not on regular IMAP.



So how is Mobil Me and Exchange Servers (MS, Zimbra, etc) doing it?  That's what I'd like to replicate on my FreeBsd server.  This seems to be a well guarded secret I'd like to crack.  


On the iPhone, at least, the phone is not polling the servers, some kind of 
message (SMS?) is being sent to the phone that makes it put a little red badge 
on the corner of the mail app icon telling it how many messages are waiting.  
The messages don't seem to be download during the push, it's just a count (I 
could be wrong about this).

-- R



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd, postfix and push email

2010-03-28 Thread Dan Nelson
In the last episode (Mar 28), Ron said:
 Jeffrey Goldberg wrote:
  On Mar 28, 2010, at 1:36 AM, per...@pluto.rain.com wrote:
  Er, no.  POP3 and IMAP are pull services, wherein the client polls
  the server periodically for any newly-arrived messages.
  
  IMAP, but not POP3, can be used to push, but the iPhone mail client
  doesn't support that as far as I know.  It does support being pushed to
  over Mobile Me, but not on regular IMAP.
 
 So how is Mobil Me and Exchange Servers (MS, Zimbra, etc) doing it? 
 That's what I'd like to replicate on my FreeBsd server.  This seems to be
 a well guarded secret I'd like to crack.
 
 On the iPhone, at least, the phone is not polling the servers, some kind
 of message (SMS?) is being sent to the phone that makes it put a little
 red badge on the corner of the mail app icon telling it how many messages
 are waiting.  The messages don't seem to be download during the push, it's
 just a count (I could be wrong about this).

For ActiveSync at least, the phone has to keep a TCP connection to the
server open 24/7, and the server sends a notification when a new mail
arrives.  MobileMe probably works the same way.  The IMAP protocol supports
a similar notify on new mail option, but for some reason Apple doesn't use
it in their client.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd, postfix and push email

2010-03-28 Thread krad
On 28 March 2010 21:38, Dan Nelson dnel...@allantgroup.com wrote:

 In the last episode (Mar 28), Ron said:
  Jeffrey Goldberg wrote:
   On Mar 28, 2010, at 1:36 AM, per...@pluto.rain.com wrote:
   Er, no.  POP3 and IMAP are pull services, wherein the client polls
   the server periodically for any newly-arrived messages.
  
   IMAP, but not POP3, can be used to push, but the iPhone mail client
   doesn't support that as far as I know.  It does support being pushed to
   over Mobile Me, but not on regular IMAP.
 
  So how is Mobil Me and Exchange Servers (MS, Zimbra, etc) doing it?
  That's what I'd like to replicate on my FreeBsd server.  This seems to be
  a well guarded secret I'd like to crack.
 
  On the iPhone, at least, the phone is not polling the servers, some kind
  of message (SMS?) is being sent to the phone that makes it put a little
  red badge on the corner of the mail app icon telling it how many messages
  are waiting.  The messages don't seem to be download during the push,
 it's
  just a count (I could be wrong about this).

 For ActiveSync at least, the phone has to keep a TCP connection to the
 server open 24/7, and the server sends a notification when a new mail
 arrives.  MobileMe probably works the same way.  The IMAP protocol supports
 a similar notify on new mail option, but for some reason Apple doesn't
 use
 it in their client.

 --
Dan Nelson
dnel...@allantgroup.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


To totally confuse thin most modern mtas can easily be configured to pipe
mails to an external program or pipe. This can then to whatever, include
pushing stuff to a mobile phone I would imagine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd, postfix and push email

2010-03-28 Thread Jeffrey Goldberg
On Mar 28, 2010, at 3:49 PM, krad wrote:

 On 28 March 2010 21:38, Dan Nelson dnel...@allantgroup.com wrote:
 In the last episode (Mar 28), Ron said:
  Jeffrey Goldberg wrote:

   IMAP, but not POP3, can be used to push, but the iPhone mail client
   doesn't support that [...]

  So how is Mobil Me and Exchange Servers (MS, Zimbra, etc) doing it?

 For ActiveSync at least, the phone has to keep a TCP connection to the
 server open 24/7, and the server sends a notification when a new mail
 arrives.  MobileMe probably works the same way.  The IMAP protocol supports
 a similar notify on new mail option, but for some reason Apple doesn't use
 it in their client.

My understanding is that Apple wants all persistent connections to the iPhone 
to go through them, so that there is only one connection.  This is, putatively, 
for battery life issues.  Every pushable client on the iPhone doesn't maintain 
its own TCP connection but works through an API and has to have their service 
approved by Apple.

Apple made an exception for Exchange so that I could sell iPhones to businesses.

For better information than my possibly misremembered speculation, you would do 
well to check iPhone developer communities.

-j

-- 
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Marvell Yukon Driver for Hp notebook??

2010-03-28 Thread Warren Block

On Sun, 28 Mar 2010, Kaya Saman wrote:

I've just performed a clean install of FreeBSD 8.0 on my system which is a 
triple boot with Win 7 and Ubuntu Linux.


I did a bit of Google'ing on this subject and found various people asking the 
same question only for much older versions of BSD.


What I have found out so far is that the driver is called msk0 I am guessing 
as on my other fairly similar Hp in Solaris the driver is named myk0 by the 
official Marvell driver. Ok different OS different name - possible and more 
then likely! :-)


Anyhow, I just would like to know since so far my system is blind deaf and 
dumb, as I have no network access at all and as result no GUI as I will build 
it from ports; which driver I'd need and also how to install it in the 
machine???


Does the card show up in ifconfig?

If not, do a 'pciconf -lv' to find out which particular hardware you 
have.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


procmail regex help ... sometimes works, sometimes doesn't...

2010-03-28 Thread George Sanders


I have added a very standard, very common regex line to my .procmailrc to 
filter character sets I can't read:


UNREADABLE='[^?]*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|ks_c_5601|3Deuc-kr|koi8'
:0:
* ^Content-Type:.*multipart
* B ?? $ ^Content-Type:.*^?.*charset=?($UNREADABLE)
unreadable_messages


I know that this works because my unreadable_messages mail file is now full 
of messages with headers like:


From: =?GB2312?B?xMLTq9Or?= uigvru...@heki.net
Subject: =?GB2312?B?MjAxMMTqyMvBptfK1LS4w9bYytPKssO0?=
To: me m...@me.com
Content-Type: text/html;
charset=gb2312


However, a lot of mail gets through to my inbox that matches:


From: osdeiiftn...@gmail.com xjyfgz...@gmail.com
Reply-To: osdeiiftn...@gmail.com xjyfgz...@gmail.com
Message-ID: 533pbxxy2oc
To: me m...@me.com
Subject: Fw: 
\xb8\xf2\xad\xe8\xa5X\xa8\xd3\xbd\xe6~\xb1o\xb4\xa9\xa9f\xaa\xb1\xb5L\xaeM\xa4\xba\xaeg\xb2n\xa7o
X-Mailer: inhalation
Organization: Microsoft Outlook Express 6.00.2462.
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary=1-104247307-2712732737=:8213
Status: RO
X-Status:
X-Keywords:
X-UID: 63502

--1-104247307-2712732737=:8213
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: quoted-printable


However, big5 is very clearly listed in my regex above, and as far as I can 
tell, this mail should match perfectly...

I cannot see why these big5 emails are not matching my procmail regex ... is 
it obvious to anyone ?


  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ZFS - Raidz1 - how to recover during install

2010-03-28 Thread Gene
Hi -

I've been working on installing 8.0 using zfs and raidz1. I was using
instructions found on the wiki. I got to the point where instructions say to
cd to /dist/8.0* and discovered that the livefs cd for 8.0 has no such
directory. However, the usb memstick did. In order to get into, however, I had
to reboot the system. The question now is...

Once I'm back in fixit and have loaded opensolaris.ko and zfs.ko how do I
bring the dataset (zpool) online? I assume from the zfs docs that zpool
online zpool device is what I'm looking for, but I'm not sure just what the
device is.

Any hints?

Thanks,

IHN,
Gene

--
To everything there is a season,
And a time to every purpose under heaven.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-03-28 Thread Aristedes Maniatis

On 29/03/10 12:38 AM, Ion-Mihai Tetcu wrote:

The first one was done, update of graphics/png (including a shared lib
version bump), with about 5000 ports affected.


The UPDATING entry for the png update looks very wrong. Wrong date, wrong text, 
wrong instructions for portmaster.



20090328:
  AFFECTS: users of graphics/png
  AUTHOR: din...@freebsd.org

  The png library has been updated to version 1.4.1.  Please rebuild all
  ports that depend on it.

  If you use portmaster:

portmaster -r jpeg-

  If you use portupgrade:

portupgrade -fr graphics/jpeg





--
--
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd, postfix and push email

2010-03-28 Thread perryh
Dan Nelson dnel...@allantgroup.com wrote:
 For ActiveSync at least, the phone has to keep a TCP connection to
 the server open 24/7, and the server sends a notification when a
 new mail arrives.  MobileMe probably works the same way.  The IMAP
 protocol supports a similar notify on new mail option, but for
 some reason Apple doesn't use it in their client.

Sigh.  It's hardly the first time a major software company
insisted on improving a standard protocol instead of
maintaining compatibility/interoperability with the rest
of the world.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-03-28 Thread Aristedes Maniatis

On 29/03/10 1:15 PM, Garrett Cooper wrote:

portmaster -r png-


Is that correct? I haven't seen that notation before (although I might just 
have missed it in the docs).

I would have used

  portmaster -r graphics/png

Ari

--
--
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Enough Is Enough

2010-03-28 Thread Programmer In Training
On 03/28/10 09:46, Sergio de Almeida Lenzi wrote:
snip
 this scripts outputs the commands needed to fix the system
snip

Thanks! I'll give it a whirl tomorrow.
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.



signature.asc
Description: OpenPGP digital signature


Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-03-28 Thread Garrett Cooper
On Sun, Mar 28, 2010 at 7:17 PM, Aristedes Maniatis a...@ish.com.au wrote:
 On 29/03/10 1:15 PM, Garrett Cooper wrote:

 portmaster -r png-

 Is that correct? I haven't seen that notation before (although I might just
 have missed it in the docs).

 I would have used

  portmaster -r graphics/png

And yes, the directions are still wrong; it should be:

portmaster -r 'png-*'

Similarly since this was just a copy-paste of the jpeg
instructions, those ones are wrong as well.
Thanks,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: procmail regex help ... sometimes works, sometimes doesn't...

2010-03-28 Thread Mark Shroyer
On 3/28/2010 6:34 PM, George Sanders wrote:
 I have added a very standard, very common regex line to my
 .procmailrc to filter character sets I can't read:
 
 UNREADABLE='[^?]*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|ks_c_5601|3Deuc-kr|koi8'
 :0:
 * ^Content-Type:.*multipart
 * B ?? $ ^Content-Type:.*^?.*charset=?($UNREADABLE)
 unreadable_messages
 
 I know that this works because my unreadable_messages mail file is
 now full of messages with headers like:
 
 From: =?GB2312?B?xMLTq9Or?= uigvru...@heki.net
 Subject: =?GB2312?B?MjAxMMTqyMvBptfK1LS4w9bYytPKssO0?=
 To: me m...@me.com
 Content-Type: text/html;
 charset=gb2312
 
 However, a lot of mail gets through to my inbox that matches:
 
 From: osdeiiftn...@gmail.com xjyfgz...@gmail.com
 Reply-To: osdeiiftn...@gmail.com xjyfgz...@gmail.com
 Message-ID: 533pbxxy2oc
 To: me m...@me.com
 Subject: Fw: 
 \xb8\xf2\xad\xe8\xa5X\xa8\xd3\xbd\xe6~\xb1o\xb4\xa9\xa9f\xaa\xb1\xb5L\xaeM\xa4\xba\xaeg\xb2n\xa7o
 X-Mailer: inhalation
 Organization: Microsoft Outlook Express 6.00.2462.
 Mime-Version: 1.0
 Content-Type: multipart/alternative;
 boundary=1-104247307-2712732737=:8213
 Status: RO
 X-Status:
 X-Keywords:
 X-UID: 63502
 
 --1-104247307-2712732737=:8213
 Content-Type: text/plain; charset=big5
 Content-Transfer-Encoding: quoted-printable
 
 However, big5 is very clearly listed in my regex above, and as far
 as I can tell, this mail should match perfectly...
 
 I cannot see why these big5 emails are not matching my procmail
 regex ... is it obvious to anyone ?

This is just a shot in the dark, but do you find that the unreadable
messages that this rule successfully matches have the relevant
Content-Type header in the message's main header group, whereas the
messages that should match but fail to do so have the Content-Type
header in a MIME attachment, as in your example?

(Apologies for the imprecise terminology.)

-- 
Mark Shroyer
http://markshroyer.com/contact/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-03-28 Thread Garrett Cooper
On Sun, Mar 28, 2010 at 6:04 PM, Aristedes Maniatis a...@ish.com.au wrote:
 On 29/03/10 12:38 AM, Ion-Mihai Tetcu wrote:

 The first one was done, update of graphics/png (including a shared lib
 version bump), with about 5000 ports affected.

 The UPDATING entry for the png update looks very wrong. Wrong date, wrong
 text, wrong instructions for portmaster.



 20090328:
  AFFECTS: users of graphics/png
  AUTHOR: din...@freebsd.org

  The png library has been updated to version 1.4.1.  Please rebuild all
  ports that depend on it.

  If you use portmaster:

        portmaster -r jpeg-

  If you use portupgrade:

        portupgrade -fr graphics/jpeg

The text has been updated:

20100328:
  AFFECTS: users of graphics/png
  AUTHOR: din...@freebsd.org

  The png library has been updated to version 1.4.1.  Please rebuild all
  ports that depend on it.

  If you use portmaster:

portmaster -r png-

  If you use portupgrade:

portupgrade -fr graphics/png

Thanks,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Need some regex help - Guru's?

2010-03-28 Thread itbs
 Case in point regarding the server. Please cc me as I'm not 
subscribed via this account, and I can't receive for the same reason I 
can't send- damn Yahoo! 
 
 If anyone can help though it would be much appreciated- on both the 
regex or the yahoo problem :) 
 
 Cheers 
  

Need_some_regex_help_-_Guru_s?
Description: Binary data
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

When do binaries get removed?

2010-03-28 Thread Michael D. Norwick

Good evening;

I am using;
$uname -r
$8.0-RELEASE
under Sun VirtualBox 3.1.6.

I am a long time Debian GNU/Linux user who has just installed the above 
release.  I have installed and used FreeBSD in years past but that was 
around the 5.x-RELEASE.  I have had a time installing applications from 
the ports tree (a story for another day) and finally resorted to 
installing binaries from the install dvd to get the full working X 
distribution.  I wanted to start with the 'minimal' set of packages and 
build from there.  At the moment I have the distributed binaries 
installed and am compiling/installing gcc 4.4 and friends.
I have the current FreeBSD handbook but it does not seem to have the 
answer to the following question.
When building and installing an application from ports, how does the 
original binary or script, in /usr/bin, /usr/lib, /usr/etc..., from the 
distribution, get removed?  The make install foo command does not appear 
to symlink the original application location to the new one in 
/usr/local/whatever.  Does it even matter?


Thank You,
Michael D. Norwick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


When do binaries get removed?

2010-03-28 Thread Michael D. Norwick

Good evening;

I am using;
$uname -r
$8.0-RELEASE
hosted on Sun VirtualBox 3.1.6. (NOT O.S.E.) running on Debian 'lenny'.

I am a long time Debian GNU/Linux user who has just installed the above 
release.  I have installed and used FreeBSD in years past but that was 
around the 5.x-RELEASE.  I have had a time installing applications from 
the ports tree (a story for another day) and finally resorted to 
installing binaries from the install dvd to get a working X 
distribution.  I wanted to start with the 'minimal' set of packages and 
build from there.  3 trys at it failed at different points.  At the 
moment I have the distributed binaries installed and am 
compiling/installing gcc 4.4 and friends.
I have the current FreeBSD handbook but it does not seem to have the 
answer to the following question.
When building and installing an application from ports, how does the 
original binary or script, in /usr/bin, /usr/lib, /etc..., from the 
distribution, get removed?  The make install foo command does not appear 
to symlink the original application location to the new one in 
/usr/local/whatever.  Does it even matter?   From reading various docs 
on-line tonight it seems it might.


Thank You,
Michael D. Norwick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Marvell Yukon Driver for Hp notebook??

2010-03-28 Thread Kaya Saman

Thanks for the response Warren!!



Does the card show up in ifconfig?


No.



If not, do a 'pciconf -lv' to find out which particular hardware you 
have.


pciconf -lv says

Vendor: Marvell Semiconductor (Was Galileo Technology LTD)
Class: Network
Subclass: Ethernet



-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When do binaries get removed?

2010-03-28 Thread Adam Vande More
On Sun, Mar 28, 2010 at 7:03 PM, Michael D. Norwick mnorw...@centurytel.net
 wrote:

 Good evening;

 When building and installing an application from ports, how does the
 original binary or script, in /usr/bin, /usr/lib, /usr/etc..., from the
 distribution, get removed?


It doesn't.


 The make install foo command does not appear to symlink the original
 application location to the new one in /usr/local/whatever.  Does it even
 matter?


 What is your end goal?  man hier(7) if you want to know where things live.

This contains a simple method to to build a FreeBSD gui install.

http://lists.freebsd.org/pipermail/freebsd-questions/2010-February/212899.html

FreeBSD documentation isn't like Debian, if you follow the handbook exactly
and completely, it nearly always works.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pure-ftpd with mysql authentication

2010-03-28 Thread m.anis

Hi all,
I have problem with my pure-ftpd with mysql auth
I don't know where the error
I look on the database with phpmyadmin, and everything goes well

here my config:
pureftpd-mysql.conf

/MYSQLSocket  /tmp/mysql.sock
MYSQLServer localhost
MYSQLPort   3306
MYSQLUser mysqluser
MYSQLPassword mysqlpass
MYSQLDatabase mysqldb

/

pure-ftpd.conf

[...]
ChrootEveryone  yes
[...]
MySQLConfigFile   /usr/local/etc/pure-ftpd/pureftpd-mysql.conf
[...]
CreateHomeDir   yes
[...]

Thank for your help.

--
--
Best regards
Muhammad Anis

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS - Raidz1 - how to recover during install

2010-03-28 Thread Mikle
Try:
zpool import pool name
or zpool import
On Sun, Mar 28, 2010 at 05:45:56PM -0600, Gene wrote:
 Hi -
 
 I've been working on installing 8.0 using zfs and raidz1. I was using
 instructions found on the wiki. I got to the point where instructions say to
 cd to /dist/8.0* and discovered that the livefs cd for 8.0 has no such
 directory. However, the usb memstick did. In order to get into, however, I had
 to reboot the system. The question now is...
 
 Once I'm back in fixit and have loaded opensolaris.ko and zfs.ko how do I
 bring the dataset (zpool) online? I assume from the zfs docs that zpool
 online zpool device is what I'm looking for, but I'm not sure just what the
 device is.
 
 Any hints?
 
 Thanks,
 
 IHN,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org