correct way to move users?

2009-01-15 Thread brad davison

After my debacle with the PAE kernel, I am building the mail server anew.  I 
had used webmin's user batch file thing to generate the users on the temporary 
system, but there were some issues with that.
 
If I have a good copy of /etc/passwd, /etc/group and /etc/master.passwd, is 
there a better way to move the users?
 
I saw a very breif website that said to use this method:
 

Move user entries from the following old files: 
/etc/passwd/etc/group/etc/master.passwd 
Then run the following command to rebuild the password database: 
pwd_mkdb -p /etc/master.passwd  

 
Is this the proper way?  If not, what is the correct way to do this with 
Freebsd (7.0)?
 
Thank you,
Brad
_
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009___
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: correct way to move users?

2009-01-15 Thread Brad Davison

  I saw a very breif website that said to use this method:  Move 
  user entries from the following old files:   
  /etc/passwd/etc/group/etc/master.passwd   Then run the following command 
  to rebuild the password database:   pwd_mkdb -p /etc/master.passwd
   i usualy copy the passwd, master.passwd and the group file. keep 
  in mind  that new users and/or groups can appear in newer versions, if 
  you're  also upgrading.  and then pwd_mkdb /etc/master.passwd (i've 
  never used the -p option but  why not).  and then rsync the homedirs.
OK, I found a couple users on the 'new' system that are not on the old system.  
'messagebus' and 'polkit'.
 
Can I just copy those users/lines to the old master.passwd and run that?  Or 
should I add them to both the master.passwd as well as the passwd files?
 
Thanks for your reply.
_
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009___
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


updated to 7.1 via cvs source, PAE kernel. server unstable

2009-01-13 Thread brad davison

Hi all,
 
Hopefully someone can shed some light on my problem.  Over the weekend, we 
upgraded our mailserver that was running like a champ w/ FBSD 7.0 and a PAE 
kernel (8gb RAM).
 
I didn't use the freebsd-update program, because I read that if you're not 
using a GENERIC kernel, it wont work.
 
I had changed the standard-supfile like that had RELENG_7_0 to RELENG_7_1 and 
ran cvsup.
 
I followed the handbook for cleaning out the /usr/src/obj directory, rebuilt 
the world and kernel via:
 
# cd /usr/src# make buildworld# make buildkernel KERNCONF=PAE# make 
installkernel KERNCONF=PAE
 
then I rebooted into single user mode and performed the:
 
# mount -a -t ufs# mergemaster -p# cd /usr/src# make installworld# mergemaster
 
When I did the mergemaster, I kept my master.password, hosts, passwd, rc.conf, 
and make.conf.  But for the most part, I 'i' installed the new files.
 
Since then, we have had severe server instability after a few hours.  The 
server completely locks up requiring a hard boot, then the fsck_ufs runs for a 
while.  This is our production mail server, and we've been down off and on for 
2 days.
 
I'm in the process of building a replacement and getting back online with 7.0 
and a GENERIC kernel, but what on Earth could have gone on?  Did I do something 
wrong with using a PAE kernel on 7.1?
 
I'm in single-user mode again running 'fsck -y' and there are TONS of errors on 
the /usr volume.
 
The /var/log/messages just shows that the server was restarted, and I'm just 
wondering where to start.
 
 

_
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009___
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


question regarding security patch 1/6/09 openssl

2009-01-08 Thread brad davison

After patching our systems, do we need to remake our keys/certs?  Or are we 
just patching the mechanism to check the keys?
_
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009___
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: Help with dmesg

2009-01-08 Thread brad davison

  INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,  
  F=, T=S:4m;R:4m')  I actually copied that line directly from 
  instructions at this site :  
  http://www.technoids.org/clamav-milter.html The same setup is working on 
  an old laptop of mine. I checked to make  sure that the lines in 
  /etc/mail/myfile.mc were the same in both  cases, and they are. 
I actually just had this today as well.  I was mimicing our company's mail 
server so that I'd have a 'backup'... now when you said you 'copied' the line 
directly, did you copy/paste?
 
That was my problem, something got put in there that wasn't supposed to be.  
After I deleted that line, then typed it in properly by hand everything worked. 
 Here is my line for sanity's sake:
 
 
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=,T=S:4m;R:4m')dnl
 
Like I said, everything looked exactly the same, but after I typed it in 
manually, it worked.
_
Windows Live™: Keep your life in sync. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009___
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: Help with dmesg

2009-01-08 Thread brad davison

 From: demonichandextensi...@hotmail.com To: remeg...@comcast.net; 
 pe...@boosten.org Date: Thu, 8 Jan 2009 17:02:22 + CC: 
 freebsd-questions@freebsd.org Subject: RE: Help with dmesg 
 INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,  F=, 
 T=S:4m;R:4m')  I actually copied that line directly from 
 instructions at this site :  http://www.technoids.org/clamav-milter.html 
 The same setup is working on an old laptop of mine. I checked to make  sure 
 that the lines in /etc/mail/myfile.mc were the same in both  cases, and 
 they are.  I actually just had this today as well. I was mimicing our 
 company's mail server so that I'd have a 'backup'... now when you said you 
 'copied' the line directly, did you copy/paste?  That was my problem, 
 something got put in there that wasn't supposed to be. After I deleted that 
 line, then typed it in properly by hand everything worked. Here is my line 
 for sanity's sake:   
 INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=,T=S:4m;R:4m')dnl
   Like I said, everything looked exactly the same, but after I typed it in 
 manually, it worked. 
 _sorry to 
 double-post, but I also have this line directly below the INPUT_*** line:
 
define(confINPUT_MAIL_FILTERS',`clmilter')
 
_
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_howitworks_012009___
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: Mergemaster failing before 7.1 installworld

2009-01-07 Thread brad davison

 
  Greetings. I have updated to 7.1 from a 6.2 box. Kernel built and  
  installed successfully, world built successfully, however mergemaster is  
  failing:  $ mergemaster *** Unable to find mtree database. Skipping 
  auto-upgrade.
