Re-sending selected e-mail messages

2013-02-13 Thread Polytropon
I need a way to automatically re-sent stored e-mail messages
according to some criteria and like to ask for advice or
suggestions for an already existing solution before I start
reinventing the wheel. :-)

The messages in question are stored in MH format. This is a
tree where a mailbox equals a directory, and the individual
files in that directory equal the messages. They are numbered
1, 2, 3, 4, ..., and so on. Each message is in

Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

or

Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

or maybe even

Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

text format. Some of them might contain an attachment, which
is included in the file with something like

--Multipart=...
Content-Type: ...;
 name=...
Content-Disposition: attachment;
 filename=...
Content-Transfer-Encoding: base64
--Multipart=...---

Some messages are fully multipart.

So when iterating on ~/Mail/sent/1,2,3,4,5,... I get all the
messages. Each third line, To:, is the criteria to look at.
If it matches a given recipient, the mail should be sent again.
This can easily be done by the system's mailer which is properly
configured (and uses ISP's MX), so | mail -s maybe new subject
is possible. The message should already be properly pre-composed.

What is the easiest way to do this without reinventing the wheel,
or should I? :-)







-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Re-sending selected e-mail messages

2013-02-13 Thread Kurt Buff
On Wed, Feb 13, 2013 at 3:49 PM, Polytropon free...@edvax.de wrote:
 I need a way to automatically re-sent stored e-mail messages
 according to some criteria and like to ask for advice or
 suggestions for an already existing solution before I start
 reinventing the wheel. :-)

 The messages in question are stored in MH format. This is a
 tree where a mailbox equals a directory, and the individual
 files in that directory equal the messages. They are numbered
 1, 2, 3, 4, ..., and so on. Each message is in

 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable

 or

 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit

 or maybe even

 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit

 text format. Some of them might contain an attachment, which
 is included in the file with something like

 --Multipart=...
 Content-Type: ...;
  name=...
 Content-Disposition: attachment;
  filename=...
 Content-Transfer-Encoding: base64
 --Multipart=...---

 Some messages are fully multipart.

 So when iterating on ~/Mail/sent/1,2,3,4,5,... I get all the
 messages. Each third line, To:, is the criteria to look at.
 If it matches a given recipient, the mail should be sent again.
 This can easily be done by the system's mailer which is properly
 configured (and uses ISP's MX), so | mail -s maybe new subject
 is possible. The message should already be properly pre-composed.

 What is the easiest way to do this without reinventing the wheel,
 or should I? :-)

Perhaps mini_sendmail? Seems fairly capable, and scriptable.

Kurt
___
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: Re-sending selected e-mail messages

2013-02-13 Thread Lowell Gilbert
Kurt Buff kurt.b...@gmail.com writes:

 On Wed, Feb 13, 2013 at 3:49 PM, Polytropon free...@edvax.de wrote:
 I need a way to automatically re-sent stored e-mail messages
 according to some criteria and like to ask for advice or
 suggestions for an already existing solution before I start
 reinventing the wheel. :-)

[...]

 Perhaps mini_sendmail? Seems fairly capable, and scriptable.

Or maybe procmail's tools (I'm thinking in particular of procmail,
although there are some other bits and bobs that might relate also) 
would serve the particular selection criteria?
___
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: Re-sending selected e-mail messages

2013-02-13 Thread Waitman Gobble
On Feb 13, 2013 3:49 PM, Polytropon free...@edvax.de wrote:

 I need a way to automatically re-sent stored e-mail messages
 according to some criteria and like to ask for advice or
 suggestions for an already existing solution before I start
 reinventing the wheel. :-)

 The messages in question are stored in MH format. This is a
 tree where a mailbox equals a directory, and the individual
 files in that directory equal the messages. They are numbered
 1, 2, 3, 4, ..., and so on. Each message is in

 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable

 or

 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit

 or maybe even

 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit

 text format. Some of them might contain an attachment, which
 is included in the file with something like

 --Multipart=...
 Content-Type: ...;
  name=...
 Content-Disposition: attachment;
  filename=...
 Content-Transfer-Encoding: base64
 --Multipart=...---

 Some messages are fully multipart.

 So when iterating on ~/Mail/sent/1,2,3,4,5,... I get all the
 messages. Each third line, To:, is the criteria to look at.
 If it matches a given recipient, the mail should be sent again.
 This can easily be done by the system's mailer which is properly
 configured (and uses ISP's MX), so | mail -s maybe new subject
 is possible. The message should already be properly pre-composed.

 What is the easiest way to do this without reinventing the wheel,
 or should I? :-)







 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 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

I'm working on an email related project, you might hack it to work for you.

https://github.com/waitman/elmboxo

check out pmess.c it can do a single message. (the easy way to feed pmess a
single message is actually to feed the single message to elmboxo as it is
coded)

anyway its built to stuff them in a mongodb db, but I.m working on a free
nosql solution that works for my project. you can just chuck all those bits.

an idea.

Waitman Gobble
San Jose California
___
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: Re-sending selected e-mail messages

2013-02-13 Thread Robert Bonomi

 Date: Thu, 14 Feb 2013 00:49:13 +0100
 From: Polytropon free...@edvax.de
 To: FreeBSD Questions freebsd-questions@freebsd.org
 Subject: Re-sending selected e-mail messages

 I need a way to automatically re-sent stored e-mail messages
 according to some criteria and like to ask for advice or
 suggestions for an already existing solution before I start
 reinventing the wheel. :-)

 The messages in question are stored in MH format. 

 What is the easiest way to do this without reinventing the wheel,
 or should I? :-)

procmail is your friend.

  cat ~/sent* |procmail -f resendrc

where resendrc is:

   emailaddr=f...@bar.baz
 
   :0 
   *^To: *${emailaddr}
   *^Subject:\/.*$
   | formail -I Subject: {resend} ${MATCH} | $SENDMAIL -oi -t

Delete the 'formail' if you want the Subject: unmolested.


___
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 achieve E-Mail Notification on root login?

2013-02-12 Thread Matthias Petermann


Hello,

given there is a FreeBSD system with users in the wheel group, what is  
the best practise
to send out a notification via E-Mail if one of them becomes root via  
su? In an ideal

case the E-Mail would contain the user name and the time.

I thought about using sudo but this is not in the base system which I  
would prefer.


Kind regards,
Matthias


--
Matthias Petermann matth...@d2ux.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: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Polytropon
On Tue, 12 Feb 2013 13:24:52 +0100, Matthias Petermann wrote:
 
 Hello,
 
 given there is a FreeBSD system with users in the wheel group, what is  
 the best practise
 to send out a notification via E-Mail if one of them becomes root via  
 su? In an ideal
 case the E-Mail would contain the user name and the time.
 
 I thought about using sudo but this is not in the base system which I  
 would prefer.

I'm not sure if there already is a solution (provided in the
base system) that offers this functionality, but the fact of
a user having used su to su root is logged by the system.
The line is appended to /var/log/messages:

Feb 12 14:40:57 r56 su: poly to root on /dev/pts/2

The information you want is in there, and you could either use
the whole line, or apply some sed, awk or even perl to form a
message with less information (only date and user).

A scripted solution could monitor /var/log/messages for changes
and use the system's builtin mailer to deliver the message. Tools
like tail -f, grep and | mail could be involved. It should
be quite trivial to implement this and add a custom rc.d-style
script (or even few lines in ye olde /etc/rc.local).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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 achieve E-Mail Notification on root login?

2013-02-12 Thread Robert Huff

Polytropon writes:

   given there is a FreeBSD system with users in the wheel group, 
   what is the best practise to send out a notification
   via E-Mail if one of them becomes root via su? In an ideal
   case the E-Mail would contain the user name and the time.
  
  I'm not sure if there already is a solution (provided in the
  base system) that offers this functionality, but the fact of
  a user having used su to su root is logged by the system.
  The line is appended to /var/log/messages:
  
   Feb 12 14:40:57 r56 su: poly to root on /dev/pts/2
  
  The information you want is in there, and you could either use
  the whole line, or apply some sed, awk or even perl to form a
  message with less information (only date and user).
  
  A scripted solution could monitor /var/log/messages for changes
  and use the system's builtin mailer to deliver the message. Tools
  like tail -f, grep and | mail could be involved. It should
  be quite trivial to implement this and add a custom rc.d-style
  script (or even few lines in ye olde /etc/rc.local).

Take a look at the -p option of split.
The bigger question is how quickly do you need to know -
instantly?  once an hour?  once a day?  


Robert Huff

___
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 achieve E-Mail Notification on root login?

2013-02-12 Thread Frank Staals
Robert Huff roberth...@rcn.com writes:

 Polytropon writes:

   given there is a FreeBSD system with users in the wheel group, 
   what is the best practise to send out a notification
   via E-Mail if one of them becomes root via su? In an ideal
   case the E-Mail would contain the user name and the time.
  
  I'm not sure if there already is a solution (provided in the
  base system) that offers this functionality, but the fact of
  a user having used su to su root is logged by the system.
  The line is appended to /var/log/messages:
  
  Feb 12 14:40:57 r56 su: poly to root on /dev/pts/2
  
  The information you want is in there, and you could either use
  the whole line, or apply some sed, awk or even perl to form a
  message with less information (only date and user).
  
  A scripted solution could monitor /var/log/messages for changes
  and use the system's builtin mailer to deliver the message. Tools
  like tail -f, grep and | mail could be involved. It should
  be quite trivial to implement this and add a custom rc.d-style
  script (or even few lines in ye olde /etc/rc.local).

   Take a look at the -p option of split.
   The bigger question is how quickly do you need to know -
 instantly?  once an hour?  once a day?  


   Robert Huff

I don't think anything other than instantly makes sense. If it would be
a batch thing sent once an hour/day/whatever then an attacker could
simply prevent the mail being sent, and/or remove her entry from the
log. 

Furthermore, one should realize that any setup would only be guaranteed
to report the first breach/login. In other words: after the first notice
that someone logged in as root you can no longer trust that you will get
further notices (assuming that the emails safely arrive once they have
actually left the system in the first place). Unless you can somehow
verify that your notification system/setup was untouched by the person
who logged in (e.g. since you were the one that actually logged in as
root).

Regards, 

-- 

- Frank
___
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 achieve E-Mail Notification on root login?

2013-02-12 Thread Zyumbilev, Peter
Hi,

Allow sudo bash only.

Modify .bashrc to mail last entry from the log

http://tldp.org/LDP/abs/html/sample-bashrc.html

So you will get alert instantly :-)


Peter



On 12/02/2013 16:31, Robert Huff wrote:
 
 Polytropon writes:
 
   given there is a FreeBSD system with users in the wheel group, 
   what is the best practise to send out a notification
   via E-Mail if one of them becomes root via su? In an ideal
   case the E-Mail would contain the user name and the time.
  
  I'm not sure if there already is a solution (provided in the
  base system) that offers this functionality, but the fact of
  a user having used su to su root is logged by the system.
  The line is appended to /var/log/messages:
  
  Feb 12 14:40:57 r56 su: poly to root on /dev/pts/2
  
  The information you want is in there, and you could either use
  the whole line, or apply some sed, awk or even perl to form a
  message with less information (only date and user).
  
  A scripted solution could monitor /var/log/messages for changes
  and use the system's builtin mailer to deliver the message. Tools
  like tail -f, grep and | mail could be involved. It should
  be quite trivial to implement this and add a custom rc.d-style
  script (or even few lines in ye olde /etc/rc.local).
 
   Take a look at the -p option of split.
   The bigger question is how quickly do you need to know -
 instantly?  once an hour?  once a day?  
 
 
   Robert Huff
 
 ___
 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: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Karl Vogel
 Robert Huff roberth...@rcn.com writes:

R The bigger question is how quickly do you need to know - instantly?
R once an hour?  once a day?

 On 12 Feb 2013 15:39:56 +0100, Frank Staals fr...@fstaals.net said:

F I don't think anything other than instantly makes sense. If it would be
F a batch thing sent once an hour/day/whatever then an attacker could
F simply prevent the mail being sent, and/or remove her entry from the
F log.  Furthermore, one should realize that any setup would only be
F guaranteed to report the first breach/login.

   Yup.  I can see two ways around this, and the first one is ugly.

   1.  Rename su and make it executable only by root, so you can't bypass
   the part that handles the email alert:

   # mv /usr/bin/su /usr/bin/sulocal
   # chmod 700 /usr/bin/sulocal

   2.  Create a script in a directory accessible only by root:

   # cat /root/bin/emailalert
   #!/bin/sh
   echo root login by `/usr/bin/id -un` | exec /path/to/sendmail -t
   exit 1

   3.  Replace /usr/bin/su with a small setuid C program to call the
   script and then run the real su, something like:

   main(int argc, char **argv, char **envp) {
   system(/root/bin/emailalert);
   execve(/usr/bin/sulocal, argv, envp);
   exit(1);
   }

   The second (better) way is to have your logs immediately forwarded to
   another host specifically set up for intrusion detection, install a
   log-monitoring system there, and send the message from there.  This way,
   the original logs are more likely to be intact when you investigate.

-- 
Karl Vogel  I don't speak for the USAF or my company

Some guy just yelled at me for texting and driving.  I told him to
get off my hood and mind his own business.
___
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 achieve E-Mail Notification on root login?

2013-02-12 Thread Chris Hill

On Tue, 12 Feb 2013, Zyumbilev, Peter wrote:


Allow sudo bash only.


The OP didn't want to use sudo because it's not in the base system. I 
would guess he also doesn't want to use bash, since it too is not in the 
base system.


 [ snip ]

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
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


IP - e-mail

2012-06-06 Thread Dánielisz László
Hi everybody,

