Problem Sending Mail With Postfix

2008-05-19 Thread Montag
I've got Postfix SMTP server set up on a FreeBSD 7 box.  I'm receiving
mail just fine, and I can send mail to my other web accounts (gmail),
but my mail is getting rejected from the mailing lists.  Here is the
output from the local mail queue:

host mx1.free.bsd.org said: my.mywebsite.com: Helo command rejected:
Host not found (in reply to RCPT TO command))
freebsd-questions@freebsd.org

Any thoughts?  I typed sendmail -bp to print that, which is curious,
because I'm pretty sure sendmail is not running; Postfix should be
handling everything.

Appreciate the help,

montag
--
Give the people contests they win by remembering the words to more popular 
songs or the names of state capitals or how much corn Iowa grew last year. Cram 
them full of non-combustible data, chock them so damned full of 'facts' they 
feel stuffed, but absolutely 'brilliant' with information. Then they'll feel 
they're thinking, they'll get a sense of motion without moving.

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


SVN Advice

2008-05-19 Thread montag
Hello all,

I'm seeking to set up an SVN repository on my home machine.  I've come
across the following two guides:

http://www.bsdguides.org/guides/freebsd/misc/subversion.php

http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html

The second one is certainly overkill for what I need (I just want to use
it to manage my personal projects, since I work remotely a lot).  I'd
definitely like a password protected web interface though.  My issue is
the following.  In both guides (and in all the other ones I've come
across) Apache is compiled with options that I did not select when I
installed Apache a while ago.  I'd rather not have to redo everything I've
set up with my web server.  Is there any way I get include those modules
(namely WITH_BERKELEYDB) without having to recompile?  Also, any advice
relating to setting up Subversion on FreeBSD in general.

Appreciate the help,

montag

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


Adding Modules to Apache Port Post Install

2008-05-19 Thread montag
Hello,

I configured and installed an Apache server on my FreeBSD box about a week
or so back.  Now I'm looking into installing subversion using this guide:

http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html

I notice that the guide complies Apache with WITH_BERKELEYDB=db42 and
WITH_MPM=worker, which I did not do.  Any way to add these without
recompiling and losing everything?

Regards,

montag





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


Configuring Bash

2008-05-14 Thread Montag
This should be a fairly simple process, I don't really know what I am
missing.

I've got the following in the .bash_profile of a basic user account:

# set prompt [EMAIL PROTECTED]/dir] $ (# for root)
PS1 = ' [EMAIL PROTECTED] ' 
case `id -u` in
  0) PS1='${PS1} # ';; # root
  *) PS1='${PS1} $ ';; # everyone else

When I log in, I am greeted with:
${PS1} $ $

However, if I su to root, I get:
[EMAIL PROTECTED] /home/user]# 

That is what I wanted, but for some reason it is not working for a
normal user.  I thought perhaps the problem could be that .bash_profile
is only loaded when a non-login shell is spawned, but a quick
consultation of man bash revealed that bash reads ~/.bash_profile when
it is invoked as a login shell.  

My next thought was that it was a permissions issue, but:
su
chmod 777 .bash_profile
exit
logout
login

That did not change the results, the output was still the same as above.
 This is all being done at the console, by the way.

Appreciate any advice,

montag
--
Give the people contests they win by remembering the words to more popular 
songs or the names of state capitals or how much corn Iowa grew last year. Cram 
them full of non-combustible data, chock them so damned full of 'facts' they 
feel stuffed, but absolutely 'brilliant' with information. Then they'll feel 
they're thinking, they'll get a sense of motion without moving.

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


Re: Configuring Bash

2008-05-14 Thread Montag
 ### SNIP ###
 Are you saying it works if you:
 su - root

Yes, that's correct.

 But logging in as a regular user.  So, can you:
 login as a regular user
 su - root
 su - [regular user]

Interesting, this produces the correct output.

Login   :   ${PS1} $ $   (Wrong)
su-root :   [EMAIL PROTECTED] /home/user]#(Correct)
su-user :   [EMAIL PROTECTED] ~]$ (Correct)
exit:   [EMAIL PROTECTED] /home/user]#(Correct)
exit:   ${PS1} $ $   (Wrong)

This does not really jive with what I read in the man pages.  It said
that .bash_login is invoked during login, while .bashrc is used when an
interactive shell that is not a login shell is started.  Currently I do
not even have a .bashrc defined, so the only thing that should be
getting used is .bash_profile.  Why does su invoke .bash_profile?

The relevant entries from /etc/password are:
root:*:0:0:Charlie :/root:/usr/local/bin/bash
user:*:1001:0:User :/home/user:/usr/local/bin/bash

montag
--
Give the people contests they win by remembering the words to more popular 
songs or the names of state capitals or how much corn Iowa grew last year. Cram 
them full of non-combustible data, chock them so damned full of 'facts' they 
feel stuffed, but absolutely 'brilliant' with information. Then they'll feel 
they're thinking, they'll get a sense of motion without moving.

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


Re: Configuring Bash

2008-05-14 Thread Montag
 ### SNIP ###
 I would try adding the prompt to .bashrc too, worst case it will redefine 
 it the same prompt making login take a fraction longer.

  I did that, but still no go.

 Also be sure:
 /home/user
 is owned by user  and has the correct group too.

ls -la | grep user gives:
drwxr-xr-x 10 user wheel 1024 May 14 20:27 user

Is it a problem that the folder is part of the wheel group?

montag
--
Give the people contests they win by remembering the words to more popular 
songs or the names of state capitals or how much corn Iowa grew last year. Cram 
them full of non-combustible data, chock them so damned full of 'facts' they 
feel stuffed, but absolutely 'brilliant' with information. Then they'll feel 
they're thinking, they'll get a sense of motion without moving.

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