I may be stating the obvious, but being before the installworld shouldn't that 
be a 'mergemaster -p' and not just mergemaster?
 
From the FreeBSD Handbook:
 
After installkernel finishes successfully, you should boot in single user mode 
(i.e. using boot -s from the loader prompt). Then run:# mount -a -t ufs
# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster
# reboot

 
 
_
Windows LiveTM: Keep your life in sync. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009___
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


SOLVED: minimalist config, (was Lock down the all-staff email list? sendmail, alias, majordomo?)

2008-05-21 Thread brad davison


   What is the best way to have a list that only certain users are able to 
   send to?
  
  
  That sounds like you're getting into a full blown mailing0list package.  I 
  set up the minimalist port for a small list last year.  Small  very easy 
  to config.  I think it has the restriction you want.
  
-R
 
 The majordomo and mailman were a bit more than what I was looking for.  The 
 minimalist port does look like it does exactly what I'm looking for, but I'm 
 having an issue getting it configured.
 
 My minimalist port seems to have been installed in 
 '/usr/local/share/minimalist' and the config file appears to be in 
 '/usr/local/etc/minimalist.conf'.  All files are under the '/usr/local/share' 
 folder except the minimalist.conf in '/usr/local/etc'
 
 I have set the directory directive to '/usr/local/share/minimalist' in the 
 '/usr/local/etc/minimalist.conf' and created my list directories under there, 
 but I am not able to see it when I send 'info' message to '[EMAIL PROTECTED]'.
 
 reply from server for email with 'info' as subject:
 These are the mailing lists available at email.domain.com:
 
 -- 
 Sincerely, the Minimalist
 
 
 under /usr/local/share/minimalist:
 
 My list.lst file has:
 farmThe Farm mailing list.
 southMailing list for Southern area.
 
 I have the farm and south directories with a very short list file:
 list:
 [EMAIL PROTECTED]  
 [EMAIL PROTECTED]
 
 my /usr/local/etc/minimalist.conf (only non-commented lines)
 minimalist.conf
 directory = /usr/local/share/minimalist
 password = 12345
 admin = [EMAIL PROTECTED]
 auth = mailfrom [EMAIL PROTECTED]:@/usr/local/etc/mml.trusted
 
 
 Any ideas where I might be going wrong?  The mechanism seems to be working, 
 as I can send messages to 'minimalist' and get info, but its not seeing my 
 lists.
 
 Thanks
 
 

the problem was:
the auth = mailfrom  line was in the global config, and that needed to be 
in the directory for the list.
I commented the auth line out of the 'global config' 
/usr/local/etc/minimalist.conf and added it to the file 'config' under the 
'farm' directory.

yay it works now.
thanks rob for pointing me at minimalist.

_
Make every e-mail and IM count. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ 
MakeCount___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


minimalist config, (was Lock down the all-staff email list? sendmail, alias, majordomo?)

2008-05-20 Thread brad davison

 Date: Mon, 19 May 2008 15:07:31 -0400
 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Subject: Re: Lock down the all-staff email list? sendmail, alias, majordomo?
 
 brad davison wrote:
  What is the best way to have a list that only certain users are able to 
  send to?
 
 
 That sounds like you're getting into a full blown mailing0list package.  I 
 set up the minimalist port for a small list last year.  Small  very easy 
 to config.  I think it has the restriction you want.
 
   -R

The majordomo and mailman were a bit more than what I was looking for.  The 
minimalist port does look like it does exactly what I'm looking for, but I'm 
having an issue getting it configured.

My minimalist port seems to have been installed in 
'/usr/local/share/minimalist' and the config file appears to be in 
'/usr/local/etc/minimalist.conf'.  All files are under the '/usr/local/share' 
folder except the minimalist.conf in '/usr/local/etc'

I have set the directory directive to '/usr/local/share/minimalist' in the 
'/usr/local/etc/minimalist.conf' and created my list directories under there, 
but I am not able to see it when I send 'info' message to '[EMAIL PROTECTED]'.

reply from server for email with 'info' as subject:
These are the mailing lists available at email.domain.com:

-- 
Sincerely, the Minimalist


under /usr/local/share/minimalist:

My list.lst file has:
farmThe Farm mailing list.
southMailing list for Southern area.

I have the farm and south directories with a very short list file:
list:
[EMAIL PROTECTED]  
[EMAIL PROTECTED]

my /usr/local/etc/minimalist.conf (only non-commented lines)
minimalist.conf
directory = /usr/local/share/minimalist
password = 12345
admin = [EMAIL PROTECTED]
auth = mailfrom [EMAIL PROTECTED]:@/usr/local/etc/mml.trusted


Any ideas where I might be going wrong?  The mechanism seems to be working, as 
I can send messages to 'minimalist' and get info, but its not seeing my lists.

Thanks





_
Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ 
GoodCause___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Lock down the all-staff email list? sendmail, alias, majordomo?

2008-05-19 Thread brad davison

Our company has a sendmail server 8.13.8 running on FBSD 6.2 with procmail.  We 
currently have an alias set up for our all-staff email (we only have about 200 
users).  Someone recently sent out an email to the all-staff that someone 
didn't like, so now I have to restrict who can send to it.

I have disabled the alias, since I didn't know if there was a way to restrict 
who can send to aliases, but is there a good way to have a list of users that 
either a) doesn't give the list name in the email, or B) a list program like 
majordomo or something that I can keep people from using who isn't 'the boss'?

What is the best way to have a list that only certain users are able to send to?
I am open to suggestions that will get me out of this situation. 

Thanks

_
Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ 
GoodCause___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


telnet to mail server from outside does not get 220, telnet from inside works

2008-05-12 Thread brad davison

Is there something I need to configure in telnetd or sendmail to allow 
'outside' IP addresses to telnet to the mail server and get a 220 response?