Let say my computer is connected to the internet with a cable modem and has a 
dynamic IP address via DHCP. This address is refreshed after every random days.
I want to know the new address even when I'm not home. Like send an e-mail with 
the new IP, I already know how to do this, but how can I track the event when 
my computer receives the new IP?
Any ideas or same issues?

Thx!
Laszlo
___
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: IP - e-mail

2012-06-06 Thread Matthias Apitz
El día Wednesday, June 06, 2012 a las 02:06:48AM -0700, Dánielisz László 
escribió:

 Hi everybody,
 
 Let say my computer is connected to the internet with a cable modem and has a 
 dynamic IP address via DHCP. This address is refreshed after every random 
 days.
 I want to know the new address even when I'm not home. Like send an e-mail 
 with the new IP, I already know how to do this, but how can I track the event 
 when my computer receives the new IP?
 Any ideas or same issues?

Hi,

Run this in a cronjob:

lynx -dump myip.nl | fgrep 'WAN IP'

strore the result in a file and when it changes, trigger a mail;

HIH

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: IP - e-mail

2012-06-06 Thread Robert Huff

Matthias Apitz writes:

   Let say my computer is connected to the internet with a cable
  modem and has a dynamic IP address via DHCP. This address is
  refreshed after every random days.

   I want to know the new address even when I'm not home. Like
  send an e-mail with the new IP, I already know how to do this,
  but how can I track the event when my computer receives the new
  IP?

  Run this in a cronjob:
  
  lynx -dump myip.nl | fgrep 'WAN IP'
  
  strore the result in a file and when it changes, trigger a mail;

Or, using only tools in the base system:

ifconfig | head | grep inet  | awk '{print $2}'


Robert Huff

___
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: IP - e-mail

2012-06-06 Thread Matthias Apitz
El día Wednesday, June 06, 2012 a las 09:17:47AM -0400, Robert Huff escribió:

   Run this in a cronjob:
   
   lynx -dump myip.nl | fgrep 'WAN IP'
   
   strore the result in a file and when it changes, trigger a mail;
 
   Or, using only tools in the base system:
 
 ifconfig | head | grep inet  | awk '{print $2}'

This will not work if your host has some private addr which is NAT'ed by a
router; the real test is ask some remote side how I do apear to you?
ofc you could do this as well by SSH'ing to some side and asking with
netstat(1) there (which may be shows another NAT'ed addr too :-))

Trust me, the above lynx is the nearly only robust version.

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: IP - e-mail

2012-06-06 Thread Robert Bonomi
m
 From owner-freebsd-questi...@freebsd.org  Wed Jun  6 07:37:57 2012
 Date: Wed, 6 Jun 2012 02:06:48 -0700 (PDT)
 From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= laszlo_daniel...@yahoo.com
 To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Subject: IP - e-mail

 Hi everybody,

 Let say my computer is connected to the internet with a cable modem and h
 as a dynamic IP address via DHCP. This address is refreshed after every r
 andom days.
 I want to know the new address even when I'm not home. Like send an e-mai
 l with the new IP, I already know how to do this, but how can I track the
 event when my computer receives the new IP?
 Any ideas or same issues?

Schedule a 'cron' job to run as frequently as you like.
Have it:
  a) do an 'ifconfig -a', or maybe just check the 'interface of interest'.
  b) 'diff' that output against a 'reference' copy from the previous run
  c) send an email if diff reports differences
  d) save the ifconfig output for referene in the next run 


___
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: IP - e-mail

2012-06-06 Thread Sean Cavanaugh
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Robert Huff
 Sent: Wednesday, June 06, 2012 9:18 AM
 To: Matthias Apitz
 Cc: freebsd-questions@freebsd.org
 Subject: Re: IP - e-mail
 
 
 Matthias Apitz writes:
 
Let say my computer is connected to the internet with a cable
  modem and has a dynamic IP address via DHCP. This address is
  refreshed after every random days.
 
I want to know the new address even when I'm not home. Like  send
  an e-mail with the new IP, I already know how to do this,  but how can
  I track the event when my computer receives the new  IP?
 

If you are using it so you know what IP to hit from outside your network, I
would also recommend taking a look at a service like DynDNS as you would
have a DNS name that would auto correct for new IP.

___
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: IP - e-mail

2012-06-06 Thread Mark Felder
On Wed, 06 Jun 2012 09:11:02 -0500, Robert Bonomi  
bon...@mail.r-bonomi.com wrote:



Matthias, your lynx-based 'solution' does *NOT* solve the OP's question.


Incorrect; it does solve his problem.


He wants to know -when- his DHCP assigned address changes.  Consider
what happens if both the expired address and the new address are behind
the _same_ NAT translation.  The internal addrress changes, but the
external one does not.


Please people, read carefully: His ISP is handing out his public IP via  
DHCP. This is normal for consumer internet connections. He doesn't care  
about his internal RFC 1918 IP which is handed out by his router's DHCP  
server; that's an easy problem to solve.

___
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


USA Bulk Email Marketing Company's E-mail Service provides a quick simple way for you to send bulk e-mail.

2012-02-16 Thread massmail servers
*Click Here* http://www.massmailservers.com/ to visit our main website

[image: Help using Google Talk] gtalk:chat?jid=mmshelpl...@gmail.com[image:
Help using Yahoo] ymsgr:sendIM?massmailserv...@yahoo.com[image: Help
using Skype] skype:massmailservers?chat

*Bulk Email SMTP SERVERS*

Thinking about using email to market to new customer? There is no doubt
that email marketing/bulk email is a reliable cost effective way to bring
increased business to your company. Finding new customers and keep in
contact with existing customers, email marketing is the only affordable
solution.

When other email marketing providers say “no” we say “yes!” When other say
“call for a quote” we say look at our affordable plans.
MMS email servers have quickly become the number 1 choice for all your
email marketing needs. After years of Email Marketing experience there is
only a handful of people that know how to setup and prepare a server to
meet the requirements of most major ISPs email providers.

*Are Having trouble getting your emails delivered?*

We understand and know what requirements are needed. From *SPF records*,
installing *Domain Keys*, *IP rDNS* and registering feed back loops.

Do you know how to register your domain with Gmail? Do you know how to
register your IP with MSN. No Doubt, MMS Servers are your best choice!

Only MMS email hosting servers provide a complete solution. From Month to
Month email server access, Affordable Yearly plans, Dedicated IP email
servers and Whitelisted email server, Shared SMTP servers, Dedicated SMTP
Bulk servers. Plans including our award winning software Mass Mailer,
opt-out page, newsletter templates and state-of-art email cleaners. MMS
email servers include guaranteed clean IPs with high IP reputation from our
US and UK based data centers.

Pricing



Emails Per Month

Price

Place Order

*Plan 1*

*100,000*-*400,000*

*$100*

Order Now http://clients.massmailservers.net/cart.php?a=addpid=9

*Plan 2*

*400,000-100,*

*$150*

Order Now http://clients.massmailservers.net/cart.php?a=addpid=10

*Plan 3*

*100,-200,*

*$200*

Order Now http://clients.massmailservers.net/cart.php?a=addpid=11

*Plan 4*

*200,-300,*

*$250*

Order Now http://clients.massmailservers.net/cart.php?a=addpid=12

*Unlimited*

*Send Unlimited number of emails*

Click Here Dedicated Email
Serverhttp://www.massmailservers.net/services/dedicated-bulk-email-servers-2/


*Discount Coupon: *2011 (apply this coupon and get 25% discount on all
packages).



   - Key Features
   - 1. One Dedicated IP *(free ip replacement if become blacklist).*
   - 2. One SMTP/POP account.
   - 3. RDNS.
   - 4. Domain Keys.
   - 5. SPF Records.
   - 6. Send your messages in both Text and HTML format.
   - 7. Your ISP won’t see that you are sending out bulk email!
   - 8. All email broadcasting is routed through our bulk email servers and
   bandwidth – not yours.
   - 9. Gets email delivered directly from your PC into your recipient’s
   mailbox without using your ISP’s e-mail server resources!
   - 10. Broadcast your bulk email marketing campaigns anytime from any
   location in the world.
   - 11. Port 25 ISP not required (not affected by port 25 blocking issues).
   - 12. No long term contracts.
   - 13.* Reliability and 100% Bulk Friendly Guaranteed!*
   - 14. Includes all phone, email, and chat technical support 24/7.
   - 15.* No hourly or daily limit!!*
___
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


Unable to reply immediately Re: [WARNING: VIRUS REMOVED] Delivery reports about your e-mail

2011-07-14 Thread E.S. Sherratt
I shall be reading emails only very intermittently until August 7th,
but will reply as soon as I can.

If you have a query concerning the MA in Aegean Archaeology, please
contact Kathryn Goldsack (k.golds...@sheffield.ac.uk).

Sue Sherratt

-- 
Dr E.S. Sherratt
Department of Archaeology
University of Sheffield
Northgate House
West Street
Sheffield S1 4ET

http://www.archatlas.dept.shef.ac.uk/Home.php
___
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


E-Mail scaling question

2010-12-21 Thread Mark Moellering
Hello All,
My company needs a [new] e-mail solution for a product rollout.  Rather than 
have a few e-mail domains with lots of addresses, the solution we need is for 
a very few (mostly one, very rarely more than 3) accounts on upwards of tens 
of thousands of domains.  

I can't find any info on scaling sendmail or postfix to this many domains.  If 
anyone has any info, knowledge, horror stories, etc. It would be greatly 
appreciated

Also, I am assuming that to play nice, we need a dedicated IP per domain, so I 
may have to survive setting that up before I even get to the e-mail.  If 
anyone knows of a legitimate way to set up an e-mail domain on a shared IP and 
not have half of the e-mail servers assume we are spammers, let me know.

Thanks in advance

Mark Moellering
classcreator.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: E-Mail scaling question

2010-12-21 Thread Diego Arias
On Tue, Dec 21, 2010 at 2:39 PM, Mark Moellering m...@msen.com wrote:

 Hello All,
 My company needs a [new] e-mail solution for a product rollout.  Rather
 than
 have a few e-mail domains with lots of addresses, the solution we need is
 for
 a very few (mostly one, very rarely more than 3) accounts on upwards of
 tens
 of thousands of domains.

 I can't find any info on scaling sendmail or postfix to this many domains.
  If
 anyone has any info, knowledge, horror stories, etc. It would be greatly
 appreciated

 Also, I am assuming that to play nice, we need a dedicated IP per domain,
 so I
 may have to survive setting that up before I even get to the e-mail.  If
 anyone knows of a legitimate way to set up an e-mail domain on a shared IP
 and
 not have half of the e-mail servers assume we are spammers, let me know.

 Thanks in advance

 Mark Moellering
 classcreator.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



You can set an IP only for mail for all the domains and point the MX Records
to it. The PTR record just point it to the server real name and thats it.
-- 
Still Going Strong!!!
___
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: E-Mail scaling question

2010-12-21 Thread Chuck Swiger
On Dec 21, 2010, at 11:39 AM, Mark Moellering wrote:
 My company needs a [new] e-mail solution for a product rollout.  Rather than 
 have a few e-mail domains with lots of addresses, the solution we need is for 
 a very few (mostly one, very rarely more than 3) accounts on upwards of tens 
 of thousands of domains.

I don't see much value in setting up tens of thousands of what sound like 
vanity domains, but you'll need postmaster@ working at each of these domains to 
be even minimally compliant with RFC-822/2822/etc, and most people expect 
abuse@ to work also.

 I can't find any info on scaling sendmail or postfix to this many domains.  
 If 
 anyone has any info, knowledge, horror stories, etc. It would be greatly 
 appreciated

You'll want to use hash table map type for sendmail's virtusertable or 
Postfix's virtual table-- see /usr/share/sendmail/cf/README or 
/usr/local/share/doc/postfix/VIRTUAL_README.

 Also, I am assuming that to play nice, we need a dedicated IP per domain, so 
 I 
 may have to survive setting that up before I even get to the e-mail.  If 
 anyone knows of a legitimate way to set up an e-mail domain on a shared IP 
 and 
 not have half of the e-mail servers assume we are spammers, let me know.

There's nothing unusual about having one IP serve as the MX for many domains.  
After all, many hosting companies provided a shared email solution.

What matters most to spam checking is the mail contents, whether forward and 
reverse DNS match, whether postmaster@ and abuse@ works, and whether bounces, 
address verification, etc are handled properly.

Regards,
-- 
-Chuck

___
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: E-Mail scaling question

2010-12-21 Thread tomasz dereszynski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 21/12/2010 19:39, Mark Moellering wrote:
 Hello All,
 My company needs a [new] e-mail solution for a product rollout.  Rather than 
 have a few e-mail domains with lots of addresses, the solution we need is for 
 a very few (mostly one, very rarely more than 3) accounts on upwards of tens 
 of thousands of domains.  
 
 I can't find any info on scaling sendmail or postfix to this many domains.  
 If 
 anyone has any info, knowledge, horror stories, etc. It would be greatly 
 appreciated
 
 Also, I am assuming that to play nice, we need a dedicated IP per domain, so 
 I 
 may have to survive setting that up before I even get to the e-mail.  If 
 anyone knows of a legitimate way to set up an e-mail domain on a shared IP 
 and 
 not have half of the e-mail servers assume we are spammers, let me know.
 
 Thanks in advance
 
 Mark Moellering
 classcreator.com


Any (or almost any) MTA you pick is able to handle 100's of domains with
few addresses on them. Once you start running AV/Antispam and work our
expected volume you may start thinking about performance issues...

Question is what are you actually trying to achieve? Objectives? what is
your business problem?

Start from there and work your way out.

There are plenty of companies offering hosted mail solution which may
turn way cheaper then doing it yourself and so on.


