starting a program at boot time

2008-03-05 Thread Bill Banks

how do i  start a program  at boot time?

--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Re: shell programming

2007-11-14 Thread Bill Banks

What am I doing wrough here:

#!/bin/sh
$DAYN='/bin/date +%a' + _master.sql
mysqldump master  $DAYN

Wojciech Puchar wrote:

dayoftheweek=`date +%w`



On Fri, 9 Nov 2007, Bill Banks wrote:

I'm  writing a backup script. I need to get the day of the week into 
a variable. How can I do it?


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


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








--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Re: shell programming

2007-11-14 Thread Bill Banks

thanks

Bill Moran wrote:

In response to Bill Banks [EMAIL PROTECTED]:

  

What am I doing wrough here:

#!/bin/sh
 $DAYN='/bin/date +%a' + _master.sql
 mysqldump master  $DAYN



Those look to be single quotes and not backquotes.  (backquote is
the upper left key on most keyboards)

  

Wojciech Puchar wrote:


dayoftheweek=`date +%w`



On Fri, 9 Nov 2007, Bill Banks wrote:

  
I'm  writing a backup script. I need to get the day of the week into 
a variable. How can I do it?


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


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




  

--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
  



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




  


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


shell programming

2007-11-09 Thread Bill Banks
I'm  writing a backup script. I need to get the day of the week into a 
variable. How can I do it?


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Re: shell programming

2007-11-09 Thread Bill Banks

thanks

Eric Crist wrote:

On Nov 9, 2007, at 11:46 AM, Bill Banks wrote:

I'm  writing a backup script. I need to get the day of the week into 
a variable. How can I do it?


Well, it depends on what you're using.  If you're using sh, see `man 
date`.  If you're using perl, it's quite complicated.


In short, with sh, simply use the built-in date command:

#!/bin/sh
weekday=`date +%A

See also man 3 strftime


-
Eric F Crist
Secure Computing Networks


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





--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Re: DNS and IP

2007-11-04 Thread Bill Banks
Of course, just   setup a virtual host in your httpd.conf file point 
the dns to the same ip. Apache will take care of the rest.


Brian Finniff wrote:

My question is, if you are running a website for 2 different people on the 
Internet and they both wanted to acquire a domain but you only have one IP 
address, would it be possible to forward each domain to the same IP address and 
somehow each one becomes distinct? If so, how is this possible? Can you explain 
to me how it can be done.

Oh and for reference, I am not talking about web redirects.

_
Windows Live Hotmail and Microsoft Office Outlook – together at last.  Get it 
now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


ncftpput ncftpget

2007-10-30 Thread Bill Banks

What port should I make to get ncftpput?

--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


postfix problem

2007-10-18 Thread Bill Banks
Hi, Im installing postfix on a server. It accept mail from my own 
network but not from the outside. It said relay access denied. Any clue.


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Re: postfix problem

2007-10-18 Thread Bill Banks

How do I set it in main.cf?

Eric Crist wrote:
You need to tell your mail server what domains it needs to accept mail 
for.


Edit /etc/mail/access.sample and add your domain per the template, 
save as /etc/mail/access, then run make install restart from within 
the /etc/mail directory.


Let me know if that works alright for you!

Eric



On Oct 18, 2007, at 9:44 AMOct 18, 2007, Bill Banks wrote:

Hi, Im installing postfix on a server. It accept mail from my own 
network but not from the outside. It said relay access denied. Any 
clue.


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


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


-
Eric F Crist
Secure Computing Networks


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





--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Re: postfix problem

2007-10-18 Thread Bill Banks

that didnt work


Eric Crist wrote:
You need to tell your mail server what domains it needs to accept mail 
for.


Edit /etc/mail/access.sample and add your domain per the template, 
save as /etc/mail/access, then run make install restart from within 
the /etc/mail directory.


Let me know if that works alright for you!

Eric



On Oct 18, 2007, at 9:44 AMOct 18, 2007, Bill Banks wrote:

Hi, Im installing postfix on a server. It accept mail from my own 
network but not from the outside. It said relay access denied. Any 
clue.


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


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


-
Eric F Crist
Secure Computing Networks


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





--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Re: postfix problem

2007-10-18 Thread Bill Banks

Do you know its postfix not sendmail?

Eric Crist wrote:
You need to tell your mail server what domains it needs to accept mail 
for.


Edit /etc/mail/access.sample and add your domain per the template, 
save as /etc/mail/access, then run make install restart from within 
the /etc/mail directory.


Let me know if that works alright for you!

Eric



On Oct 18, 2007, at 9:44 AMOct 18, 2007, Bill Banks wrote:

Hi, Im installing postfix on a server. It accept mail from my own 
network but not from the outside. It said relay access denied. Any 
clue.


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


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


-
Eric F Crist
Secure Computing Networks


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





--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Re: postfix problem

2007-10-18 Thread Bill Banks



N.J. Thomas wrote:

* Bill Banks [EMAIL PROTECTED] [2007-10-18 10:44:56 -0400]:
  

Im installing postfix on a server. It accept mail from my own network
but not from the outside. It said relay access denied. Any clue.



Please post the output of postconf -n.

Thomas

  


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 

command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 6
debug_peer_list = countrygirlsonline.com
default_privs = nobody
fast_flush_domains = countrygirlsonline.com
html_directory = no
inet_interfaces = all
luser_relay = [EMAIL PROTECTED]
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydomain = countrygirlsonline.com
myhostname = cowgirl.ourweb.net
mynetworks_style = class
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relayhost = $mydomain
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_client_restrictions = check_client_access 
hash:/usr/local/etc/postfix/access
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_local_recipient_reject_code = 550
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: postfix problem

2007-10-18 Thread Bill Banks

Did you get this?

N.J. Thomas wrote:

* Bill Banks [EMAIL PROTECTED] [2007-10-18 10:44:56 -0400]:
  

Im installing postfix on a server. It accept mail from my own network
but not from the outside. It said relay access denied. Any clue.



Please post the output of postconf -n.

Thomas

  


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 

command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 6
debug_peer_list = countrygirlsonline.com
default_privs = nobody
fast_flush_domains = countrygirlsonline.com
html_directory = no
inet_interfaces = all
luser_relay = [EMAIL PROTECTED]
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydomain = countrygirlsonline.com
myhostname = cowgirl.ourweb.net
mynetworks_style = class
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relayhost = $mydomain
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_client_restrictions = check_client_access 
hash:/usr/local/etc/postfix/access
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_local_recipient_reject_code = 550
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

qmail+wu-imap+squirrelmail

2007-09-26 Thread Bill Banks
I'm trying to setup qmail with squirrelmail thus wu-imap on  Freebsd 
6.2  .  imap is  not authenticating  the user and I dont know why.


Try:

telnet 216.236.255.45 143
a1 login test 0

and  see what I'm talking about.

--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Re: courier-imap

2007-09-26 Thread Bill Banks
When I try to login , in my maillog it saids no such file. How do I tell 
it to use /etc/passwd


Rakhesh Sasidharan wrote:


Bill Banks wrote:


i think that it not validating the username  passwd


Have you started courier-authdaemond in /usr/local/etc/rc.d? Added 
users to UserDB or whatever auth method you are using?


I have some notes on installing Courier IMAP here: 
http://rakhesh.net/mail/courier-imap.


That gives you the steps I followed while installing Courier IMAP on 
my home machine.


HTH,


- Rakhesh
http://rakhesh.net/




--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


courier-imap

2007-09-25 Thread Bill Banks

i think that it not validating the username  passwd

--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


php5

2007-09-24 Thread Bill Banks
I just installed php5 but if I goto index.php it wants to download it 
and not display it. What am I missing?


--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Telnet smtp

2007-09-16 Thread Bill Banks
How do I turn on telnet for smtp? Im installing qmail 

---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
  



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


RE: Telnet smtp

2007-09-16 Thread Bill Banks
I cant do  telnet sarah.ourweb.net 25

try it from your

---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Pollywog
Sent: Sunday, September 16, 2007 12:40 PM
To: freebsd-questions@freebsd.org
Subject: Re: Telnet  smtp


On Sunday 16 September 2007 16:28:02 Bill Banks wrote:
 How do I turn on telnet for smtp? Im installing qmail


Telnet for SMTP?  Are you trying to connect to port 25 (SMTP) using a telnet
client for testing purposes?  Don't install telnetd (telnet server), just
use
a telnet client:

telnet hostname 25

If the SMTP server is running and not blocked by a firewall, you should be
able to connect to it that way on port 25.
___
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: Telnet smtp

2007-09-16 Thread Bill Banks
im running qmail

---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeffrey
Goldberg
Sent: Sunday, September 16, 2007 1:34 PM
To: Bill Banks
Cc: freebsd-questions@freebsd.org
Subject: Re: Telnet  smtp



On Sep 16, 2007, at 11:55 AM, Bill Banks wrote:

 I cant do  telnet sarah.ourweb.net 25

It appears that sarah.ourweb.net, 216.236.255.132, isn't listening on
port 25.  Hold on, let me do a more complete scan.  (If you get
indications of a scan from 72.64.112/29 please don't treat is as abuse).

You are running telnetd, but that only listens on port 23.  If you
want to listen on port 25 you need to be running a mailserver.  Have
you configured or enabled sendmail (or some other MTA) to listen for
mail from the outside world?  What makes you believe that your system
should be listening for SMTP traffic.

As an aside, since you are already running sshd, there really is no
need to run telnetd.  I would recommend turning that off if there
isn't a compelling need to run it.

-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]


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


RE: qmail help

2007-09-14 Thread Bill Banks
The qmail is delivering to the mailboxes. I want to use /var/spool/mail,  I
know i have to use procmail but how do i set it up?

---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


-Original Message-
From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]
Sent: Friday, September 14, 2007 10:14 AM
To: Bill Banks
Cc: [EMAIL PROTECTED]
Subject: Re: qmail help


On 2007-09-13 22:48, Bill Banks [EMAIL PROTECTED] wrote:
 I just make qmail from port and killed sendmail. I can send mail out but
 can't recvice it. I think that the mailboxes is not made,,

You'll have to provide us with *many* more details about the precise
steps you followed, what you wanted to do, what you have done so far,
and so on...

Please see http://catb.org/~esr/faqs/smart-questions.html and then
post a question which is a bit longer, but contains more useful content.
This way we will be able to help you more effectivelly, and it will be a
much more pleasant experience for everyone, including you :)



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


qmail help

2007-09-13 Thread Bill Banks
I just make qmail from port and killed sendmail. I can send mail out but
can't recvice it. I think that the mailboxes is not made,,

---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com




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


Shutting off sendmail

2007-09-12 Thread Bill Banks
Hi all, I need to install qmail and shut down sendmail. In my /etc/rc.conf
file I dienalbe sendmail, but when the box reboot sendmail starts up
Why

---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com



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


RE: Shutting off sendmail

2007-09-12 Thread Bill Banks
thanks

---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Duane Hill
Sent: Wednesday, September 12, 2007 4:50 PM
To: Bill Banks
Cc: freebsd-questions@freebsd.org
Subject: Re: Shutting off sendmail


On Wed, 12 Sep 2007 at 16:18 -0400, [EMAIL PROTECTED] confabulated:

 Hi all, I need to install qmail and shut down sendmail. In my /etc/rc.conf
 file I dienalbe sendmail, but when the box reboot sendmail starts
up
 Why

This is what I did in /etc/rc.conf to totally disable sendmail:

sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO

--
   _|_
  (_| |
___
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]