When I 'telnet localhost 25' i get:

email# telnet localhost 25
Trying ::1...
Connected to localhost.x.com.
Escape character is '^]'.
220 email.x.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 
-0400 (EDT)



But if I try the same thing from 'outside' the firewall I get:

%telnet email..com 25
Trying 67.x.x.x...
Connected to email.xxx.com.
Escape character is '^]'.
Connection closed by foreign host.



Certain servers are having problems sending to the server because they are not 
getting a 220 code back.  Most email is sent/received from the server no 
problem.  It has been running in production for over a year.

Any ideas?

Thanks,
Brad

_
Windows Live SkyDrive lets you share files with faraway friends.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_052008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: telnet to mail server from outside does not get 220, telnet from inside works

2008-05-12 Thread brad davison



 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Mon, 12 May 2008 09:55:42 -0500
 CC: freebsd-questions@freebsd.org
 Subject: Re: telnet to mail server from outside does not get 220, telnet 
 from inside works
 
 On May 12, 2008, at 9:04 AM, brad davison wrote:
 
  But if I try the same thing from 'outside' the firewall I get:
 
  %telnet email..com 25
  Trying 67.x.x.x...
  Connected to email.xxx.com.
  Escape character is '^]'.
  Connection closed by foreign host.
 
 Have you checked to see what your mail logs say about those connection  
 attempts?
 
 Cheers,
 
 -j
 

The maillog only has the line like:
May 12 11:20:14 email sm-mta[66223]: m4CFKEuB066223: [69.245.x.x] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to IPv4

which is the same thing i get when i do the telnet  25 from a machine 
that's on the same network (that gets the 220)

May 12 11:20:52 email sm-mta[66314]: m4CFKfiJ066314: [10.0.60.60] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to IPv4

Is there something for the telnet daemon, or the sendmail daemon that restricts 
telnet access to just the subnet its on?  i.e 10.* network?



_
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_messenger_052008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: telnet to mail server from outside does not get 220, telnet from inside works

2008-05-12 Thread brad davison



 Date: Mon, 12 May 2008 17:49:07 +0200
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: telnet to mail server from outside does not get 220, telnet from 
 inside works
 
  Trying ::1...
  Connected to localhost.x.com.
  Escape character is '^]'.
  220 email.x.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 
  10:01:39 -0400 (EDT)
 
 
 
  But if I try the same thing from 'outside' the firewall I get:
 
  %telnet email..com 25
  Trying 67.x.x.x...
  Connected to email.xxx.com.
  Escape character is '^]'.
  Connection closed by foreign host.
 
 
 sendmail try to connect to port auth of remote machine. your firewall 
 probably blocks it just by dropping packets, so it tries until timeout
 
 telnet from outside, wait few minutes and you will get a prompt.
 
 change your firewall rules to fix it
 ___


You get the prize.  

We have a Cisco ASA, and everything works on port 587, but port 25 has cisco's 
'Application Inspection' or something that I need to figure out how to turn off.

Thanks for the attention.

_
Make Windows Vista more reliable and secure with Windows Vista Service Pack 1.
http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


openldap23-server ports, possible to enable syncprov?

2008-04-23 Thread brad davison

I see in the makefile that --disable-syncprov is listed in the Makefile.  I was 
wondering what the 'right' way to enable syncprov on openldap23-server ? 
CONFIGURE_ARGS+=   --disable-syncprov

I tried to change that to --enable-syncprov, but was still getting the same 
errors.  Is there a command-line argument I can add to the build?

Thanks.

_
Express yourself wherever you are. Mobilize!
http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=en-US?ocid=TAG_APRIL___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SOLVED RE: openldap23-server ports, possible to enable syncprov?

2008-04-23 Thread brad davison


 
 I see in the makefile that --disable-syncprov is listed in the Makefile.  I 
 was wondering what the 'right' way to enable syncprov on openldap23-server ? 
 CONFIGURE_ARGS+=   --disable-syncprov
 
 I tried to change that to --enable-syncprov, but was still getting the same 
 errors.  Is there a command-line argument I can add to the build?
 
 Thanks.
 
 _


When running 'make config' I noticed that was an option in the checky-boxes (on 
page 2, and I guess I missed it).  I unchecked slurpd, and then checked 
SYNCPROV.  

Thanks.

_
Back to work after baby–how do you know when you’re ready?
http://lifestyle.msn.com/familyandparenting/articleNW.aspx?cp-documentid=5797498ocid=T067MSN40A0701A___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: apple bonjour served up on FBSD

2007-11-28 Thread brad davison

the mDNSResponder port is up to date (moreso than even the apple download site) 
so i installed that with the port.

it requires swig13 port as well.. which installed from the port just fine.

after you get all that installed and working w/o errors, there is a bonjour 
python script set that will at least test the functionality and get it 
registered for services.  I am still in the 'finding out' stages for this.  I 
will post my findings that might help someone else on their journey..



 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Date: Mon, 26 Nov 2007 17:49:05 +
 Subject: apple bonjour served up on FBSD
 
 
 I am going to be making my BSD server at home available to my wife's macbook 
 running Leopard.
 
 I am planning on implementing one of the mDNSResponder systems, but I am 
 having some issues deciding which one to use.
 
 I have found the mDNSResponder from apple itself.
 
 I have also found (in no particular order) 
 avahi-server
 p5-Net-Rendezvous
 
 My end goal is a server that will be able to share out iTunes and a printer 
 to a Bonjour network.
 
 Does anyone have a suggestion on a recent setup?
 
 

_
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apple bonjour served up on FBSD

2007-11-26 Thread brad davison

I am going to be making my BSD server at home available to my wife's macbook 
running Leopard.

I am planning on implementing one of the mDNSResponder systems, but I am having 
some issues deciding which one to use.

I have found the mDNSResponder from apple itself.

I have also found (in no particular order) 
avahi-server
p5-Net-Rendezvous