- -- 
bEsT rEgArDs|   Confidence is what you have before you
tomasz dereszynski  |   understand the problem. -- Woody Allen
|
Spes confisa Deo|   In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different. -- Albert Einstein

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNETXsAAoJEF8D4Gbs1j4hS4QIALlbqNOI3mjFJ54qsltHJ+za
uuwEpUBro6anypYew+pdom2RXoSkNI0lsEnL9Yp73fa7Bgj/MWfjvqsBOCJn1oVS
4fovXamsS+2Xu/msOEE09krSMW5bKOLm5PUxcpLdBLDauZgPx4YmEaqGcgKhH884
YUtKtT2suJvCitvPW8pnfc3jUYAmvs+GFjMVcDDXVmumQxDmk3DRFpqZGtbdzE9d
m47JWxxnmZAyAalZ87Bn8Dnc3BTzsdEQGF4gfyQ+3ai2e037a0/35Bc92Z6gZXFP
FqWMa/b8Z/UV33+U+7jhJ9cQBssBT/jKF/OXlfkar0A4e9+VW7ruBbQow2yqOPY=
=54/i
-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: change the password e-mail account

2010-08-22 Thread jhell
 All senders, with this the contents of letter, an urgent need to change
 the password e-mail account!
 I think that broke password mailboxes...
 