My end goal is a server that will be able to share out iTunes and a printer to 
a Bonjour network.

Does anyone have a suggestion on a recent setup?


_
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vacation autoresponder

2007-10-19 Thread brad davison

For our company's FreeBSD 6.2-RELEASE-p7 Squirrelmail, I installed the Plugins 
- Local User Autoresponder and Mail Forwarder.  

/usr/bin/vacation is installed on the system, as is vsftp.

Going into squirrelmail, there is now the button for Auto Response, but when 
you click on it, it gives the instructions for the page, but does not have any 
options.

It just says:
'Options - Automatic Forward and Reply
  
  

  

  Here you can define various ways to automatically handle all your Incoming
  email.  Please note:  If you choose Forward or Reply,
  you will not keep copies of mail in your mailbox unless you also select
  Keep a copy here.'
But there nothing below it.Any ideas what I may be missing?

Thanks,Brad

_
Peek-a-boo FREE Tricks  Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us___
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 brad davison

You may also wish to add your locally hosted domains to the 

/etc/mail/local-host-names


 From: [EMAIL PROTECTED]
 Date: Thu, 18 Oct 2007 09:47:46 -0500
 To: [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: postfix problem
 
 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 freebsd-questions- 
  [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]

_
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing Thawte Certificate on imap pop smtp

2007-10-11 Thread brad davison
I currently have self-signed certificates on our mail server, but they are now 
expired.

I have just received the CA-crt back from thawte.  I have the webmail portion 
completed with installing the certificates, but I am having some issues with 
getting them installed on SMTP.

I tried to put them in as the *.crt and *.key files, but sendmail didn't like 
that.

The temporary certificates installed are:
define(`confCACERT_PATH', `/etc/mail/certs')dnl
define(`confCACERT', `/etc/mail/certs/mycert.pem')dnl
define(`confSERVER_CERT', `/etc/mail/certs/mycert.pem')dnl
define(`confSERVER_KEY', `/etc/mail/certs/mykey.pem')dnl
define(`confCLIENT_CERT', `/etc/mail/certs/mycert.pem')dnl
define(`confCLIENT_KEY', `/etc/mail/certs/mykey.pem')dnl

and the certs i have generated and sent to thawte are:

mail.server.name.crt (signed from thawte)
mail.server.name.csr (what I generated and sent to them)
mail.server.name.key

Any help on how to get this converted from the files i have to *.pem files 
would be much appreciated! 

(our temporary certificates are now expired and I have to get these installed 
ASAP)

THANKS!




_
Help yourself to FREE treats served up daily at the Messenger Café. Stop by 
today.
http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Domain of Sender does not exist

2007-09-12 Thread brad davison
We have SMTP AUTH set up on our mail server.  Our mail server accepts mail 
for several domains.

x.com
y.com
z.com

Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, but 
emails going out from [EMAIL PROTECTED] are getting:


Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8

The oddest thing, is that this server is the MTA for z.com.  Sending to 
[EMAIL PROTECTED] will end up on this box no problem.


I did not set up our DNS, and it is in Active Directory.  In our DNS z.com 
in the Forward Lookup Zone has A record for the email server, and MX record 
for the email server.


What could be hanging this up?  The x.com and y.com are not specified in our 
DNS locally at all, so I am not sure how to model the DNS for these domains.


Also, when I 'paused' the z.com zone, I got the
Domain of Sender does not resolve 4.1.8 error.

Any leads on where my DNS or configs might be not able to resolve this 
domain?


Thanks
Brad

_
Get a FREE small business Web site and more from Microsoft® Office Live! 
http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/


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


Re: Domain of Sender does not exist

2007-09-12 Thread brad davison

We are using Sendmail.
Sendmail version 8.13.8, config V10/Berkeley

It is just odd that of our 17 domains we send/receive mail for.. only the 4 
that are specified in our DNS are the ones having problems.


The Domains are all listed in local-domain file.

If there is something else i can check or put in my sendmail config, i'm all 
ears.  It is configured for SMTP AUTH so its the check_rcpt that is giving 
up the error.



From: Derek Ragona [EMAIL PROTECTED]
To: brad davison 
[EMAIL PROTECTED],freebsd-questions@freebsd.org

Subject: Re: Domain of Sender does not exist
Date: Wed, 12 Sep 2007 09:27:51 -0500

At 08:58 AM 9/12/2007, brad davison wrote:
We have SMTP AUTH set up on our mail server.  Our mail server accepts mail 
for several domains.

x.com
y.com
z.com

Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, but 
emails going out from [EMAIL PROTECTED] are getting:


Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8

The oddest thing, is that this server is the MTA for z.com.  Sending to 
[EMAIL PROTECTED] will end up on this box no problem.


I did not set up our DNS, and it is in Active Directory.  In our DNS 
z.com in the Forward Lookup Zone has A record for the email server, and 
MX record for the email server.


What could be hanging this up?  The x.com and y.com are not specified in 
our DNS locally at all, so I am not sure how to model the DNS for these 
domains.


Also, when I 'paused' the z.com zone, I got the
Domain of Sender does not resolve 4.1.8 error.

Any leads on where my DNS or configs might be not able to resolve this 
domain?


What are you using to send mail?  If it is sendmail, sounds like a sendmail 
error.


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


_
Kick back and relax with hot games and cool activities at the Messenger 
Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1


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


RE: {Disarmed} Re: Domain of Sender does not exist

2007-09-12 Thread brad davison





From: Derek Ragona [EMAIL PROTECTED]
To: brad davison 
[EMAIL PROTECTED],freebsd-questions@freebsd.org

Subject: {Disarmed} Re: Domain of Sender does not exist
Date: Wed, 12 Sep 2007 11:02:12 -0500

At 10:52 AM 9/12/2007, brad davison wrote:

We are using Sendmail.
Sendmail version 8.13.8, config V10/Berkeley

It is just odd that of our 17 domains we send/receive mail for.. only the 
4 that are specified in our DNS are the ones having problems.


The Domains are all listed in local-domain file.

If there is something else i can check or put in my sendmail config, i'm 
all ears.  It is configured for SMTP AUTH so its the check_rcpt that is 
giving up the error.


Make sure they are in /etc/mail/local-host-names

-Derek


I checked local-host-names, and yes they are all listed there.

The machine will accept mail delivered -for- this domain [EMAIL PROTECTED], but 
if your Thunderbird (or whatever MUA) is set for [EMAIL PROTECTED], that's when 
it gives the error.


How can it accept mail for this domain, and say that the 'domain does not 
exist' or 'domain does not resolve' errors?


Brad




We have SMTP AUTH set up on our mail server.  Our mail server accepts 
mail for several domains.

x.com
y.com
z.com

Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, but 
emails going out from [EMAIL PROTECTED] are getting:


Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8

The oddest thing, is that this server is the MTA for z.com.  Sending to 
[EMAIL PROTECTED] will end up on this box no problem.


I did not set up our DNS, and it is in Active Directory.  In our DNS 
z.com in the Forward Lookup Zone has A record for the email server, 
and MX record for the email server.


What could be hanging this up?  The x.com and y.com are not specified in 
our DNS locally at all, so I am not sure how to model the DNS for these 
domains.


Also, when I 'paused' the z.com zone, I got the
Domain of Sender does not resolve 4.1.8 error.

Any leads on where my DNS or configs might be not able to resolve this 
domain?


What are you using to send mail?  If it is sendmail, sounds like a 
sendmail error.


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


_
Kick back and relax with hot games and cool activities at the Messenger 
Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1


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


_
Kick back and relax with hot games and cool activities at the Messenger 
Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1


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


FIXED Re: Domain of Sender does not exist

2007-09-12 Thread brad davison

well.. our internal DNS was set up by a hack who didn't do it right...
I pointed the server to external DNS and everything is happy .

Thanks for your help.



From: brad davison [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: RE: {Disarmed} Re: Domain of Sender does not exist
Date: Wed, 12 Sep 2007 18:05:22 +





From: Derek Ragona [EMAIL PROTECTED]
To: brad davison 
[EMAIL PROTECTED],freebsd-questions@freebsd.org

Subject: {Disarmed} Re: Domain of Sender does not exist
Date: Wed, 12 Sep 2007 11:02:12 -0500

At 10:52 AM 9/12/2007, brad davison wrote:

We are using Sendmail.
Sendmail version 8.13.8, config V10/Berkeley

It is just odd that of our 17 domains we send/receive mail for.. only the 
4 that are specified in our DNS are the ones having problems.


The Domains are all listed in local-domain file.

If there is something else i can check or put in my sendmail config, i'm 
all ears.  It is configured for SMTP AUTH so its the check_rcpt that is 
giving up the error.


Make sure they are in /etc/mail/local-host-names

-Derek


I checked local-host-names, and yes they are all listed there.

The machine will accept mail delivered -for- this domain [EMAIL PROTECTED], but 
if your Thunderbird (or whatever MUA) is set for [EMAIL PROTECTED], that's when 
it gives the error.


How can it accept mail for this domain, and say that the 'domain does not 
exist' or 'domain does not resolve' errors?


Brad




We have SMTP AUTH set up on our mail server.  Our mail server accepts 
mail for several domains.

x.com
y.com
z.com

Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, 
but emails going out from [EMAIL PROTECTED] are getting:


Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8

The oddest thing, is that this server is the MTA for z.com.  Sending to 
[EMAIL PROTECTED] will end up on this box no problem.


I did not set up our DNS, and it is in Active Directory.  In our DNS 
z.com in the Forward Lookup Zone has A record for the email server, 
and MX record for the email server.


What could be hanging this up?  The x.com and y.com are not specified 
in our DNS locally at all, so I am not sure how to model the DNS for 
these domains.


Also, when I 'paused' the z.com zone, I got the
Domain of Sender does not resolve 4.1.8 error.

Any leads on where my DNS or configs might be not able to resolve this 
domain?


What are you using to send mail?  If it is sendmail, sounds like a 
sendmail error.


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


_
Kick back and relax with hot games and cool activities at the Messenger 
Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1


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


_
Kick back and relax with hot games and cool activities at the Messenger 
Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1


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


_
Share your special parenting moments! 
http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us


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


imap-uw / cclient SSL cert question

2007-09-10 Thread brad davison

I had installed imap-uw port
# cd /usr/ports/mail/imap-uw
# make -DWITH_SSL_AND_PLAINTEXT install

then i create a certificate with

# make cert
Generating a 1024 bit RSA private key
++
++
writing new private key to '/usr/local/certs/imapd.pem'
-
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-
Country Name (2 letter code) [NO]:us
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [FooBar Inc.]:
Organizational Unit Name (eg, section) []:
Common Name (FQDN of your server) []:[FQDN of our server]

Common Name (default) []:localhost

subject= /C=us/ST=/L=/O=/OU=/CN=[FQDN]/CN=localhost
notBefore=Sep 10 16:15:54 2007 GMT
notAfter=Sep  9 16:15:54 2008 GMT


The field Common Name (default) which is localhost is automatically put in 
there.


When you connect to the mail server with SSL turned on, you examine the 
cert, and the CN is coming up as Localhost, not the name of our server.


Is there a way to generate one that wont cause the Domain Name Mismatch 
error?


I am very new to SSL, so any help or direction on this issue would be most 
appreciated.


Thanks!

Brad

_
Get a FREE small business Web site and more from Microsoft® Office Live! 
http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/


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


Re: imap-uw / cclient SSL cert question

2007-09-10 Thread brad davison

Worked like a charm!

Thanks!
(the self-signed thing is OK.. but there was no way I was going to show it 
to the VP with the 'Domain Name Mismatch' error.)




From: Tommy Scheunemann [EMAIL PROTECTED]
To: brad davison [EMAIL PROTECTED]
Subject: Re: imap-uw / cclient SSL cert question
Date: Mon, 10 Sep 2007 21:20:42 +0200

You can copy:

/usr/ports/mail/imap-uw/files/imapd-uw.cnf

to a temporary directory like /tmp and edit the .cnf file to match  your 
needs. Your problem is the host line:


1.commonName_value = localhost

change the localhost string to match your host. Then run:

openssl req -new -x509 -days 365 -nodes -config /tmp/imap-uw.cnf
-out /usr/local/certs/imapd.pem -keyout /usr/local/certs/imapd.pem

Replace /tmp with the temporary directory you used. Then:

openssl x509 -subject -dates -fingerprint -noout -in  
/usr/local/certs/imapd.pem

chmod 700 /usr/local/certs/imapd.pem
ln -s /usr/local/certs/imapd.pem /usr/local/certs/ipop3d.pem

Please note that client will still complain about a self-signed 
certificate.


Good luck

On Mon, 10 Sep 2007 brad davison [EMAIL PROTECTED] 
babbled:



I had installed imap-uw port
# cd /usr/ports/mail/imap-uw
# make -DWITH_SSL_AND_PLAINTEXT install

then i create a certificate with

# make cert
Generating a 1024 bit RSA private key
++
++
writing new private key to '/usr/local/certs/imapd.pem'
-
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a 
DN.

There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-
Country Name (2 letter code) [NO]:us
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [FooBar Inc.]:
Organizational Unit Name (eg, section) []:
Common Name (FQDN of your server) []:[FQDN of our server]

Common Name (default) []:localhost

subject= /C=us/ST=/L=/O=/OU=/CN=[FQDN]/CN=localhost
notBefore=Sep 10 16:15:54 2007 GMT
notAfter=Sep  9 16:15:54 2008 GMT


The field Common Name (default) which is localhost is automatically put
in there.

When you connect to the mail server with SSL turned on, you examine the
cert, and the CN is coming up as Localhost, not the name of our server.

Is there a way to generate one that wont cause the Domain Name   Mismatch 
error?


I am very new to SSL, so any help or direction on this issue would be
most appreciated.

Thanks!

Brad

_
Get a FREE small business Web site and more from Microsoft® Office  Live! 
http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/


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




--
Life is like a Gladiators fight. First you drink together, then you fight 
each

other.

-- Lucius Annaeus Seneca (On Anger) - 41 AD



_
Test your celebrity IQ.  Play Red Carpet Reveal and earn great prizes! 
http://club.live.com/red_carpet_reveal.aspx?icid=redcarpet_hotmailtextlink2


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


RE: RAID Controller Recommendations: ARC-1210 or 9650SE-4LPML

2007-09-05 Thread brad davison






Hello,

My two main candidates are Areca ARC-1210, and 3ware 9650SE-4LPML.
Both are 4-lane SATA II controllers. Both cost about the same, and
from what I gather, both should be supported by FreeBSD. I read the
reviews, but would like to get some additional feedback specifically
for using the two under FreeBSD (maybe one has better drivers... I
don't know).


I just put a 3ware Escalade into our mail server.  I don't have experience 
with the model you are speaking of, but I know that 3ware and BSD have a 
good long history together.  I had no problems with the controller (but I 
did have a strange issue with some Seagate drives, replacing them with 
Western Digitals fixed that though.)



RAID5? Which one has more mature drivers? If you have some other
recommendations, I'm happy to hear those as well.


Like I mentioned, I had no problems with the 3ware, and it had good driver 
support in BSD.


from the 3ware website:::  http://www.3ware.com/support/OS-Support.asp
9650SE Series

   * FreeBSD 5.0 driver source available in 9.4.1 code set
   * FreeBSD 6.0 driver source available in 9.4.1 code set
   * FreeBSD 6.1 (x86  x86_64)

Take it easy,
Brad

_
Kick back and relax with hot games and cool activities at the Messenger 
Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1


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


Re: Cannot rebuild Sendmail (with sasl2) **FIXED**

2007-08-31 Thread brad davison
I would like to send a heartfelt 'THANK YOU' to everyone who contributed 
info to this thread.  I had to use bits a pieces of everyone's input to make 
it finally do what I wanted it to do.. which it finally does!


in the end.. what my ultimate problem was.. was the /usr/obj directory.  I 
must not have cleaned it out entirely.


so what i did was:
# chflags -R noschg /usr/obj/usr
# rm -rf /usr/obj/usr
# cd /usr/src
# make cleandir
# make cleandir
# cd /usr/src/lib/libsmutil
# make cleandir
# make cleandir  make obj  make
# cd /usr/src/lib/libsm
# make cleandir
# make cleandir  make obj  make
# cd /usr/src/usr.sbin/sendmail
# make cleandir
# make cleandir  make obj  make  make install

with this in my make.conf:
PERL_VER=5.8.8
PERL_VERSION=5.8.8

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2


I did have to modify what I had in my make.conf because it had -DSASL=2 
instead of just -DSASL

so I hope this helps another FBSD lowbie.

I am gaining lots of respect for this Good Software.  I will probably be 
putting FBSD in where I have other linux installations as the hardware gets 
replaced.


THANK YOU AGAIN EVERYONE FOR YOUR HELP!


250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH PLAIN LOGIN   W H ***
250-STARTTLS
250-DELIVERBY
250 HELP


From: Giorgos Keramidas [EMAIL PROTECTED]
To: brad davison [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot rebuild Sendmail (with sasl2)
Date: Thu, 30 Aug 2007 23:40:43 +0300

On 2007-08-30 17:48, brad davison [EMAIL PROTECTED] 
wrote:

  Thank you for your help.

  We seem to be further now.  Running the 'make cleandir' twice seems to 
have

  gotten us past that hangup.  Now the buildworld and buildkernel and
  installkernel all worked.

  It seems, however, that the -DSASL=2 did not take, because now, when I
  reboot (or restart sendmail) I get:

  Warning: Option: AuthMechanisms requires SASL support (-DSASL)

  Also, building Sendmail from /usr/src/usr.sbin/sendmail gives the old 
error

  message
  ..
  cc -O2 -fno-strict-aliasing -pipe
  [...]
  -std=iso9899:1990  -c
  /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
  make: don't know how to make
  /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop
  

That's because to 'reuse' the existing object code (compiled during the
last buildworld and stored in /usr/obj) you have to set in your shell's
environment the MAKEOBJDIRPREFIX variable.

If you run buildworld with csh as your shell, this would be:

csh# setenv MAKEOBJDIRPREFIX /usr/obj

If you are using /bin/sh use:

# export MAKEOBJDIRPREFIX=/usr/obj

Then you should try:

# cd /usr/src/usr.sbin/sendmail
# make cleandir  make cleandir
# make obj depend all

 If you are (but the buildworld did finish successfully including the
 sendmail piece, which did have the -DSASL=2 in the make.conf.)

I don't know why your buildworld seems to have picked the wrong settings
from make.conf.  Are you *sure* you run a clean build?  This would
require:

1. Removing /usr/obj

2. Running make cleandir cleandir in /usr/src

3. Checking /etc/make.conf

4. Running buildworld buildkernel

5. Installing everything, following the instructions
   from /usr/src/UPDATING



_
Booking a flight? Know when to buy with airfare predictions on MSN Travel. 
http://travel.msn.com/Articles/aboutfarecast.aspxocid=T001MSN25A07001


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


Re: Cannot rebuild Sendmail (with sasl2)

2007-08-30 Thread brad davison

Thank you for your help.

We seem to be further now.  Running the 'make cleandir' twice seems to have 
gotten us past that hangup.  Now the buildworld and buildkernel and 
installkernel all worked.


It seems, however, that the -DSASL=2 did not take, because now, when I 
reboot (or restart sendmail) I get:


Warning: Option: AuthMechanisms requires SASL support (-DSASL)

Also, building Sendmail from /usr/src/usr.sbin/sendmail gives the old error 
message

..
cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL 
-std=iso9899:1990  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c
cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL 
-std=iso9899:1990  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/util.c
cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL 
-std=iso9899:1990  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop



(but the buildworld did finish successfully including the sendmail piece, 
which did have the -DSASL=2 in the make.conf.)


My ultimate goal, is to have SMTP AUTH for secure relay for our roaming 
clients.


So my problem now is:

a) the buildworld did not seem to use the make.conf at least for sendmail, 
so SASL is not built into sendmail


b) I am still not able to build sendmail from:
/usr/src/usr.sbin/sendmail/
# make cleandir  make cleandir
# make depend
# make
...
cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL 
-std=iso9899:1990  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sasl.c

..
cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL 
-std=iso9899:1990  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c
cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL 
-std=iso9899:1990  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/util.c
cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL 
-std=iso9899:1990  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop




From: Giorgos Keramidas [EMAIL PROTECTED]
To: brad davison [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot rebuild Sendmail (with sasl2)
Date: Thu, 30 Aug 2007 07:15:16 +0300

On 2007-08-30 02:14, brad davison [EMAIL PROTECTED] 
wrote:

 After installing the cyrus-sasl2-saslauthd port, I am now unable to
 rebuild sendmail and/or The World.

 You need the security/cyrus-sasl2 port, not sasl2-saslauthd.

  I have the cyrus-sasl2 as well as cyrus-sasl2-saslauthd installed

  newmail# pkg_version -v
  ...
  cyrus-sasl-2.1.22   =   up-to-date with port
  cyrus-sasl-saslauthd-2.1.22 =   up-to-date with port
  .

Nice.  The saslauthd port pulled in cyrus-sasl-2.1.22 as a dependency
too, I guess :)

  % script
  Script started, output file is typescript
  % make buildworld buildkernel
[ snip output

Cannot rebuild Sendmail (with sasl2)

2007-08-29 Thread brad davison

Hello.

I am a new FreeBSD user (almost converted from Linux).  My company is 
switching over mail servers from an (expensive and old) Red Hat server to 
FreeBSD 6.2.


I have gotten nearly everything configured and running smoothly except for 
SMTP AUTH.


Before I tried to build in the SASL2 stuff, I had done a full src-all update 
via cvsup, and at that time, I was able to rebuild sendmail, and rebuild the 
world.


After installing the cyrus-sasl2-saslauthd port, I am now unable to rebuild 
sendmail and/or The World.


Whether I am rebuilding sendmail or the World, I get an error on 
libsmutil.a.

Specifically :

make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop


after doing a 'find / -name libsmutil.a'
libsmutil.a exists at: /usr/obj/usr/src/lib/libsmutil/libsmutil.a

I had googled the problem, and 2 years ago this guy had a similar problem.
Sendmail with sasl2 build fails. *FIX*
Richard Mcintyre rem at thecompanyonline.com
Wed May 4 12:03:08 PDT 2005

He pointed to some advice he had found on a mailing list, but did not 
provide details.


Any direction that could assist me would make me EXTREMELY grateful!

Thanks!
Brad

_
A new home for Mom, no cleanup required. All starts here. 
http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us


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


Re: Cannot rebuild Sendmail (with sasl2)

2007-08-29 Thread brad davison

Yuri, thank you for your reply.

my make.conf:
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
# added by use.perl 2007-08-28 00:53:33
PERL_VER=5.8.8
PERL_VERSION=5.8.8

saslauthd is installed and running.

The process I am using for rebuilding sendmail:
I had gone into the /usr/src/lib/libsmutil and did make cleandir  make obj 
 make

then I went into /usr/src/lib/libsm and did the same thing, those went OK

but when going into /usr/src/usr.sbin/sendmail and doing 'make clean  make 
depend' that works OK

when doing the 'make' it fails with the libsmutil.a




From: Yuri Pankov [EMAIL PROTECTED]
To: brad davison [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot rebuild Sendmail (with sasl2)
Date: Wed, 29 Aug 2007 22:20:13 +0400

On Wed, Aug 29, 2007 at 06:02:01PM +, brad davison wrote:
 Hello.

 I am a new FreeBSD user (almost converted from Linux).  My company is
 switching over mail servers from an (expensive and old) Red Hat server 
to

 FreeBSD 6.2.

 I have gotten nearly everything configured and running smoothly except 
for

 SMTP AUTH.

 Before I tried to build in the SASL2 stuff, I had done a full src-all
 update via cvsup, and at that time, I was able to rebuild sendmail, and
 rebuild the world.

 After installing the cyrus-sasl2-saslauthd port, I am now unable to 
rebuild

 sendmail and/or The World.

 Whether I am rebuilding sendmail or the World, I get an error on
 libsmutil.a.
 Specifically :

 make: don't know how to make
 /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop

 after doing a 'find / -name libsmutil.a'
 libsmutil.a exists at: /usr/obj/usr/src/lib/libsmutil/libsmutil.a

 I had googled the problem, and 2 years ago this guy had a similar 
problem.

 Sendmail with sasl2 build fails. *FIX*
 Richard Mcintyre rem at thecompanyonline.com
 Wed May 4 12:03:08 PDT 2005

 He pointed to some advice he had found on a mailing list, but did not
 provide details.

 Any direction that could assist me would make me EXTREMELY grateful!

 Thanks!
 Brad

Brad,

You haven't provided details on how you are rebuilding sendmail, so I think 
this

link can be helpful:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html


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


_
Tease your brain--play Clink! Win cool prizes! 
http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2


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


Re: Cannot rebuild Sendmail (with sasl2)

2007-08-29 Thread brad davison


I wanted to make sure my sources were up to date, so here is a snip from my 
'script'




 Hello.
 I am a new FreeBSD user (almost converted from Linux).  My company is
 switching over mail servers from an (expensive and old) Red Hat server
 to FreeBSD 6.2.

Yippie!  Welcome to the FreeBSD side of the world :-) :-)

 I have gotten nearly everything configured and running smoothly except
 for SMTP AUTH.

 Before I tried to build in the SASL2 stuff, I had done a full src-all
 update via cvsup, and at that time, I was able to rebuild sendmail,
 and rebuild the world.

 After installing the cyrus-sasl2-saslauthd port, I am now unable to
 rebuild sendmail and/or The World.

You need the security/cyrus-sasl2 port, not sasl2-saslauthd.



I have the cyrus-sasl2 as well as cyrus-sasl2-saslauthd installed

newmail# pkg_version -v
...
cyrus-sasl-2.1.22   =   up-to-date with port
cyrus-sasl-saslauthd-2.1.22 =   up-to-date with port
.


 Whether I am rebuilding sendmail or the World, I get an error on
 libsmutil.a.
 Specifically :

 make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a.

 Stop

You haven't provided enough context for us to find out what is
going on.  In the future, if you bump against similar errors,
it may be useful to keep a full log of the build commands that
failed, i.e. by running thm inside script(1):

% script
Script started, output file is typescript
% make buildworld buildkernel
  [ snip output ]
% exit
exit

Script done, output file is typescript
%

Then you can attach the file 'typescript', or filter the file
through col(1) to convert it to plain ASCII text and insert its
contents in an email.

 after doing a 'find / -name libsmutil.a'
 libsmutil.a exists at: /usr/obj/usr/src/lib/libsmutil/libsmutil.a

The libsmutil.a library builds fine here with the following in
my `make.conf' file:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=   -L/usr/local/lib
SENDMAIL_LDADD= -lsasl2

Can you show us what your `make.conf' looks like, and describe how you
tried to build Sendmail?


here is my make.conf
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
# added by use.perl 2007-08-28 00:53:33
PERL_VER=5.8.8
PERL_VERSION=5.8.8

here is my script ... I wanted to make sure my sources were up to date so i 
did cvsup first (with src-all as all i was getting, I had just done this 2 
days ago, but I wanted to make sure)

Script started on Thu Aug 30 07:59:12 2007
newmail# cvsup standard-supfile
Connected to cvsup5.us.FreeBSD.org
Updating collection src-all/cvs
Finished successfully
newmail# cd /usr/src
newmail# pwd
/usr/src
newmail# make buildworld

--

Rebuilding the temporary build tree

--
rm -rf /usr/obj/usr/src/tmp
mkdir -p /usr/obj/usr/src/tmp/legacy/usr/bin
mkdir -p /usr/obj/usr/src/tmp/legacy/usr/games

[snip ---  an hour or so goes by]

cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL -I/usr/local/include -DSASL=2 -std=iso9899:1990  
-c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/util.c
cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL -I/usr/local/include -DSASL=2 -std=iso9899:1990  
-c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop

*** Error code 2

Stop in /usr/src/usr.sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1


First I tried:
   # cd /usr/src/usr.sbin/sendmail
   # make clean
   # make depend
   # make
   # make install

When that failed I tried:
   # cd /usr/src/lib/libsm
   # make obj
   # make depend
   # make
   # cd /usr/src/lib/libsmutil
   # make obj
   # make depend
   # make
   # cd /usr/src/usr.sbin/sendmail
   # make obj
   # make depend
   # make
   # make install

Finally when that failed I tried:
   # cd /usr/src/lib/libsm
   # make clean
   # cd /usr/src/lib/libsmutil
   # make clean
   # cd /usr/src/usr.sbin/sendmail
   # make clean
   # cd /usr/src/lib/libsm
   # make obj
   # make depend
   # make
   # cd /usr/src/lib/libsmutil
   # make obj
   # make depend
   # make
   # cd