From my email too, came a letter to the mailing list, but I did not
 send it :(

Bull$hit, You can knock that crap off right now or your no better than
the person that set this garbage up or your the person behind it trying
to work some social engineering tactic that is playing out like a script
kiddie on k00laid.


Regards,

-- 

 jhell,v
___
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


change the password e-mail account

2010-08-19 Thread Ivan Klymenko
В Thu, 19 Aug 2010 07:04:10 -0400
Jerry freebsd.u...@seibercom.net пишет:

 On Thu, 19 Aug 2010 19:57:28 +1000
 Roland Smith rsm...@xs4all.nl articulated:
 
  
 Dear Sir/Madam,
 Your email was unable reach the intended person that you were
  sending it to.
 For more information on our business please click on the
  following link:
 [1]Click here for our website
 We look forward to your continued business in the future.
 Regards,
 Webmaster
  
  References
  
 1. http://www.downwind.com.au/avdir/rd.php?id=7564
 
 
 Why is this crap polluting this list? I have been receiving multiple
 copies of this junk for awhile now. The link simple redirects to:  
 
 http://www.searchmagna.com/?domain=xpbargains.netfolder=404648785ts=pl
 
 Isn't there any way to stop this garbage?
 

All senders, with this the contents of letter, an urgent need to change
the password e-mail account!
I think that broke password mailboxes...

From my email too, came a letter to the mailing list, but I did not
send it :(
___
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: [6.3] Get e-mail when CTRL-ALT-DEL is used?

2010-07-12 Thread Gilles
On Thu, 08 Jul 2010 14:29:59 +0400, ait a...@rocc.ru wrote:
Maybe you can use the /etc/rc.shutdown script, there's a line at the end 
of it:

Thanks everyone for the help.

___
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


[6.3] Get e-mail when CTRL-ALT-DEL is used?

2010-07-08 Thread Gilles
Hello

This is on a remote 6.3 host: I'd like to get an e-mail if a user hits
the CTRL-ALT-DEL to reboot the server.

Googling told me that the use of the three-key combo can be
enabled/disabled when compiling a new kernel, but not how to manage
this feature when it's enabled in a running kernel.

Is there a configuration file somewhere that would let me add e-mail
support for this action?

Thank you.

___
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: [6.3] Get e-mail when CTRL-ALT-DEL is used?

2010-07-08 Thread ait

On 07/08/2010 14:12, Gilles wrote:

Hello

This is on a remote 6.3 host: I'd like to get an e-mail if a user hits
the CTRL-ALT-DEL to reboot the server.

Googling told me that the use of the three-key combo can be
enabled/disabled when compiling a new kernel, but not how to manage
this feature when it's enabled in a running kernel.

Is there a configuration file somewhere that would let me add e-mail
support for this action?

Thank you.

___
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



Maybe you can use the /etc/rc.shutdown script, there's a line at the end 
of it:


...

# Insert other shutdown procedures here

...


Best wishes,

Dmitry.


___
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: [6.3] Get e-mail when CTRL-ALT-DEL is used?

2010-07-08 Thread George Davidovich
On Thu, Jul 08, 2010 at 12:12:27PM +0200, Gilles wrote:
 This is on a remote 6.3 host: I'd like to get an e-mail if a user hits
 the CTRL-ALT-DEL to reboot the server.
 
 Googling told me that the use of the three-key combo can be
 enabled/disabled when compiling a new kernel, but not how to manage
 this feature when it's enabled in a running kernel.
 
 Is there a configuration file somewhere that would let me add e-mail
 support for this action?

Assuming you want to know whether the server was rebooted (as opposed to
whether a user invoked a given key combination), adding something
along the lines of the following to root's crontab(5) should suffice:

  @reboot echo `hostname` rebooted \
  | mail -s `hostname` rebooted gil...@example.org

-- 
George
___
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: [6.3] Get e-mail when CTRL-ALT-DEL is used?

2010-07-08 Thread RW
On Thu, 08 Jul 2010 12:12:27 +0200
Gilles gilles.gana...@free.fr wrote:

 Hello
 
 This is on a remote 6.3 host: I'd like to get an e-mail if a user hits
 the CTRL-ALT-DEL to reboot the server.
 
 Googling told me that the use of the three-key combo can be
 enabled/disabled when compiling a new kernel, but not how to manage
 this feature when it's enabled in a running kernel.
 

If you put hw.syscons.kbd_reboot=0 in /etc/sysctl.conf, reboot by
CTRL-ALT-DEL is disabled.

___
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


downloading e-mail is blocking network

2010-05-19 Thread Marco Beishuizen

Hi,

I'm having a strange network problem. Every day, when I turn on my 
computer, fetchmail is started and procmail is putting all my mail in the 
correct mailboxes. This takes some time because I receive a few hundred 
e-mails a day (mostly mailing lists).


The strange thing is that when the e-mail is being downloaded, all other 
network traffic seems blocked. So browsing the internet is not possible 
when fetchmail/procmail is busy. At first I thought I had a problem with 
DNS and/or DHCP and/or my ADSL modem because after a reset of the modem, 
the problem mostly went away, and there were some hostname not found 
errors in my logfiles. But today I just waited for a while and discovered 
that when fetchmail/procmail is finished, the internet suddenly was 
reachable again.


So has anyone has seen fetchmail/procmail blocking network traffic before?

Regards,
Marco

--
You may my glories and my state dispose,
But not my griefs; still am I king of those.
-- William Shakespeare, Richard II
___
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: downloading e-mail is blocking network

2010-05-19 Thread Chuck Swiger
Hi, Marco--

On May 19, 2010, at 12:15 PM, Marco Beishuizen wrote:
 I'm having a strange network problem. Every day, when I turn on my computer, 
 fetchmail is started and procmail is putting all my mail in the correct 
 mailboxes. This takes some time because I receive a few hundred e-mails a day 
 (mostly mailing lists).
 
 The strange thing is that when the e-mail is being downloaded, all other 
 network traffic seems blocked. So browsing the internet is not possible when 
 fetchmail/procmail is busy. At first I thought I had a problem with DNS 
 and/or DHCP and/or my ADSL modem because after a reset of the modem, the 
 problem mostly went away, and there were some hostname not found errors in 
 my logfiles. But today I just waited for a while and discovered that when 
 fetchmail/procmail is finished, the internet suddenly was reachable again.
 
 So has anyone has seen fetchmail/procmail blocking network traffic before?

Are you using NAT?

It sounds like something has a limited number of NAT state slots available, and 
is dropping connections past that limit.  It probably will help to try to 
serialize the activity of fetchmail / procmail so that they aren't opening new 
connections for every email being processed, if that is what is going on.

Regards,
-- 
-Chuck

___
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: downloading e-mail is blocking network

2010-05-19 Thread krad
On 19 May 2010 20:21, Chuck Swiger cswi...@mac.com wrote:

 Hi, Marco--

 On May 19, 2010, at 12:15 PM, Marco Beishuizen wrote:
  I'm having a strange network problem. Every day, when I turn on my
 computer, fetchmail is started and procmail is putting all my mail in the
 correct mailboxes. This takes some time because I receive a few hundred
 e-mails a day (mostly mailing lists).
 
  The strange thing is that when the e-mail is being downloaded, all other
 network traffic seems blocked. So browsing the internet is not possible when
 fetchmail/procmail is busy. At first I thought I had a problem with DNS
 and/or DHCP and/or my ADSL modem because after a reset of the modem, the
 problem mostly went away, and there were some hostname not found errors in
 my logfiles. But today I just waited for a while and discovered that when
 fetchmail/procmail is finished, the internet suddenly was reachable again.
 
  So has anyone has seen fetchmail/procmail blocking network traffic
 before?

 Are you using NAT?

 It sounds like something has a limited number of NAT state slots available,
 and is dropping connections past that limit.  It probably will help to try
 to serialize the activity of fetchmail / procmail so that they aren't
 opening new connections for every email being processed, if that is what is
 going on.

 Regards,
 --
 -Chuck

 ___
 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


I'd be surprised if its that as you would have to have 1000's of connections
open to cause an issue like that, even one a fairly low end router.

One simple way round would be to schedule your computer to turn on an hour
or so before you need to use it. A lot of bios have this feature these days
___
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: downloading e-mail is blocking network

2010-05-19 Thread Marco Beishuizen

On Wed, 19 May 2010, Chuck Swiger wrote:


Are you using NAT?


Not that I know of.

It sounds like something has a limited number of NAT state slots 
available, and is dropping connections past that limit.  It probably 
will help to try to serialize the activity of fetchmail / procmail so 
that they aren't opening new connections for every email being 
processed, if that is what is going on.


Seems worth trying to increase this number but how do I do that? Is this 
changable in FreeBSD or do I change this in the modem (couldn't find 
anything about this in the modem though)?


Regards,
Marco
--
Women who want to be equal to men lack imagination.
___
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: downloading e-mail is blocking network

2010-05-19 Thread Chuck Swiger
On May 19, 2010, at 1:44 PM, Marco Beishuizen wrote:
 On Wed, 19 May 2010, Chuck Swiger wrote:
 Are you using NAT?
 
 Not that I know of.

You presumably would know from the IP your machine has-- if it's RFC-1918 
unroutable, NAT is involved.

 It sounds like something has a limited number of NAT state slots available, 
 and is dropping connections past that limit.  It probably will help to try 
 to serialize the activity of fetchmail / procmail so that they aren't 
 opening new connections for every email being processed, if that is what is 
 going on.
 
 Seems worth trying to increase this number but how do I do that? Is this 
 changable in FreeBSD or do I change this in the modem (couldn't find anything 
 about this in the modem though)?

It would be in whatever device is doing NAT, assuming it is being used.
Running tcpdump against your traffic during this sort of problem would likely 
be informative.

Regards,
-- 
-Chuck

___
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: downloading e-mail is blocking network

2010-05-19 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/05/2010 21:48:36, Chuck Swiger wrote:
 On May 19, 2010, at 1:44 PM, Marco Beishuizen wrote:
 On Wed, 19 May 2010, Chuck Swiger wrote:
 Are you using NAT?

 Not that I know of.
 
 You presumably would know from the IP your machine has-- if it's RFC-1918 
 unroutable, NAT is involved.
 
 It sounds like something has a limited number of NAT state slots available, 
 and is dropping connections past that limit.  It probably will help to try 
 to serialize the activity of fetchmail / procmail so that they aren't 
 opening new connections for every email being processed, if that is what is 
 going on.

 Seems worth trying to increase this number but how do I do that? Is this 
 changable in FreeBSD or do I change this in the modem (couldn't find 
 anything about this in the modem though)?
 
 It would be in whatever device is doing NAT, assuming it is being used.
 Running tcpdump against your traffic during this sort of problem would likely 
 be informative.

Hmmm... I wonder if it could be something like this?

http://www.benzedrine.cx/ackpri.html

although at first glance, the traffic flows would be in the wrong
direction to trigger this effect.

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/

iEYEARECAAYFAkv0x5sACgkQ8Mjk52CukIzCBACdGFOr54HVxLPV6XRwK9PFu6KF
zhsAnRm4m7sIH9/CeMXKIcopWhubbn2G
=DJjY
-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


Delivery reports about your e-mail [Incident:100201-010615]

2010-02-02 Thread The BigPond Team
---


Thanks for contacting BigPond.We aim to respond to your email query within two 
business days, however due to a larger than expected demand for our services 
wait times are currently exceeding two business days. We apologise for any 
inconvenience and will get back to you with an answer to your query as soon as 
possible. Kind regards,The BigPond Team 
nbsp;Privacynbsp;nbsp;nbsp;|nbsp;nbsp;nbsp; Terms of Usereg; Registered 
trade mark of Telstra Corporation Limited. ABN 33 051 775 556.nbsp;nbsp;This 
communication may contain CONFIDENTIAL information of Telstra Corporation 
Limited (ABN 33 051 775 556). If you are not an intended recipient, you MUST 
NOT keep, forward, copy, use, save or rely on this communication, and any such 
action is unauthorised and prohibited. If you have received
this communication in error, please reply to this e-mail to notify the sender 
of its incorrect delivery, and then delete both it and your reply.nbsp;

___
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


i've questions sure this e-mail for questions

2010-01-09 Thread libyan linux
hello sir
i am wanyce ashoura
from Libya i notice in Libya and Africa there is no community for BSD
and i start manged some small group of bsd group
so if that not bothering you cause my language english not so good
ok and i am new in bsd world and i wasn't use windows xp sure
i start with slackware and i notice there are bsd so i say let me
test it and i like so much
i want understanding this
freebsd and openbsd and pcbsd
not is distributor as gnu linux yes or not
cause there just few os named bsd i know bsd is open source but not
free software
here i am not talk about free of charging  .
so my questions is bsd is not free software mean i cant make distributor on bsd
is what i do now on my pc not distributor for business just for my own
small work like manged my network with me friend's and play costuming
every thing as i want so
thank you for your time
___
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: i've questions sure this e-mail for questions

2010-01-09 Thread Mike Jeays
On January 9, 2010 07:28:24 pm libyan linux wrote:
 hello sir
 i am wanyce ashoura
 from Libya i notice in Libya and Africa there is no community for BSD
 and i start manged some small group of bsd group
 so if that not bothering you cause my language english not so good
 ok and i am new in bsd world and i wasn't use windows xp sure
 i start with slackware and i notice there are bsd so i say let me
 test it and i like so much
 i want understanding this
 freebsd and openbsd and pcbsd
 not is distributor as gnu linux yes or not
 cause there just few os named bsd i know bsd is open source but not
 free software
 here i am not talk about free of charging  .
 so my questions is bsd is not free software mean i cant make distributor on
 bsd is what i do now on my pc not distributor for business just for my own
 small work like manged my network with me friend's and play costuming every
 thing as i want so
 thank you for your time
 ___
 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, OpenBSD and PC-BSD are all free software, and there is nothing I know 
of to stop you distributing and using them locally. You can find out more from
http://en.wikipedia.org/wiki/BSD_licenses
and from 
http://63.249.85.132/fbsd_intro.html

Good luck - the software is of very high quality and very reliable.

___
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: i've questions sure this e-mail for questions

2010-01-09 Thread RW
On Sun, 10 Jan 2010 02:28:24 +0200
libyan linux libyan@gmail.com wrote:


 so my questions is bsd is not free software mean i cant make
 distributor on bsd is what i do now on my pc not distributor for
 business just for my own small work like manged my network with me
 friend's and play costuming every thing as i want so
 thank you for your time

You can do what you like with it - including using it in commercial
software. The GPL licence used by Linux is much more restrictive than
the BSD licence.
___
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


Out of Office AutoReply: Delivery reports about your e-mail

2009-08-13 Thread Stephen Mutai
Thank you for your e-mail,

I am currently out of office as from Friday 10th August 2009  to 17th August  
2009.For all operations and export related issues, Please contact Peterson 
Kimeu e- mail : peterson.ki...@swissportkenya.co.ke

Regards

steve Mutai
0723-580963
___
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


e-mail processing in C

2008-03-24 Thread Robert Huff

I need to write a quick and not-too-dirty C program to process
some e-mail.  (Including dealing with mbox files.)
Is there a standard library to do this?
Respectfully,


Robert Huff



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


Re: e-mail processing in C

2008-03-24 Thread Chuck Swiger

On Mar 24, 2008, at 11:32 AM, Robert Huff wrote:

I need to write a quick and not-too-dirty C program to process
some e-mail.  (Including dealing with mbox files.)
Is there a standard library to do this?


You probably want to invoke formail, which is part of the mail/ 
procmail port.


--
-Chuck

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


Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Giorgos Keramidas
On Mon, 24 Mar 2008 14:32:02 -0400, Robert Huff [EMAIL PROTECTED] wrote:
 I need to write a quick and not-too-dirty C program to process some
 e-mail.  (Including dealing with mbox files.)

 Is there a standard library to do this?  Respectfully,

No, there's no library for `email processing' in the C standard.  You
can probably find a lot of non-standard ones, by Googling however :)

It's worth writing that plain C is the wrong language for this sort of
thing, if you ask me.  There are excellent high-level libraries in Perl,
and Python to do this sort of thing.  Email processing is going to
require a log of string processing, and C is notoriously 'tricky' for
this sort of thing.

As an example of the expressiveness of using a higher level language,
you can display the authors of all the messages in a UNIX mailbox with
the following short Python script:

import mailbox
m = mailbox.mbox('/home/keramida/mbox')
for message in m:
author = m['from]
print author

This is not just a `readable pseudo-code-like example'.  It's *real*
Python code, that you can run _now_ in your Python shell.

To perform a similar task in plain C you will need several dozens of
lines of code, and it won't necessarily be as readable.  It _may_ be
faster, in some cases, but it will probably won't be as 'safe'.

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


Re: e-mail processing in C

2008-03-24 Thread Dan Nelson
In the last episode (Mar 24), Robert Huff said:
 
   I need to write a quick and not-too-dirty C program to process
 some e-mail.  (Including dealing with mbox files.)
   Is there a standard library to do this?

You can use the c-client library for this; it's what the pine email
client uses.  

http://www.washington.edu/imap/documentation/internal.txt.html lists
all the functions available, and I believe there are sample programs in
the imap-uw source package that demonstrate how to read and write
messages to mailboxes.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Patrick C
Searching real quick shows the existence of both libmime and libmbox...
don't know if they're maintained. Another option would be to dig out the
associated code in pine, elm, or whatnot. See how they access mail.

-Patrick

On 24/03/2008, Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On Mon, 24 Mar 2008 14:32:02 -0400, Robert Huff [EMAIL PROTECTED]
 wrote:
  I need to write a quick and not-too-dirty C program to process some
  e-mail.  (Including dealing with mbox files.)
 
  Is there a standard library to do this?  Respectfully,

 No, there's no library for `email processing' in the C standard.  You
 can probably find a lot of non-standard ones, by Googling however :)

 It's worth writing that plain C is the wrong language for this sort of
 thing, if you ask me.  There are excellent high-level libraries in Perl,
 and Python to do this sort of thing.  Email processing is going to
 require a log of string processing, and C is notoriously 'tricky' for
 this sort of thing.

 As an example of the expressiveness of using a higher level language,
 you can display the authors of all the messages in a UNIX mailbox with
 the following short Python script:

 import mailbox
 m = mailbox.mbox('/home/keramida/mbox')
 for message in m:
 author = m['from]
 print author

 This is not just a `readable pseudo-code-like example'.  It's *real*
 Python code, that you can run _now_ in your Python shell.

 To perform a similar task in plain C you will need several dozens of
 lines of code, and it won't necessarily be as readable.  It _may_ be
 faster, in some cases, but it will probably won't be as 'safe'.

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

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


Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Robert Huff
Giorgos Keramidas writes:

  No, there's no library for `email processing' in the C standard.  You
  can probably find a lot of non-standard ones, by Googling however :)
  
  It's worth writing that plain C is the wrong language for this
  sort of thing, if you ask me.  There are excellent high-level
  libraries in Perl, and Python to do this sort of thing.

On one hand, that's probably true.
On the other hand: I know zero Python and this much   Perl.
I tried Perl, actually, and couldn't find the functions I needed.
(Plus the documemtation was aimed at a more experienced audience.)
I can fumble my way around a decent C packagei less time ad with
less hair-rending.
I do have the advantage I know more-or-less exactly what the
message will look like.


Robert Huff

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


Re: Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Erwan David
Le Mon 24/03/2008, Patrick C disait
 Searching real quick shows the existence of both libmime and libmbox...
 don't know if they're maintained. Another option would be to dig out the
 associated code in pine, elm, or whatnot. See how they access mail.
 
 -Patrick

libPAN (or is it libEtPAN ?) is also a C library for mail processing

-- 
Erwan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email processing in Python (was: e-mail processing in C)

2008-03-24 Thread Jeffrey Goldberg

On Mar 24, 2008, at 2:04 PM, Patrick C wrote:


Another option would be to dig out the
associated code in pine, elm, or whatnot. See how they access mail.


What is used in pine (now alpine) is the c-client libraries already  
mentioned in another post.


-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 [EMAIL PROTECTED]


Re: e-mail to root

2007-12-20 Thread jekillen


On Dec 19, 2007, at 7:30 PM, Kurt Buff wrote:


On Dec 19, 2007 6:54 PM, jekillen [EMAIL PROTECTED] wrote:

Hello:
Is there a manual or other publication that deals specifically with
reading e-mail messages to root for FreeBSD?  I have gotten a
message:

setuid diffs:
--- /var/log/setuid.today   Sat Sep  8 03:01:34 2007
+++ /tmp/security.9Jz0CWds  Wed Dec 19 03:01:38 2007

followed by references to various programs

then the next segment:
Checking for a current audit database:

Downloading fresh database.
auditfile.tbz   46 kB   42 
kBps

New database installed.
Database created: Wed Dec 19 14:40:00 PST 2007

Checking for packages with security vulnerabilities:

followed by numerous references to programs and
files on the FreeBSD site.

and I do not know quite what this means.


It means that you have portaudit installed, and it's run as part of
the daily scripts. That's a good thing.

I'd recommend consulting the portaudit man page

What it's found are packages on your machine that have security
bulletins against them - that is, the packages named have
vulnerabilities known to the FreeBSD Security team, which they believe
should be patched. There's a link to the bulletin for each one - I
think you'll find it enlightening to read some or all of them.

I'd do a 'pkg_add -r portupgrade' to install that package, do a cvsup
to get a current ports tree, then assess, very carefully, what you
want to upgrade. IMHO all of the packages mentioned should probably
get upgraded, unless you have *exceptional* reasons not to.

To upgrade you can do 'portupgrade packagename' for each package
named, or if you're feeling bold, 'portupgrade -aRr'.


I know that setuid is cause
for concern. I have three other machines with FreeBSD, with one
going back over a year of virtually continuous 24/7 operation and
this is the first time I have seen this type of message. For the
programs
reported with security problems it begs the question of dependencies
if they are removed or updated. Some references are to cups and
fetchmail
neither of which I use or have use for, that I am aware of.


Portupgrade will take care of dependencies. No worries, though you
should also peruse the man page for portupgrade to get your knowledge
up.


This
particular
machine is primarily a web server. It does have Postfix running but 
just

uses local delivery and only listens on private network interface.
I am also a little dubious about posting any specifics to a public
mailing
list.
I am admittedly a novice at this (on all my own systems so no one
else's behind is on the line). Short of paying consultation fees to
someone, this is about the only live contact I have on the subject.
Thanks in advance for info:


We were all novices - I still am, in far too many ways. Don't sweat
it, and keep asking questions. Also, start reading the FreeBSD
Handbook - it's online, and also downloadable, and covers this very
topic.

Kurt



Thank you kindly for the info;
I have been reading the handbook. I have it installed as html on my
everyday work machine. Having a web server on localhost is great.
It does cover portupgrade, portsnap, ports and all that but it was just
the e-mails to root that had me confused. Does this also cover the
setuid question also?
I also have the new Absolute FreeBSD, and the hard copy manual
obtained through FreeBSD Mall.  I had a problem with e-mail messages
to root some time ago that were showing up every 11 minutes. I look
into crontab and found one script that was set to run every 11 minutes.
I opened the script file and read the authors e-mail address and sent
him an e-mail on the problem. He responded scolding me for putting
commands in rc.conf. Sure enough, though I did not have explicit 
commands

in it, I did have the syntax wrong. Who would have guess that a script
dealing with entropy would complain because of problems with rc.conf?
That is an example of question that might arise that could use some
specific coverage in documentation.
Jeff K

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


Re: e-mail to root

2007-12-20 Thread Kurt Buff
On Dec 20, 2007 4:20 PM, jekillen [EMAIL PROTECTED] wrote:

mucho snippage

 Thank you kindly for the info;

De nada - pass it along when you have the chance.

 I have been reading the handbook. I have it installed as html on my
 everyday work machine. Having a web server on localhost is great.
 It does cover portupgrade, portsnap, ports and all that but it was just
 the e-mails to root that had me confused. Does this also cover the
 setuid question also?

I don't remember, quite frankly. I just know that I get two emails
each day from each of my machines, take a quick look at them, and act
on them as appropriate.

 I also have the new Absolute FreeBSD, and the hard copy manual
 obtained through FreeBSD Mall.  I had a problem with e-mail messages
 to root some time ago that were showing up every 11 minutes. I look
 into crontab and found one script that was set to run every 11 minutes.
 I opened the script file and read the authors e-mail address and sent
 him an e-mail on the problem. He responded scolding me for putting
 commands in rc.conf. Sure enough, though I did not have explicit
 commands
 in it, I did have the syntax wrong. Who would have guess that a script
 dealing with entropy would complain because of problems with rc.conf?
 That is an example of question that might arise that could use some
 specific coverage in documentation.

Who would have guessed? Someone with more experience, or someone with
good documentation in hand who's read it. If the documentation is
lacking, I'll bet there are people who would appreciate your input.
Seriously.

I've absorbed my knowledge from so many sources (books, magazines,
lists like this one) over such a long period of time, that I can no
longer remember where I got any particular fact, in most cases. That's
not always a good thing.

BTW - If you're [contemplating] doing sysadmin work professionally,
I'd highly recommend the following books. The first two are
recommended even if you're doing this as a hobby. The Limoncelli book
I recommend especially highly to anyone in their early-to-middle
career as a sysadmin who wants a coherent way to look at the craft. I
have just ordered the 2nd edition, after reading the 1st a couple of
times.

http://www.bookpool.com/sm/0130206016

http://www.bookpool.com/sm/0201702452

http://www.bookpool.com/sm/0596003439

http://www.bookpool.com/sm/0321492668
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


e-mail to root

2007-12-19 Thread jekillen

Hello:
Is there a manual or other publication that deals specifically with
reading e-mail messages to root for FreeBSD?  I have gotten a
message:

setuid diffs:
--- /var/log/setuid.today   Sat Sep  8 03:01:34 2007
+++ /tmp/security.9Jz0CWds  Wed Dec 19 03:01:38 2007

followed by references to various programs

then the next segment:
Checking for a current audit database:

Downloading fresh database.
auditfile.tbz   46 kB   42 kBps
New database installed.
Database created: Wed Dec 19 14:40:00 PST 2007

Checking for packages with security vulnerabilities:

followed by numerous references to programs and
files on the FreeBSD site.

and I do not know quite what this means. I know that setuid is cause
for concern. I have three other machines with FreeBSD, with one
going back over a year of virtually continuous 24/7 operation and
this is the first time I have seen this type of message. For the 
programs

reported with security problems it begs the question of dependencies
if they are removed or updated. Some references are to cups and 
fetchmail
neither of which I use or have use for, that I am aware of. This 
particular

machine is primarily a web server. It does have Postfix running but just
uses local delivery and only listens on private network interface.
I am also a little dubious about posting any specifics to a public 
mailing

list.
I am admittedly a novice at this (on all my own systems so no one
else's behind is on the line). Short of paying consultation fees to
someone, this is about the only live contact I have on the subject.
Thanks in advance for info:
Jeff K

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


Re: e-mail to root

2007-12-19 Thread Kurt Buff
On Dec 19, 2007 6:54 PM, jekillen [EMAIL PROTECTED] wrote:
 Hello:
 Is there a manual or other publication that deals specifically with
 reading e-mail messages to root for FreeBSD?  I have gotten a
 message:

 setuid diffs:
 --- /var/log/setuid.today   Sat Sep  8 03:01:34 2007
 +++ /tmp/security.9Jz0CWds  Wed Dec 19 03:01:38 2007

 followed by references to various programs

 then the next segment:
 Checking for a current audit database:

 Downloading fresh database.
 auditfile.tbz   46 kB   42 kBps
 New database installed.
 Database created: Wed Dec 19 14:40:00 PST 2007

 Checking for packages with security vulnerabilities:

 followed by numerous references to programs and
 files on the FreeBSD site.

 and I do not know quite what this means.

It means that you have portaudit installed, and it's run as part of
the daily scripts. That's a good thing.

I'd recommend consulting the portaudit man page

What it's found are packages on your machine that have security
bulletins against them - that is, the packages named have
vulnerabilities known to the FreeBSD Security team, which they believe
should be patched. There's a link to the bulletin for each one - I
think you'll find it enlightening to read some or all of them.

I'd do a 'pkg_add -r portupgrade' to install that package, do a cvsup
to get a current ports tree, then assess, very carefully, what you
want to upgrade. IMHO all of the packages mentioned should probably
get upgraded, unless you have *exceptional* reasons not to.

To upgrade you can do 'portupgrade packagename' for each package
named, or if you're feeling bold, 'portupgrade -aRr'.

 I know that setuid is cause
 for concern. I have three other machines with FreeBSD, with one
 going back over a year of virtually continuous 24/7 operation and
 this is the first time I have seen this type of message. For the
 programs
 reported with security problems it begs the question of dependencies
 if they are removed or updated. Some references are to cups and
 fetchmail
 neither of which I use or have use for, that I am aware of.

Portupgrade will take care of dependencies. No worries, though you
should also peruse the man page for portupgrade to get your knowledge
up.

 This
 particular
 machine is primarily a web server. It does have Postfix running but just
 uses local delivery and only listens on private network interface.
 I am also a little dubious about posting any specifics to a public
 mailing
 list.
 I am admittedly a novice at this (on all my own systems so no one
 else's behind is on the line). Short of paying consultation fees to
 someone, this is about the only live contact I have on the subject.
 Thanks in advance for info:

We were all novices - I still am, in far too many ways. Don't sweat
it, and keep asking questions. Also, start reading the FreeBSD
Handbook - it's online, and also downloadable, and covers this very
topic.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd e-mail question

2007-10-05 Thread Mike Makonnen
On Fri, Oct 05, 2007 at 02:33:23AM +1000, Ian Smith wrote:
 
 Looks like that's exactly right.  Copying the maintainer and suggesting
 the no-brain patch, pardon the broken tabs from pasting, against the
 head / stable versions (checked) .. I should sendPR I guess .. time!
 
 Cheers, Ian
 
 --- /usr/sbin/rmuserSat Mar  3 16:48:29 2007
 +++ /home/smithi/rmuser Fri Oct  5 00:30:51 2007
 @@ -86,10 +86,10 @@
 echo -n  mailspool
 rm ${MAILSPOOL}/$login
 fi
 -   if [ -f ${MAILSPOOL}/${login}.pop ]; then
 -   verbose  echo -n  ${MAILSPOOL}/${login}.pop ||
 +   if [ -f ${MAILSPOOL}/.${login}.pop ]; then
 +   verbose  echo -n  ${MAILSPOOL}/.${login}.pop ||
 echo -n  pop3
 -   rm ${MAILSPOOL}/${login}.pop
 +   rm ${MAILSPOOL}/.${login}.pop
 fi
 verbose  echo '.'
  }
 

Thanks! I'll take care of this immediately.

Cheers,
Mike.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd e-mail question

2007-10-04 Thread Ian Smith
On Wed, 3 Oct 2007 16:30:54 -0400 Lisa Casey [EMAIL PROTECTED] wrote:

  The problem comes in when a customer cancels his account. We remove users by 
  rmuser username. That command removes the user from the password file, 
  removes his home directory and removes the mailspool. What it doesn't do is 
  to remove the .username.pop file associated with that mailbox. This isn't a 
  problem unless we add another account with the same username. The new 
  account cannot pop his mail because he gets the following  error messge:
  
  -ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.
  
  If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
  ownership of the file is the group number of the original jjvc.
  
  -rw-rw   1 1473 mail 0 Sep 11 19:15 
  .jjvc.pop
  
  Is there anyway to have rmuser remover the mail drop file associated with 
  that account also, or am I just going to have to remove these manually?

I've read this whole thread, and what's strange is that this used to
work.  I just checked our old FreeBSD 2.2.6 system where rmuser always
cleaned up /var/mail/.{$user}.pop properly.  Its /usr/sbin/rmuser had: 

 # Remove some pop daemon's leftover file
 $file = $mail_dir/.${login_name}.pop;
 if (-e $file || -l $file) {
 print STDERR Removing pop daemon's temporary mail file ${file}:;
 unlink $file ||
 print STDERR \n${whoami}: Warning: unlink on $file failed ($!) - 
continuing\n;
 print STDERR  done.\n;
 }

So I wonder whether it's a bug - or maybe a later popper update? - that
has the present version of rmuser looking for ${MAILSPOOL}/${login}.pop
instead?

Cheers, Ian

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


Re: FreeBsd e-mail question

2007-10-04 Thread Erik Trulsson
On Thu, Oct 04, 2007 at 04:56:35PM +1000, Ian Smith wrote:
 On Wed, 3 Oct 2007 16:30:54 -0400 Lisa Casey [EMAIL PROTECTED] wrote:
 
   The problem comes in when a customer cancels his account. We remove users 
 by 
   rmuser username. That command removes the user from the password file, 
   removes his home directory and removes the mailspool. What it doesn't do 
 is 
   to remove the .username.pop file associated with that mailbox. This isn't 
 a 
   problem unless we add another account with the same username. The new 
   account cannot pop his mail because he gets the following  error messge:
   
   -ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.
   
   If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
   ownership of the file is the group number of the original jjvc.
   
   -rw-rw   1 1473 mail 0 Sep 11 19:15 
   .jjvc.pop
   
   Is there anyway to have rmuser remover the mail drop file associated with 
   that account also, or am I just going to have to remove these manually?
 
 I've read this whole thread, and what's strange is that this used to
 work.  I just checked our old FreeBSD 2.2.6 system where rmuser always
 cleaned up /var/mail/.{$user}.pop properly.  Its /usr/sbin/rmuser had: 
 
  # Remove some pop daemon's leftover file
  $file = $mail_dir/.${login_name}.pop;
  if (-e $file || -l $file) {
  print STDERR Removing pop daemon's temporary mail file ${file}:;
  unlink $file ||
  print STDERR \n${whoami}: Warning: unlink on $file failed ($!) - 
 continuing\n;
  print STDERR  done.\n;
  }
 
 So I wonder whether it's a bug - or maybe a later popper update? - that
 has the present version of rmuser looking for ${MAILSPOOL}/${login}.pop
 instead?

As far as I can tell the change was introduced back in 2002 when rmuser was
changed from a Perl program into a shell script - presumably as part of the
process of removing Perl from the base system.
FreeBSD versions 2.2 - 4.11 used the Perl version of rmuser, while all
5.x and 6.x releases have used the shell script version.

I have no idea if the difference - if the file rmuser looks for has a leading
'.' in the filename or not - was deliberate or simply a mistake, but I
suspect the latter: it is the kind of thing that is very easy to miss when
rewriting a program in another language.



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd e-mail question

2007-10-04 Thread Ian Smith
On Thu, 4 Oct 2007, Erik Trulsson wrote:
  On Thu, Oct 04, 2007 at 04:56:35PM +1000, Ian Smith wrote:
   On Wed, 3 Oct 2007 16:30:54 -0400 Lisa Casey [EMAIL PROTECTED] wrote:
   
 The problem comes in when a customer cancels his account. We remove 
   users by 
 rmuser username. That command removes the user from the password file, 
 removes his home directory and removes the mailspool. What it doesn't 
   do is 
 to remove the .username.pop file associated with that mailbox. This 
   isn't a 
 problem unless we add another account with the same username. The new 
 account cannot pop his mail because he gets the following  error messge:
 
 -ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.
 
 If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
 ownership of the file is the group number of the original jjvc.
 
 -rw-rw   1 1473 mail 0 Sep 11 19:15 
 .jjvc.pop
 
 Is there anyway to have rmuser remover the mail drop file associated 
   with 
 that account also, or am I just going to have to remove these manually?
   
   I've read this whole thread, and what's strange is that this used to
   work.  I just checked our old FreeBSD 2.2.6 system where rmuser always
   cleaned up /var/mail/.{$user}.pop properly.  Its /usr/sbin/rmuser had: 
   
# Remove some pop daemon's leftover file
$file = $mail_dir/.${login_name}.pop;
if (-e $file || -l $file) {
print STDERR Removing pop daemon's temporary mail file ${file}:;
unlink $file ||
print STDERR \n${whoami}: Warning: unlink on $file failed ($!) - 
   continuing\n;
print STDERR  done.\n;
}
   
   So I wonder whether it's a bug - or maybe a later popper update? - that
   has the present version of rmuser looking for ${MAILSPOOL}/${login}.pop
   instead?
  
  As far as I can tell the change was introduced back in 2002 when rmuser was
  changed from a Perl program into a shell script - presumably as part of the
  process of removing Perl from the base system.
  FreeBSD versions 2.2 - 4.11 used the Perl version of rmuser, while all
  5.x and 6.x releases have used the shell script version.
  
  I have no idea if the difference - if the file rmuser looks for has a leading
  '.' in the filename or not - was deliberate or simply a mistake, but I
  suspect the latter: it is the kind of thing that is very easy to miss when
  rewriting a program in another language.

Looks like that's exactly right.  Copying the maintainer and suggesting
the no-brain patch, pardon the broken tabs from pasting, against the
head / stable versions (checked) .. I should sendPR I guess .. time!

Cheers, Ian

--- /usr/sbin/rmuserSat Mar  3 16:48:29 2007
+++ /home/smithi/rmuser Fri Oct  5 00:30:51 2007
@@ -86,10 +86,10 @@
echo -n  mailspool
rm ${MAILSPOOL}/$login
fi
-   if [ -f ${MAILSPOOL}/${login}.pop ]; then
-   verbose  echo -n  ${MAILSPOOL}/${login}.pop ||
+   if [ -f ${MAILSPOOL}/.${login}.pop ]; then
+   verbose  echo -n  ${MAILSPOOL}/.${login}.pop ||
echo -n  pop3
-   rm ${MAILSPOOL}/${login}.pop
+   rm ${MAILSPOOL}/.${login}.pop
fi
verbose  echo '.'
 }

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


FreeBsd e-mail question

2007-10-03 Thread Lisa Casey

Hi,

I'm running Sendmail and Qpopper on FreeBsd. (And perhaps I ought to be 
asking  this on the Qpopper list, but hopefully someone here knows an 
answer). We have all of our mailboxes in mbox format in /var/mail. When a 
customer pops his mail for the first time it creates a file .username.pop in 
/var/mail which never goes away, it remains as a zero byte file. It's quite 
useful as we can tell from the timestamp on it when the customer last popped 
his mail.


The problem comes in when a customer cancels his account. We remove users by 
rmuser username. That command removes the user from the password file, 
removes his home directory and removes the mailspool. What it doesn't do is 
to remove the .username.pop file associated with that mailbox. This isn't a 
problem unless we add another account with the same username. The new 
account cannot pop his mail because he gets the following  error messge:


-ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.

If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
ownership of the file is the group number of the original jjvc.


-rw-rw   1 1473 mail 0 Sep 11 19:15 
.jjvc.pop


Is there anyway to have rmuser remover the mail drop file associated with 
that account also, or am I just going to have to remove these manually?


Thanks,

Lisa Casey


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


Re: FreeBsd e-mail question

2007-10-03 Thread Roland Smith
On Wed, Oct 03, 2007 at 04:30:54PM -0400, Lisa Casey wrote:
 
 The problem comes in when a customer cancels his account. We remove users 
 by rmuser username. That command removes the user from the password file, 
 removes his home directory and removes the mailspool. What it doesn't do is 
 to remove the .username.pop file associated with that mailbox. This isn't a 
 problem unless we add another account with the same username. The new 
 account cannot pop his mail because he gets the following  error messge:
 
 -ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.
 
 If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
 ownership of the file is the group number of the original jjvc.
 
 -rw-rw   1 1473 mail 0 Sep 11 19:15 
 .jjvc.pop
 
 Is there anyway to have rmuser remover the mail drop file associated with 
 that account also, or am I just going to have to remove these manually?

Since rmuser is a shell-script, you could easily change it to suit your
needs. Look at the function rm_mail (lines 79-95), and change
'${login}.pop' to '.${login}.pop' in line 89,90 and line 92.

A more elegant approach would be to duplicate lines 89-93 and add the
dot before the login in the second instance, changeing  pop3 to 
qpopper as well.

If you make this change, do not forget to re-apply it after doing a
installworld. :-)

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpZJ3KArWwo8.pgp
Description: PGP signature


Re: FreeBsd e-mail question

2007-10-03 Thread Steve Bertrand
 Is there anyway to have rmuser remover the mail drop file associated
 with that account also, or am I just going to have to remove these
 manually?

It really depends on what version of rmuser you have.

In /usr/sbin/rmuser, do you have something similar to this code snippet?:

if [ -f ${MAILSPOOL}/${login}.pop ]; then
verbose  echo -n  ${MAILSPOOL}/${login}.pop ||
echo -n  pop3
rm ${MAILSPOOL}/${login}.pop
fi

...if so, try putting a . character before each instance of ${login}.pop.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd e-mail question

2007-10-03 Thread Mel
On Wednesday 03 October 2007 22:30:54 Lisa Casey wrote:

 If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the
 ownership of the file is the group number of the original jjvc.

 -rw-rw   1 1473 mail 0 Sep 11 19:15
 .jjvc.pop

 Is there anyway to have rmuser remover the mail drop file associated with
 that account also, or am I just going to have to remove these manually?

rmuser is a shell script. There's 2 ways to solve this problem:
1) edit the rm_mail function in /usr/sbin/rmuser to use:
   ${MAILSPOOL}/.${login}.pop
2) Better option is to change the default temp-name in qpopper.config:
   set temp-name %s.pop
   so that rmuser will detect it automatically.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd e-mail question

2007-10-03 Thread Erik Trulsson
On Wed, Oct 03, 2007 at 11:04:58PM +0200, Mel wrote:
 On Wednesday 03 October 2007 22:30:54 Lisa Casey wrote:
 
  If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the
  ownership of the file is the group number of the original jjvc.
 
  -rw-rw   1 1473 mail 0 Sep 11 19:15
  .jjvc.pop
 
  Is there anyway to have rmuser remover the mail drop file associated with
  that account also, or am I just going to have to remove these manually?
 
 rmuser is a shell script. There's 2 ways to solve this problem:
 1) edit the rm_mail function in /usr/sbin/rmuser to use:
${MAILSPOOL}/.${login}.pop
 2) Better option is to change the default temp-name in qpopper.config:
set temp-name %s.pop
so that rmuser will detect it automatically.

A third option is to write a wrapper shell script that first calls rmuser
and then removes the remaining mail drop file, and use this script to remove
users instead of calling rmuser directly.

Option 2) above sounds like a better solution though.




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd e-mail question

2007-10-03 Thread Derek Ragona

At 03:30 PM 10/3/2007, Lisa Casey wrote:

Hi,

I'm running Sendmail and Qpopper on FreeBsd. (And perhaps I ought to be 
asking  this on the Qpopper list, but hopefully someone here knows an 
answer). We have all of our mailboxes in mbox format in /var/mail. When a 
customer pops his mail for the first time it creates a file .username.pop 
in /var/mail which never goes away, it remains as a zero byte file. It's 
quite useful as we can tell from the timestamp on it when the customer 
last popped his mail.


The problem comes in when a customer cancels his account. We remove users 
by rmuser username. That command removes the user from the password file, 
removes his home directory and removes the mailspool. What it doesn't do 
is to remove the .username.pop file associated with that mailbox. This 
isn't a problem unless we add another account with the same username. The 
new account cannot pop his mail because he gets the following  error messge:


-ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.

If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
ownership of the file is the group number of the original jjvc.


-rw-rw   1 1473 mail 0 Sep 11 19:15 
.jjvc.pop


Is there anyway to have rmuser remover the mail drop file associated with 
that account also, or am I just going to have to remove these manually?


Thanks,

Lisa Casey


Lisa,

rmuser only removes the system dependent files that adduser creates.  You 
would need to creat your own shell script to remove the qpopper file and to 
call rmuser.


Remember the basic utilities are meant to manage the core services, not 
add-on ports.


-Derek





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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: FreeBsd e-mail question

2007-10-03 Thread jellico.com, Inc.

Hi,


2) Better option is to change the default temp-name in qpopper.config:
   set temp-name %s.pop
   so that rmuser will detect it automatically.


A third option is to write a wrapper shell script that first calls rmuser
and then removes the remaining mail drop file, and use this script to 
remove

users instead of calling rmuser directly.

Option 2) above sounds like a better solution though.


I agree, that sounds like the best solution. Just to be on the safe side, I 
think I'll make a backup of rmuser first  ;-)


Thanks for all the suggestions.

Lisa Casey

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


Re: Can cron e-mail HTML?

2007-07-19 Thread Tom Evans
On Sat, 2007-07-14 at 19:14 -0400, Mikhail Teterin wrote:
 On субота 14 липень 2007, Daniel Bye wrote:
 = So it's beginning to look as if your best bet is in fact to make your
 = script handle sending the mail.
 
 Yeah, seems like it...
 
 = Not the cleanest solution, but one that will get your messages formatted
 = exactly how you want them.
 
 Well, I started looking into how much effort would it be to translate the 
 strings returned by libmagic(3)'s routines into Content-Type.
 
 If it is easy enough, I could hack cron to analyze the job's output using 
 magic_buffer(3) and set Content-Type if anything recognizable is detected...
 
 The translation is the difficult part :-( Instead of the standardized
 
   text/html
 
 for example, libmagic returns:
 
   HTML document text
 
 It is trying to be human-readable, while I need the machine-readable strings.
 
 There is stuff on-line that does the translation, but it is in much 
 higher-level languages (like PHP), which think, hash-tables are free :-)
 
 Oh, well...
 
   -mi

Or you could just use sendmail?

30  4  *  *  1-6  ~/bin/foo 21 | sendmail [EMAIL PROTECTED]

Sendmail will read in any headers you put into the message. Eg:

 $ cat sample.htmlh 
Subject: really?

Really?


will work just fine and set the email subject header when piped into
sendmail.

Or you could patch cron to use libmagic, and have cron scripts that will
only work on one box. Hmmm, decisions, decisions...


signature.asc
Description: This is a digitally signed message part


Re: Can cron e-mail HTML?

2007-07-19 Thread Mikhail Teterin
On четвер 19 липень 2007, Tom Evans wrote:
= Or you could patch cron to use libmagic

Done:

http://aldan.algebra.com/~mi/cron-mime.diff

It even works now...

= and have cron scripts that will only work on one box.

And send-pr the diffs to FreeBSD :-)

-mi


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


Re: Can cron e-mail HTML?

2007-07-19 Thread Tom Evans
On Thu, 2007-07-19 at 07:55 -0400, Mikhail Teterin wrote:
 On четвер 19 липень 2007, Tom Evans wrote:
 = Or you could patch cron to use libmagic
 
 Done:
 
   http://aldan.algebra.com/~mi/cron-mime.diff
 
 It even works now...
 
 = and have cron scripts that will only work on one box.
 
 And send-pr the diffs to FreeBSD :-)
 
   -mi
Sarcasm really doesn't work on the internet does it :)
Teaching cron about file types/mime types is an awful idea - sounds like
something you'd find in gentoo.

Just because something can be done, doesn't mean it should be :)


signature.asc
Description: This is a digitally signed message part


Re: Can cron e-mail HTML?

2007-07-19 Thread Mikhail Teterin
On четвер 19 липень 2007, Tom Evans wrote:
= Teaching cron about file types/mime types is an awful idea

Why? My particular cron-job generates HTML. Somebody else's might generate a 
JPG image -- from their telescope every morning. There is no reason for these 
jobs to have to do the e-mailing on their own.

Cron has this functionality, it just needs to be improved to match the 
modern-times expectations (MIME was introduced in the previous millennium.)

And if you are worried about feature-creep, well, you should've objected 
back when piping to sendmail was put into cron in the first place. After all, 
ALL cron jobs (including the purely textual ones) could have explicit piping 
into a mailer... If you don't mind cron generating the From: and the Subject: 
headers, you should not mind it generating the Content-Type:.

= - sounds like something you'd find in gentoo.

And then I plan to add magick-handling to mail(1) -- to allow you to e-mail a 
file with the properly-set Content-Type.

Yours,

-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-16 Thread Ruben de Groot
On Sat, Jul 14, 2007 at 06:21:16PM -0400, Mikhail Teterin typed:
 = To accomplish this I have my cron job run a script like this
 
 Sorry, I missed the most important part. Your script just uses /usr/bin/mail, 
 the same way cron does. You are not adding anything, not already present in 
 cron -- your script should simply produce output to stdout. Cron will mail 
 all that to the address specified in MAILTO=... part of your crontab 
 automatically.
 
 AFAIK, to make the e-mail message treated as a MIME one, the MIME-Version: 
 1.0 and Content-Type: ... have to be among _headers_.
 
 I'm afraid, it is not possible to directly manipulate the message's headers 
 using mail(1), which is why I asked my question in the first place...

Just for the record, cron seems to be using /usr/lib/sendmail, not mail(1):

malenfant# grep -r _PATH_SENDMAIL /usr/src/usr.sbin/cron/cron/config.h
#if !defined(_PATH_SENDMAIL)
# define _PATH_SENDMAIL /usr/lib/sendmail
#define MAILCMD _PATH_SENDMAIL  /*-*/
malenfant# grep _PATH_SENDMAIL /usr/include/paths.h
#define_PATH_SENDMAIL  /usr/sbin/sendmail

cheers,
Ruben

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


Re: Can cron e-mail HTML?

2007-07-15 Thread Derek Ragona

At 03:03 PM 7/14/2007, Mikhail Teterin wrote:

Hello!

I have a script launched from cron every morning, that gets certain data over
the Internet from a remote computer, compares the new data with that from the
previous day, and outputs the difference (if any).

I'm relying on the fact, that cron e-mails me the output of each job.

However, I modified the script recently to produce the output (if any) in
HTML, rather than in plain-text format.

The HTML arrives by e-mail just as well as plain text used to, but no e-mail
program will render it as such, because neither the cron(8), nor the mail(1),
which cron uses to send e-mail, creates MIME messages...

How can I force the ``Content-Type: text/html'' header without hacking cron's
sources? I'd rather avoid poluting my script with e-mail sending code...

Maybe, cron should apply file(1)-like logic to the e-mailed content?

Thanks for any hints. Yours,


You need to change your script to send the email itself.  I have many 
scripts that email reports, legs, and html reports.  To accomplish this I 
have my cron job run a script like this (I have simplified the script you 
should be able to use it as a base):


#!/usr/local/bin/ksh
# set full paths for all commands needed, and files needed

MAIL=/usr/bin/mail
MAILFILE=/tmp/mail_file
#fill in your correct email or alias you wish to use
[EMAIL PROTECTED]
RM=/bin/rm
DATE=/bin/date
AWK=/usr/bin/awk
LS=/bin/ls
GREP=/usr/bin/grep
FIND=/usr/bin/find
TODAY=`$DATE +%m-%d-%Y`
REPORT_LOG_HEADER=/usr/local/etc/report_log_header
REPORT_LOG_FOOTER=/usr/local/etc/report_log_footer

# start the mailfile with the proper header,
# in this case it is an HTML header
cat $REPORT_LOG_HEADER  $MAILFILE

#put more stuff into the report . . .
echo$MAILFILE
echo$MAILFILE
# Add any processing or log files to the middle of the mail file here
# you can even put HTML codes in here
echo BR BR  $MAILFILE
echo$MAILFILE
# add the correct HTML footer
cat $REPORT_LOG_FOOTER  $MAILFILE
# send it to yourself
$MAIL -s the report name $MAILTO  $MAILFILE
$RM $MAILFILE


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Can cron e-mail HTML?

2007-07-15 Thread Daniel Bye
Mikhail Teterin wrote:
 On субота 14 липень 2007, Daniel Bye wrote:
 = So it's beginning to look as if your best bet is in fact to make your
 = script handle sending the mail.
 
 Yeah, seems like it...
 
 = Not the cleanest solution, but one that will get your messages formatted
 = exactly how you want them.
 
 Well, I started looking into how much effort would it be to translate the 
 strings returned by libmagic(3)'s routines into Content-Type.
 
 If it is easy enough, I could hack cron to analyze the job's output using 
 magic_buffer(3) and set Content-Type if anything recognizable is detected...
 
 The translation is the difficult part :-( Instead of the standardized
 
   text/html
 
 for example, libmagic returns:
 
   HTML document text
 
 It is trying to be human-readable, while I need the machine-readable strings.

Is /usr/share/misc/magic.mime of any use? Apparently it is consulted by
file(1) when called with -i. According to libmagic(3), magic_open() with
the MAGIC_MIME flag should do the same.

Cheers,

Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-15 Thread Mikhail Teterin
On неділя 15 липень 2007, Daniel Bye wrote:
= Is /usr/share/misc/magic.mime of any use? Apparently it is consulted by
= file(1) when called with -i. According to libmagic(3), magic_open() with
= the MAGIC_MIME flag should do the same.

Yes, indeed -- just the ticket... Thanks.

Now, I have not received any e-mails from the cron modified as per the
linked patch yet, but if anyone cares to review it, please, do so. It 
compiles :-)

http://aldan.algebra.com/~mi/cron-mime.diff

It increases the application's buffering of the job's output from 1 character 
to BUFSIZ and, if requested, passes the first thus-read buffer to 
magic_buffer().

If that succeeds, the Mime-Version and Content-Type headers are injected into 
the outgoing e-mail...

-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-15 Thread Derek Ragona

At 05:02 PM 7/14/2007, Mikhail Teterin wrote:

Derek Ragona wrote:
= = I'd rather avoid poluting my script with e-mail sending code...

= You need to change your script to send the email itself.

Thank you, Derek, but -- as I stated already -- I wanted to see, if this can
be avoided...


Doing so makes it very non-portable.  This would make your cron changes 
needed on any system and version you want to implement this behavior.



Since you posted your script, I'll comment on it. First of all, you don't 
need

ksh for anything you are doing in this script. FreeBSD's /bin/sh is enough
(we aren't Solaris :-) -- but is 9 times smaller here (amd64).


I don't need ksh for the particular sample I gave you, which is pared down 
from any I use.  I posted a simple boilerplate that anyone who reads the 
list can use.  For most things /bin/sh works well, but the overhead of ksh 
on a modern server is negligible.




Now, instead of redirecting each line of output into MAILFILE, then mailing,
and removing it, you should be either outputing everything directly into
mail:

{
cat $REPORT_LOG_HEADER
echo$MAILFILE
echo$MAILFILE
echo BR BR  $MAILFILE


cat $REPORT_LOG_FOOTER
} | $MAIL -s the report name $MAILTO


This was done as an example.  In many cases I have reports generated in 
html, and simple email the URL of the report.




or, if you want to use the temporary file, use exec to redirect into it
_once_, instead of _on every line_:

exec  $MAILFILE
cat $REPORT_LOG_HEADER

printf  \n \nBRBR\n
$MAIL -s the report name $MAILTO  $MAILFILE
$RM $MAILFILE

This may look nicer, but is not, because temporary files are nasty, and you
need to be sure, that you remove them in case you are interrupted (trapping
signals, etc.)


I removed the signal handling from my example as I didn't want to add that 
much complexity.  It is trivial to add proper signal handling.




I was surprised, one can not redirect into a pipe directly. The following did
not work, as I expected, with neither /bin/sh nor /usr/local/bin/ksh93. The
following, I thought, would be the same as my first example, only
nicer-looking:

exec | $MAIL -s the report name $MAILTO
cat .

But it is not. So you have to chose from one of the first two examples.


This is UNIX.  Meaning there are many ways to accomplish tasks.  Just 
choose the tools and methods you want.  I strive to make cron scripts 
simple and portable.  I support a multitude of servers running different 
UNIX versions and flavors.


-Derek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
Hello!

I have a script launched from cron every morning, that gets certain data over 
the Internet from a remote computer, compares the new data with that from the 
previous day, and outputs the difference (if any).

I'm relying on the fact, that cron e-mails me the output of each job.

However, I modified the script recently to produce the output (if any) in 
HTML, rather than in plain-text format.

The HTML arrives by e-mail just as well as plain text used to, but no e-mail 
program will render it as such, because neither the cron(8), nor the mail(1),
which cron uses to send e-mail, creates MIME messages...

How can I force the ``Content-Type: text/html'' header without hacking cron's 
sources? I'd rather avoid poluting my script with e-mail sending code...

Maybe, cron should apply file(1)-like logic to the e-mailed content?

Thanks for any hints. Yours,

-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
Derek Ragona wrote:
= = I'd rather avoid poluting my script with e-mail sending code...
 
= You need to change your script to send the email itself.

Thank you, Derek, but -- as I stated already -- I wanted to see, if this can 
be avoided...

Since you posted your script, I'll comment on it. First of all, you don't need 
ksh for anything you are doing in this script. FreeBSD's /bin/sh is enough 
(we aren't Solaris :-) -- but is 9 times smaller here (amd64).

Now, instead of redirecting each line of output into MAILFILE, then mailing, 
and removing it, you should be either outputing everything directly into 
mail:

{
cat $REPORT_LOG_HEADER
echo$MAILFILE
echo$MAILFILE
echo BR BR  $MAILFILE


cat $REPORT_LOG_FOOTER
} | $MAIL -s the report name $MAILTO

or, if you want to use the temporary file, use exec to redirect into it 
_once_, instead of _on every line_:

exec  $MAILFILE
cat $REPORT_LOG_HEADER

printf  \n \nBRBR\n
$MAIL -s the report name $MAILTO  $MAILFILE
$RM $MAILFILE

This may look nicer, but is not, because temporary files are nasty, and you 
need to be sure, that you remove them in case you are interrupted (trapping 
signals, etc.)

I was surprised, one can not redirect into a pipe directly. The following did 
not work, as I expected, with neither /bin/sh nor /usr/local/bin/ksh93. The 
following, I thought, would be the same as my first example, only 
nicer-looking:

exec | $MAIL -s the report name $MAILTO
cat .

But it is not. So you have to chose from one of the first two examples. Yours,

-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
= To accomplish this I have my cron job run a script like this

Sorry, I missed the most important part. Your script just uses /usr/bin/mail, 
the same way cron does. You are not adding anything, not already present in 
cron -- your script should simply produce output to stdout. Cron will mail 
all that to the address specified in MAILTO=... part of your crontab 
automatically.

AFAIK, to make the e-mail message treated as a MIME one, the MIME-Version: 
1.0 and Content-Type: ... have to be among _headers_.

I'm afraid, it is not possible to directly manipulate the message's headers 
using mail(1), which is why I asked my question in the first place...

-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
On субота 14 липень 2007, Daniel Bye wrote:
=  How can I force the ``Content-Type: text/html'' header without hacking
=  cron's sources? I'd rather avoid poluting my script with e-mail sending
=  code...
= 
= Alter your script to add the 'Content-Type: text/html' header.

No, I'm afraid, doing this will make the quoted text part of the _body_ of the 
message.

=  Maybe, cron should apply file(1)-like logic to the e-mailed content?

= No, cron doesn't need any knowledge of how to render email.

I was not advocating adding such knowledge. My suggestion was to make cron add 
proper Content-Type, so that the /recepient's e-mail program/ will render the 
message correctly. My scripts generate HTML, someone else could be generating 
JPG images (from their web-camera, every morning)...

= The script itself doesn't have to send the mail - cron will handle that if
= there is any output when it exits, but you /can/ add headers to the message
= as you need.
= 
= Just make sure any custom headers come before the empty line delimiter
= between headers and body, and most mail readers should do the right thing.

The empty line is inserted by cron before any of the job's own output...

This method will not work, unless the e-mail reader (incorrectly) acts upon 
parts of the body as if they were headers...

Thanks! Yours,

-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-14 Thread Daniel Bye
Mikhail Teterin wrote:
 Hello!
 
 I have a script launched from cron every morning, that gets certain data over 
 the Internet from a remote computer, compares the new data with that from the 
 previous day, and outputs the difference (if any).
 
 I'm relying on the fact, that cron e-mails me the output of each job.
 
 However, I modified the script recently to produce the output (if any) in 
 HTML, rather than in plain-text format.
 
 The HTML arrives by e-mail just as well as plain text used to, but no e-mail 
 program will render it as such, because neither the cron(8), nor the mail(1),
 which cron uses to send e-mail, creates MIME messages...
 
 How can I force the ``Content-Type: text/html'' header without hacking cron's 
 sources? I'd rather avoid poluting my script with e-mail sending code...

Alter your script to add the 'Content-Type: text/html' header.

 Maybe, cron should apply file(1)-like logic to the e-mailed content?

No, cron doesn't need any knowledge of how to render email. Make sure
the output of your script includes the Content-Type header, which your
mail reader will spot and act upon accordingly. The script itself
doesn't have to send the mail - cron will handle that if there is any
output when it exits, but you /can/ add headers to the message as you need.

Just make sure any custom headers come before the empty line delimiter
between headers and body, and most mail readers should do the right thing.

HTH

Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-14 Thread Daniel Bye
Mikhail Teterin wrote:
 = Alter your script to add the 'Content-Type: text/html' header.
 
 No, I'm afraid, doing this will make the quoted text part of the _body_ of 
 the 
 message.

Ack. Yes, you're quite right. Sorry for the bum advice.

 =  Maybe, cron should apply file(1)-like logic to the e-mailed content?
 
 = No, cron doesn't need any knowledge of how to render email.
 
 I was not advocating adding such knowledge. My suggestion was to make cron 
 add 
 proper Content-Type, so that the /recepient's e-mail program/ will render the 
 message correctly. My scripts generate HTML, someone else could be generating 
 JPG images (from their web-camera, every morning)...

Hmm, an interesting idea. Now I understand what you meant, that is.

 = The script itself doesn't have to send the mail - cron will handle that if
 = there is any output when it exits, but you /can/ add headers to the message
 = as you need.
 = 
 = Just make sure any custom headers come before the empty line delimiter
 = between headers and body, and most mail readers should do the right thing.
 
 The empty line is inserted by cron before any of the job's own output...
 
 This method will not work, unless the e-mail reader (incorrectly) acts upon 
 parts of the body as if they were headers...

Yep, absolutely right. Got my wrong brain on today!

So it's beginning to look as if your best bet is in fact to make your
script handle sending the mail, and to only have cron itself mail
anything that is the result of an error arising from your script. Not
the cleanest solution, but one that will get your messages formatted
exactly how you want them.

Cheers,

Dan

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


Re: Can cron e-mail HTML?

2007-07-14 Thread Mikhail Teterin
On субота 14 липень 2007, Daniel Bye wrote:
= So it's beginning to look as if your best bet is in fact to make your
= script handle sending the mail.

Yeah, seems like it...

= Not the cleanest solution, but one that will get your messages formatted
= exactly how you want them.

Well, I started looking into how much effort would it be to translate the 
strings returned by libmagic(3)'s routines into Content-Type.

If it is easy enough, I could hack cron to analyze the job's output using 
magic_buffer(3) and set Content-Type if anything recognizable is detected...

The translation is the difficult part :-( Instead of the standardized

text/html

for example, libmagic returns:

HTML document text

It is trying to be human-readable, while I need the machine-readable strings.

There is stuff on-line that does the translation, but it is in much 
higher-level languages (like PHP), which think, hash-tables are free :-)

Oh, well...

-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Erroneous delivery of list e-mail (was Re: adding keyboard after reboot with no keyboard )

2007-04-10 Thread Kevin Kinsey

Steven Johnson wrote:

Hello,
I am receiving your email because of a screw-up in Gmail. I have no 
recourse

but to mark your email as spam and delete it.
Gmail has been unresponsive in correcting the problem.
[EMAIL PROTECTED]



Hi, Steven

It *might* be a screwup in GMail.  However, I have circumstantial
evidence that suggests it may be otherwise.  I hate to bother you,
but, in the interest of several people who may be affected, could
you send the full source of an e-mail you received from the FreeBSD
list directly to me, and not to the list?  Also, if you have some
convincing evidence that it's GMail, are we allowed to know about it?

I'd like everyone to note that I'm merely curious; this is the
fourth person in 24 hours to say why in the world am I getting
these e-mails? or please unsubscribe me, including 2 G-mail users,
an AIM.com/AOL user, and one who's at/near Abacus America/Aplus in
San Diego.

I'm copying postmaster@ as well, although I doubt it's his problem,
but maybe a heads up would be a Good Thing(tm).  My best guess so
far is a messed-up forwarding rule or alias/virtuser somewhere (and
it's a big, big world), or an malicious or incompetent person with
an axe to grind.

To those of you who are receiving these messages, perhaps Mr. Johnson's
recourse is currently your best option.  Also, please note that I am
simply an interested individual, and do not represent the FreeBSD Project,
G-Mail, AOL/AIM, Abacus/A+, the Teamsters/AFL/CIO, CIA/NSA, KGB, Zdnet,
, Yahoo!, Pravda, New York Times, etc., etc.

Kevin Kinsey
--
If you want to put yourself on the map, publish your own map.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Dmitry Pryanishnikov


Hello!

  I'm an originator of 4 open PRs and 9 closed ones. My e-mail address will 
change soon. How should I handle the change to stay reachable for people

working on PRs? Sorry to bother the list with (seems-to-be) a trivial
question, I can't find reply in PR-related articles.

Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail:  [EMAIL PROTECTED]
nic-hdl: LYNX-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Ted Mittelstaedt
wait till it changes then post an update to the pr using the webinterface

Ted

- Original Message - 
From: Dmitry Pryanishnikov [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, March 29, 2007 4:45 AM
Subject: How to handle forthcoming PR originator e-mail address



 Hello!

I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
will
 change soon. How should I handle the change to stay reachable for people
 working on PRs? Sorry to bother the list with (seems-to-be) a trivial
 question, I can't find reply in PR-related articles.

 Sincerely, Dmitry
 -- 
 Atlantis ISP, System Administrator
 e-mail:  [EMAIL PROTECTED]
 nic-hdl: LYNX-RIPE
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Gabor Kovesdan

Dmitry Pryanishnikov schrieb:


Hello!

  I'm an originator of 4 open PRs and 9 closed ones. My e-mail address 
will change soon. How should I handle the change to stay reachable for 
people

working on PRs? Sorry to bother the list with (seems-to-be) a trivial
question, I can't find reply in PR-related articles.

Sincerely, Dmitry

Hello Dmitry,

if the new address works now, you can send it to us. I can modify the 
headers of those open PRs, so that you receive any further feedback on that.


Regards,
Gabor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Giorgos Keramidas
On 2007-03-29 15:45, Dmitry Pryanishnikov [EMAIL PROTECTED] wrote:
 
 Hello!
 
 I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
 will change soon. How should I handle the change to stay reachable for
 people working on PRs? Sorry to bother the list with (seems-to-be) a
 trivial question, I can't find reply in PR-related articles.

Point me to the PRs and I will use pr-edit to fix the email address.

This can also be done by any FreeBSD committer with ssh access to the
FreeBSD cluster.

- Giorgos



pgpXCIi86875x.pgp
Description: PGP signature


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Dmitry Pryanishnikov


Hello!

On Thu, 29 Mar 2007, Giorgos Keramidas wrote:

I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
will change soon. How should I handle the change to stay reachable for
people working on PRs? Sorry to bother the list with (seems-to-be) a
trivial question, I can't find reply in PR-related articles.


Point me to the PRs and I will use pr-edit to fix the email address.


  Thank you, Gabor Kovesdan has already done it.


This can also be done by any FreeBSD committer with ssh access to the
FreeBSD cluster.


  I just thought that some kind of automatic tool should exist to accomplish
originator's e-mail change. After all, people _do_ change their e-mails
sometimes...


- Giorgos


Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail:  [EMAIL PROTECTED]
nic-hdl: LYNX-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Giorgos Keramidas
On 2007-03-29 23:40, Dmitry Pryanishnikov [EMAIL PROTECTED] wrote:
On Thu, 29 Mar 2007, Giorgos Keramidas wrote:
 I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
 will change soon. How should I handle the change to stay reachable
 for people working on PRs? Sorry to bother the list with
 (seems-to-be) a trivial question, I can't find reply in PR-related
 articles.

 Point me to the PRs and I will use pr-edit to fix the email address.

   Thank you, Gabor Kovesdan has already done it.

Nice.

 This can also be done by any FreeBSD committer with ssh access to the
 FreeBSD cluster.

 I just thought that some kind of automatic tool should exist to
 accomplish originator's e-mail change. After all, people _do_ change
 their e-mails sometimes...

Not really.  Gnats is very flexible in this; it allows manual editing of
the bug report itself.  This is also one of its relatively annoying
'flaws' though.  Care must be taken when bug reports are manually
modified by a committer, and there are not very many tools to automake
stuff like what you wanted to do.

Anyway, I'm glad this has been resolved now :)

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


Re: How to handle forthcoming PR originator e-mail address

2007-03-29 Thread Danny Pansters
On Thursday 29 March 2007 23:22:28 Giorgos Keramidas wrote:
 On 2007-03-29 23:40, Dmitry Pryanishnikov [EMAIL PROTECTED] wrote:
 On Thu, 29 Mar 2007, Giorgos Keramidas wrote:
  I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
  will change soon. How should I handle the change to stay reachable
  for people working on PRs? Sorry to bother the list with
  (seems-to-be) a trivial question, I can't find reply in PR-related
  articles.
 
  Point me to the PRs and I will use pr-edit to fix the email address.
 
Thank you, Gabor Kovesdan has already done it.

 Nice.

  This can also be done by any FreeBSD committer with ssh access to the
  FreeBSD cluster.
 
  I just thought that some kind of automatic tool should exist to
  accomplish originator's e-mail change. After all, people _do_ change
  their e-mails sometimes...

 Not really.  Gnats is very flexible in this; it allows manual editing of
 the bug report itself.  This is also one of its relatively annoying
 'flaws' though.  Care must be taken when bug reports are manually
 modified by a committer, and there are not very many tools to automake

Also by a submitter. I recently learnt this: Never steep so low as to try and 
modify the (attached) patch rather than rolling a new PR, pasting in the same 
old text, etc. However tempting when you are PR'ing a series of 20 or so. But 
it will always bite you in the butt at some point!

Dan

 stuff like what you wanted to do.

 Anyway, I'm glad this has been resolved now :)

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


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


CI INVESTMENTS' e-mail policy - Action Taken

2007-03-15 Thread Symantec_AntiVirus_for_SMTP_Gateways
The attachment(s) from the following e-mail was removed due to CI Investments' 
e-mail policy.

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 15 Mar 2007 23:40:18 -0500
Subject: STATUS


The following violations were detected:

--- Scan information follows ---

Virus Name: [EMAIL PROTECTED]
File Attachment: [EMAIL PROTECTED]
Attachment Status: deleted





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


e-mail recusado

2006-12-12 Thread antivirus
O e-mail abaixo indicado foi bloqueado pelo servidor da LightComm, por conter 
um anexo executável ou constante da nossa  lista de exclusões. 
Arquivos executáveis são potencialmente perigosos por constituir meio de 
propagação de vírus e worms de e-mail.
O conteúdo foi DESCARTADO e tanto o remetente como o destinatário foram 
informados do ocorrido.

The following e-mail was blocked by this server because it contains an 
executable attachment. 
Executable files are potentially dangerous, as they are used for e-mail virus 
and worms propagation.

Mail headers:
  Date   : Tue, 12 Dec 2006 09:20:49 +0100
  Subject: Mail Delivery (failure [EMAIL PROTECTED])
  From   : [EMAIL PROTECTED]
  Return-Path: [EMAIL PROTECTED]
  Received   : from lightcomm.com.br (198.Red-213-96-252.staticIP.rima-tde.net 
[213.96.252.198])
  To (system): edlight
  To (header): [EMAIL PROTECTED]
  Cc : 
  Bcc: 

  Executables: message.scr

Mensagem automática - automatic message

Porque meu e-mail foi bloqueado ?: http://www.raspppoe.com.br/antivirus.htm

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


Re: How to create an e-mail

2006-11-10 Thread Alex de Kruijff
On Fri, Nov 10, 2006 at 07:57:09AM +0200, Luke Lamla wrote:
 Can you please assist me I am using FreeBSD for my e-mail and internet. I
 want to create e-mail using super user (root) for my employees. What should
 I do or which steps should I follow to do that. I will appreciate your
 support immediately.

FreeBSD uses the mailer 'sendmail' by default. You can check the
FreeBSD handbook and 'man sendmail' for information about this. You can
send mail from the command line by using echo 'msg' | mail -s subject
[EMAIL PROTECTED] [EMAIL PROTECTED]' or use a mailer like
Mutt.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: How to create an e-mail

2006-11-10 Thread Marwan Sultan



On Fri, Nov 10, 2006 at 07:57:09AM +0200, Luke Lamla wrote:
 Can you please assist me I am using FreeBSD for my e-mail and internet. 
I
 want to create e-mail using super user (root) for my employees. What 
should

 I do or which steps should I follow to do that. I will appreciate your
 support immediately.



Well, FreeBSD comes with sendmail. you really dunt have to do much, you can 
start

with FreeBSD and sendmail as its,
if you want to create real unix users then just use it as its, all what you 
need to do

is #adduser and add your users! :) simple as this!

For clients access, either they access using pop3 service or webinterface,
Install qpopper from ports for pop3 access,
as for the webmail i recommend www.openwebmail.org

 Ofcourse there is much deep things to look at _if you want_ but not a must
 as postfix, qmail, also, you need very litl changes to /etc/mail 
configuration files.


Best of luck
Marwan Sultan.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


How to create an e-mail

2006-11-09 Thread Luke Lamla
Can you please assist me I am using FreeBSD for my e-mail and internet. I
want to create e-mail using super user (root) for my employees. What should
I do or which steps should I follow to do that. I will appreciate your
support immediately.

 

 




Kind Regards

Lamla Lonwabo Luke

Intsika Yethu Municipality

 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] 

 http://www.ecprov.gov.za/intsikayethulm www.ecprov.gov.za/intsikayethulm

tel(w) : 047 874 0704

fax(w): 086 514 9236

cell: 083 535 1972

 

 


 

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

Re: E- MAIL TICKET NUMBER 212005600545188 YOU ARE A WINNER!!!

2006-09-20 Thread Alistair Prestidge

Wilfred Alberto (Lottery Director) wrote:

INTERNATIONAL PROMOTION/PRIZE AWARD DEPT.
CALLE GRANVIA 32N 1C MADRID SPAIN
REF: RSSL/61-ILGI0509/45
BATCH:RSSL/15/096/WRCS
DATE:20/09/2006
Dear Winner,

 AWARD NOTIFICATION FINAL NOTICE

This is to inform you of the release of the Royal Spainish Sweepstake
Lottery Email Promotional Program held on the 7st September 2006, this
result was initially delayed due to mix up of email addresses, the
results were finally released on the 18th September 2006, and your 
e-mail attached to

Ticket number: 212005600545 188 with Serial number: 4888/02, which
drew the Lucky numbers: 41-6-76-13-45-8, which consequently won the
lottery in the Second category of the year 2006. You are therefore 
approved.

for a lump sum payout of 1,000,000.00 (ONE MILLION EUROS ONLY) in cash
accredited to file reference number: KPC/908008/03 this is from a
total cash prize of 19,000,000.00 (NINTEEN MILLION EUROS ONLY) Shared
among the nineteen international winners in this category.

Your fund is now deposited in a security company with your prize money
insured in your e-mail.Due to mix up of some email addresses, we ask
that you keep this award from public notice until your claim has been
processed and money remitted to your account as this is part of our
security protocol to avoid double claiming or unwarranted abuse of this
program by participants as it has happened in the past. All participants

were selected randomly from World Wide Web site through computer draw
system and extracted from over 100,000 companies,this promotion takes place 
annually. We hope your lucky email address will draw a bigger cash

prize in the next high stake promotion agenda of 30,000,000.00 (THIRTY
MILLION EUROS)

To begin your lottery claim, please contact your claim agent,
AGRO CONSULTANCY AND SECURITIES S.L. MADRID SPAIN
DR.RICHARD ANTONIO ( Remittance/foreign operations manager)
Tel:+34-619-693-930
Email:[EMAIL PROTECTED]

For due processing and remittance of your winning prize money to
designated account of your choice. Remember, all prize money must be
claimed.
(not later than 15st October 2006. After this date, this fund will be
returned to the MINISTERIO DE ECONOMIA Y HACIENDA as unclaimed fund.
NOTE: In order to avoid unnecessary delay and complication, please
remember to quote your reference and batch numbers in every correspondence
with your agent or us. Furthermore, should there be any change of your
contact email address, do inform your claim agent as soon as possible.
Congratulation once again from all members of our staff and thank you
for being part of our International promotion program. We wish you

continued good fortunes.
Yours Sincerely,
Wilfred Alberto (Lottery Director)

  



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

just incase anyones tempted


http://www.hoax-slayer.com/royal-spanish-sweepstake-lottery.html
--

*Alistair Prestidge*
TECHNICAL CONSULTANT

Global Media (UK)
3rd Floor Maclaren House
Talbot Road
Manchester
M32 0FP

T +44 (0) 161  249
F +44 (0) 161 877 1050

[EMAIL PROTECTED]
www.globalmedia-webmarketing.com


globalmedia webmarketing 
http://www.globalmedia-webmarketing.com/emailnews/mailredirect.php?img=1lang=uk


globalmedia webmarketing 
http://www.globalmedia-webmarketing.com/emailnews/mailredirect.php?img=2lang=uk

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


FreeBSD as a kiosk system for reading/writing e-mail

2006-09-18 Thread Matthias Apitz

Hello,

Does someone has an idea about this:

- login as user 'kiosk' into FreeBSD and getting a desktop in (for example
  KDE);
- launch a graphical MUA (for example Kmail, or a browser) which supports
  more than one identity, let's say [EMAIL PROTECTED], [EMAIL PROTECTED]
  and so on, and each user must somehow authenticate itself for the
  usage of its identity, at least by typing in the password for this
  identity;
- the MUA is fetching by POP3 or IMAP the mail from some host or the
  underlaying FreeBSD, but they don't get mixed-up with the mails of
  the other identities in the folders of the MUA;

The background idea is just to use the desktop, i.e. loged in
once, as a kiosk for reading/writing mails of a group of people.

Thx

matthias
  
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD as a kiosk system for reading/writing e-mail

2006-09-18 Thread Perry Hutchison
 - login as user 'kiosk' into FreeBSD and getting a desktop in (for
   example KDE);
 - launch a graphical MUA (for example Kmail, or a browser) which
   supports more than one identity, let's say [EMAIL PROTECTED],
   [EMAIL PROTECTED] and so on, and each user must somehow
   authenticate itself for the usage of its identity, at least by
   typing in the password for this identity;
 - the MUA is fetching by POP3 or IMAP the mail from some host or
   the underlaying FreeBSD, but they don't get mixed-up with the
   mails of the other identities in the folders of the MUA;
 
 The background idea is just to use the desktop, i.e. loged in
 once, as a kiosk for reading/writing mails of a group of people.

It could likely be made to work, but offhand it sounds like
reinventing the wheel.  Why not just let each user log in via
xdm, and have their .xsession bring up the MUA?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD as a kiosk system for reading/writing e-mail

2006-09-18 Thread Christopher M. Hobbs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Why not set up a webmail interface, and lock down your favorite web
browser as a kiosk?

I've set up several kiosks using firefox and R-kiosk on top of FreeBSD
for patrons at a local library.  They have access to browse web pages
and nothing more.  You could even go so far as to edit the hosts file,
use a proxy, or put them behind a firewall to restrict what sites they
can visit (i.e. your webmail interface).

cmh
- --
Christopher M. Hobbs
IS Technician, City of Siloam Springs
[EMAIL PROTECTED], (479).524.5136
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFDv105D6v/aN2SK8RAt/6AKClgJBFEEzNrpQh5GSOrK2E8eNVIwCg6G80
xfh4t7Ml55YHVci8ILK0h24=
=gX2+
-END PGP SIGNATURE-


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


Re: FreeBSD as a kiosk system for reading/writing e-mail

2006-09-18 Thread Matthias Apitz
El día Monday, September 18, 2006 a las 11:53:29AM -0700, Perry Hutchison 
escribió:

 It could likely be made to work, but offhand it sounds like
 reinventing the wheel.  Why not just let each user log in via
 xdm, and have their .xsession bring up the MUA?

Because the (mail-) users coming and leaving frecuently and
launching each time a own KDE desktop take to much time.
Thx for your feedback anyway. I came up with the idea to
have one neutral user, say 'kiosk' which owns the desktop
and the others say

$ ssh -X [EMAIL PROTECTED] kmail 2/dev/null

via small icons for 'user1', 'user2', ...

matthias 

-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   >