Re: Problem upgrading
On Wed, Oct 17, 2012 at 02:14:10PM -0700, Timothy Snowberger wrote: > On 10/17/2012 7:27 AM, Jim Trigg wrote: > > Any suggestions on how to fix this? > > > > --- > > argent(1) /usr/ports/ports-mgmt/portmaster# freebsd-update -r 9.0-RELEASE > > upgrade > > Does this look reasonable (y/n)? y > > ... > > Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... > > done. > > Fetching metadata index... done. > > Fetching 1 metadata patches. done. > > Applying metadata patches... done. > > Fetching 1 metadata files... done. > > > > The update metadata is correctly signed, but > > failed an integrity check. > > Cowardly refusing to proceed any further. > > sed -i '' -e 's/=_/=%@_/' /usr/sbin/freebsd-update > > See http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064321.html > > "First, a minor change must be made to the freebsd-update code in order > for it to accept file names appearing in FreeBSD 9.0 which contain the '%' > and '@' characters; without this change, freebsd-update will error out > with the message "The update metadata is correctly signed, but failed an > integrity check". " This fixed it. Thanks, Jim ___ 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"
Problem upgrading
Any suggestions on how to fix this? --- argent(1) /usr/ports/ports-mgmt/portmaster# freebsd-update -r 9.0-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: world/catpages Does this look reasonable (y/n)? y Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further. --- Thanks, Jim ___ 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: Installation problem on AMD64
On Mon, Feb 21, 2011 at 8:37 PM, Jim Trigg wrote: > I do an installation from DVD on AMD64, and when I reboot it hangs > before displaying anything from the standard boot loader. How can I > debug this? I found my problem by accident -- I had a badly formatted USB stick connected. (I had tried to write the memstick image to a 1G stick -- not quite large enough.) Thanks, Jim ___ 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"
Installation problem on AMD64
I do an installation from DVD on AMD64, and when I reboot it hangs before displaying anything from the standard boot loader. How can I debug this? Thanks, Jim Trigg ___ 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: pkg_info question
On Wed, June 22, 2005 2:13 pm, Björn König said: > Thus I can search a file with > >cat /path/to/somewhere | xargs grep 'pattern' You can avoid wasting a process by using the following instead: xargs grep 'pattern' < /path/to/somewhere Jim -- Jim Trigg, Lord High Everything Else O- /"\ Hostmaster, Huie Kin family website\ / ASCII RIBBON CAMPAIGN Verger and System Administrator,XHELP CURE HTML MAIL All Saints Church - Sharon Chapel / \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Postfix on BSD
On Thu, June 16, 2005 12:06 pm, Bart Silverstrim said: > On Jun 16, 2005, at 12:00 PM, Ean Kingston wrote: >> On June 16, 2005 11:54 am, Bart Silverstrim wrote: >>> body_checks = regexp:/usr/local/etc/postfix/body_checks >>> >>> in main.cf. The file contains: >>> >>> # Will this stop RR collateral damage messages? >>> /^* This e-mail was sent from a Road Runner IP address. As part of our >>> continuing initiative to stop the spread of malicious viruses, Road >>> Runner scans all outbound e-mail attachments./ REJECT Possible >>> automated RoadRunner mail scanning collateral damage. Eliminate the >>> notifying text and resend message. > Also the asterisk in "/^* This e-mail was sent from a Road Runner IP > address." has been removed now...a warning was appearing in the > maillog. No longer gives warning, but still lets the m ail through. I don't know about the rest of the issue (though I suspect that the problem is that in the original message the text is not being sent as a single line), but what you need here is "/^\*" -- you need to match the asterisk, since it's in the original message. Without the backslash, you have an improperly formed regular expression since there is no character for the wildcard to apply to. Jim -- Jim Trigg, Lord High Everything Else O- /"\ Hostmaster, Huie Kin family website\ / ASCII RIBBON CAMPAIGN Verger and System Administrator,XHELP CURE HTML MAIL All Saints Church - Sharon Chapel / \ ___ 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 (urgent)
Raciel Perez Hernandez wrote: Helo list I have postfix installed and working, it only have a problem, I connect to internet trougth a leased line of 144Kbs but this line sometimes gets unstable and goes down, so if the connection is down and somebody try to send a message, postfix tells me (Server replied: 450 <[EMAIL PROTECTED]>: Recipient address rejected: Domain not found) and reject the message, I put this two lines on the main.cf file without any results disable_dns_lookups=yes and deffer_transport=smtp but postfix do not hear me, I need postfix put mail on the queue even if is connected or not, rigth now it represent a big problem to me Best Regards. There is my main.cf file. smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, check_sender_access proxy:mysql:/etc/postfix/mysql-sender-access.cf, permit_sasl_authenticated, permit_mynetworks, #reject_unauth_destination, #permit_sasl_authenticated, reject_unauth_pipelining, reject The problem is the order of your recipient restrictions. Move permit_sasl_authenticated and permit_mynetworks above reject_unknown_sender_domain. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Spam Problems
Kevin Pang wrote: Hello All, I'm a newbie and manage a FreeBSD server, which only hosts my own websites, also only me have shell accounts on this server. Someone sent out lots of spams from my server today. I have stopped postfix and disabled mail command to make sure no any emails will be sent to from this server. I want to know how the spammer did that. Actually I didn't manage postfix to work well, I even can't send emails from my desktop myself, on the server side, sending/receiving emails works well. I guess the spams were sent via a web script. The sender was specified as "[EMAIL PROTECTED]" according to the complaint email. I use phpBB, vBulletin and Awstats. The spam email entry in the maillog is: May 14 14:55:03 pang postfix/smtp[46011]: EC0C595C90: to=<[EMAIL PROTECTED]>, relay=mail2.iecc.com[208.31.42.98], delay=724, status=sent (250 ok 1116100192 qp 2255) As a newbie, I have no idea where to start to fix the problem. My first question: Is it possible to know which script sent out these spams? I don't know what else to ask at the moment. I will appreciate it very much too if you any other suggestions about my problems. Thanks! If you post the output of 'postconf -n' we can determine what might be wrong in your postfix setup; if that looks good then it's probably one of the addon web packages. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dovecot is broken in ports
On Mon, March 14, 2005 11:43 pm, Madhusudan Singh said: > Hi > > Just want to report that dovecot seems to be broken : > > ===> Returning to build of dovecot-0.99.14 > ===> dovecot-0.99.14 depends on shared library: sasl2.2 - found > ===> dovecot-0.99.14 depends on shared library: ldap-2.2.7 - found > ===> dovecot-0.99.14 depends on shared library: iconv.3 - found [snip] > install: /usr/ports/mail/dovecot/work/dovecot-0.99.14/src/imap/imap: No > such > file or directory > *** Error code 71 It looks to me like the problem must be in the ldap integration; I just upgraded my copy last night with no problems, and do use sasl but not ldap. Jim -- Jim Trigg, Lord High Everything Else O- /"\ Hostmaster, Huie Kin family website\ / ASCII RIBBON CAMPAIGN Verger and System Administrator,XHELP CURE HTML MAIL All Saints Church - Sharon Chapel / \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: postfix on FreeBSD
On Wed, March 9, 2005 3:39 pm, Bart Silverstrim said: > I saw the errors and googled for it, but it just led to the man pages > and site web pages for the postfix project (which I read); what was > throwing me was the fact that it wasn't an open relay before and it > didn't have the directive previously. I think it was using reasonable > defaults before and my adding that line to my main.cf overrode them > causing it to burp the error messages. Exactly correct -- if you *don't specify* smtpd_recipient_restrictions, it defaults to "permit_mynetworks, reject_unauth_destination", but as soon as you specify something, you need to explicitly include that. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: postfix on FreeBSD
On Wed, March 9, 2005 10:43 am, Bart Silverstrim said: > In the /usr/local/etc/postfix/main.cf file, I added the line: > smtpd_recipient_restrictions = check_recipient_access > hash:/usr/local/etc/postfix/access > > Then using tail -f /var/log/maillog, I got the error: > Mar 9 10:28:48 myserver postfix/smtpd[73796]: fatal: parameter > "smtpd_recipient_restrictions": specify at least one working instance > of: check_relay_domains, reject_unauth_destination, reject, defer or > defer_if_permit > > I put in a hash mark for the smtpd_ line in main.cf and ran another > postfix stop and start to get mail working again, but what am I doing > wrong with the file? Read the error message - currently you are configured to accept *any* message presented except those going to the specified users. That includes spam intended for completely unrelated domains. I would recommend using the following as a *bare* minimum: smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, check_recipient_access hash:/usr/local/etc/postfix/access I would also recommend looking at http://www.postfix.org/SMTPD_ACCESS_README.html and http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt -- they will help you understand what should be in your smtpd_*_restrictions. Jim -- Jim Trigg, Lord High Everything Else O- /"\ Hostmaster, Huie Kin family website\ / ASCII RIBBON CAMPAIGN Verger and System Administrator,XHELP CURE HTML MAIL All Saints Church - Sharon Chapel / \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to get it online
On Wed, December 22, 2004 1:30 pm, Joshua Lokken said: > On Wed, 22 Dec 2004 11:00:32 -0600, Bagus <[EMAIL PROTECTED]> wrote: >> > >> > How did you setup the Linksys? Default (out-of-the-box) settings? >> >> plugged it in, plugged cable modem into uplink, plugged this pc into one >> outlet, the freebsd box into another. PC works fine. Lights indicate >> connectivity to bsd box. >> >> > Is the DHCP server turned on at the router? What does the status >> > page of the router settings show? >> > >> >> That's supposed to be http://192.168.1.1, isn't it? I can't access that >> even >> from my pc. Any advice there would be helpful. BTW, I'm using Cox as a >> ISP. Not if you haven't reconfigured the router; the default is http://192.168.0.1. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: flash
On Tue, Oct 26, 2004 at 03:49:48AM -0700, Loren M. Lang wrote: > On Tue, Oct 26, 2004 at 08:19:53AM +0200, Gert Cuykens wrote: > > goddammit :) > > > > 7rxI# make install > > ===> flashpluginwrapper-0.20021113 is only for i386, and you are > > running amd64. > > Isn't amd64 supposed to be fully compatible with i386? Maybe the port > just doesn't reconize that fact. The only other thing might be if > firefox is compiled as amd64, u might need to recompile it as i386 but > don't take my word for it. Yes and no. A single program (for example, mozilla plus plugins) must be entirely either native AMD64 or ix86, not mixed. So you'd need a mozilla (and any needed shared libraries) built for ix86. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /etc and /usr/local/etc directories
On Fri, Aug 13, 2004 at 04:03:51PM +0100, Scott Mitchell wrote: > On Fri, Aug 13, 2004 at 03:42:52AM +0200, Danny Pansters wrote: > > > > For system (OS, that's kernel and userland) settings you have /etc > > For local (packages/ports) settings you have /usr/local/etc or /usr/X11R6/etc > > > > Of course these two local bases should have been merely hard linked long ago > > but that's not my decision :) > > One very good reason to keep these separate is that you might be mounting > /usr/{local,X11R6} on many machines from a shared NFS drive. By keeping the > shared configuration on the shared drive you don't have to replicate it on > every machine, and /etc just contains machine-specific configuration. But most of what's in /usr/local/etc is machine-specific. Personally, on the next rebuild I intend to make /usr/local/etc a symbolic link to /etc/local. (Then again, I plan to use /opt for third-party applications and /usr/local only for locally-developed applications. /opt/etc will be a symbolic link to /etc/opt as well.) Note that I'm using a symbolic link; this is because /etc is on the root filesystem while /usr and /opt will be separate filesystems. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Guide to x.org update?
On Mon, Jun 28, 2004 at 01:22:32PM -0500, Vulpes Velox wrote: > On Mon, 28 Jun 2004 13:17:56 -0400 > Jim Trigg <[EMAIL PROTECTED]> wrote: > > > > AFAICT, this won't really do anything -- there does not appear to be > > a real way to tell the ports system that you want X ports to depend > > on xorg instead of xfree. Every X port appears to have xfree > > hardcoded. > > Not sure, I think some do, but everything I have hear does not seem to > have that problem. OK, so how do you get cvsup to use xorg? As best I can tell, it will depend on either XFree86 (XFree86 v. 3) or XFree86-4-libraries (XFree86 v. 4), with no option to depend on xorg-libraries. Thanks, Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Guide to x.org update?
On Mon, Jun 28, 2004 at 12:13:53PM -0500, Vulpes Velox wrote: > On Mon, 28 Jun 2004 09:10:12 -0700 (PDT) > Your Name <[EMAIL PROTECTED]> wrote: > > > I'd like to upgrade to the x.org series from XFree86. > > Is there any simple guide to how to do this? There's > > nothing in /usr/ports/UPDATING. I see that some people > > have reported general success, but I'm worried that > > I'll miss something or forget about rebuilding > > something in the three days it'll take to rebuild > > every X dependent > > port on my system. > > build xorg-server, deinstall it, reinstall, it use pkgdb -uF to fix :) > > then repeat for what other xorg stuff you want :) > > the pkgdb -uF is important... it will go through and update > /var/db/pkg so that all ports recognize using the new xlibs and don't > try to reinstall xfree86... > > pkgdb is part of portupgrade AFAICT, this won't really do anything -- there does not appear to be a real way to tell the ports system that you want X ports to depend on xorg instead of xfree. Every X port appears to have xfree hardcoded. Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The FreeBSD Diary: 2004-05-30 - 2004-06-19
--On Sunday, June 20, 2004 12:10 AM -0700 Dan Langille <[EMAIL PROTECTED]> wrote: These are the articles posted during this period: 15-Jun : IBM ThinkPad T41 Installing and configuring FreeBSD and XFree86 http://freebsddiary.org/ibm-thinkpad-t41.php?2 'Tain't there, McGee... Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mail
On Wed, Jun 16, 2004 at 02:57:47PM -0400, Robert Huff wrote: > > Chuck Swiger writes: > > > There have been around 70 security issues mentioned since the > > beginning of sendmail-8 circa 1993, or about six per year. > > Recently, things have gotten better, but a dispassionate > > evaluation of the security history of sendmail does not inspire > > any great confidence that one can set up sendmail, leave it > > unpatched, and expect the software to still be free of known > > remotely-exploitable security problems two years later. > > Would you care to nominate an inherently network-accessible > program with such a track record? For example: 5.2.1 was released > in late February; there are currently 12 security advisories*, of > which I would consider at least 5 to be part of the core system. > (As opposed to things in the base system, like BIND.) Postfix and Exim. I found no security advisories for either on the CERT website; that actually covers their entire lifecycles. Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: blacklist(s)
--On Friday, May 14, 2004 5:55 PM -0700 Gary Kline <[EMAIL PROTECTED]> wrote: Any thoughts on spamcop.com? AFAIK, you mean spamcop.net (from what I can tell, spamcop.com does not have a blacklist, just a reporting feature and an ad for a Windows-based spam blocking program. The spamcop.net blacklist is somewhat controversial; some people find it too prone to false positives. I personally won't use it to bounce mail, just to mark mail as suspected spam. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dot.bashrc, where is it?
On Tue, Jun 03, 2003 at 04:04:53PM +0200, Didier Wiroth wrote: > > I'm asking because I'm reading "The Complete Freebsd, 4th Edition" book, at > page 94 "Changing the default shell for root" there is a comment: > "After installation, you may want to change the default shell... Bash... If > you have installed instant-workstation, you should copy the file > /usr/share/skel/dot.bashrc to root's home directroy and call..." > > I had a look at the Makefile of the /usr/ports/misc/instant-workstation > port. I can't figure out where or how this file (dot.bashrc) could have been > installed from this port?! I have the bash2 shell pkg/port installed and in > my mind, this is the only port where the dot.bashrc file could be installed, > but this isn't obviously the case. instant-workstation is a meta-port that causes other ports, including bash2, to be installed. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: #!sh grep and move files
On Thu, Apr 03, 2003 at 11:47:30AM -0600, Matthew Bettinger wrote: > > I am trying to find the best way to search through several thousand files and > move some to a different directory. The files are all prefixed with LB. > Like, LBX99.DAT141683. > > These are data transactions and contain one line. The lines i am trying to > search for all begin with > > 1~TA~ (standing for timeand attendance labor transactions) > > I've tried > > #!/usr/bin/sh > for x in `find /dir -type f -exec grep '1~TA' [] \;` This will print matching lines; what you want here is grep -l, but see below. > do > mv $x /newdir > done > > > > There seems to be something i am missing like some output redirection or an > ls listing... probably alot more. > > I know this can be done in a one liner somehow but I need it to be executed > from cron. find is actually a bit of overkill; this can be done as follows: #!/usr/bin/sh mv `grep -lr '1~TA' /dir` /newdir If you're using it from cron, make sure to use full paths for mv and grep (and find, if you keep using it) as the cron path may not be what you expect. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Courier-IMAP over SSL
On Wed, Apr 02, 2003 at 05:42:36PM +0100, Rus Foster wrote: > Hi All, > I'm having trouble getting IMAP/SSL working. I've installed courier imap. > Run /usr/local/share/courier-imap/mkimapdcert, edit the config and put > IMPADSSLSTART=YES but I'm still not seeing anything and TBH I can't see > anything in the logs. can someone point me in the right direction? I had the same problem; the answer is that the port only puts an rc script for imapd into /usr/local/etc/rc.d, not one for imapd-ssl. Copy /usr/ports/mail/courier-imap/work/courier-imap-1.7.1/imapd-ssl.rc to /usr/local/etc/rc.d/courier-imap-imapd-ssl.sh and make it executable. Then execute it with the argument "start". That'll get things going for you. (Do the same for pop3d as well if you want POP3/SSL.) Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how do i invoke the command "ee" or "vi" when system fails to load
On Tue, Mar 11, 2003 at 11:44:40PM -0600, Franklin Pierce wrote: > - Original Message - > From: Tom Parquette <[EMAIL PROTECTED]> > Date: Tue, 11 Mar 2003 18:55:07 -0500 > To: NOEL BALANSAG <[EMAIL PROTECTED]> > Subject: Re: how do i invoke the command "ee" or "vi" when system fails to load > > > NOEL BALANSAG wrote: > > > > >hello. > > > > > >pardon my stupid question, but how do i invoke the > > >command "ee" or "vi"? > *snip* > > >how do i invoke "ee" or "vi"? is it ok to just edit > > >the file "/etc/fstab" and reboot? is there anything > > >else i need to do? > *snip* > > Noel, > > From your description I'm assuming you are going into single user mode. > > It sounds like fstab is pointing in the wrong place. > *snip* > > Don't forget you'll have to invoke it with a long path > name, /usr/bin/ee . another option is to learn the > rather hideous syntax of /bin/ed . OK, it's only > mildly non-intuitive. Another option is to install the editors/e3 port, and copy the executable (which is entirely statically linked) into /bin. That gives you an editor available in recovery mode (only / mounted) that can use vi, emacs, or wordstar/pico key bindings as you want. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Looking for mail server tool recommendations
I am currently using Postfix/SASL/Courier-IMAP, and am looking for a set of tools that will do what I want. Requirements: - Authenticated SMTP where no password is sent in cleartext (preferably allowing but not requiring TLS) - Authenticated IMAP and POP where no password is sent in cleartext (again preferably allowing but not requiring TLS) - Single user database (not /etc/passwd for login and sasldb for email) - Virtual domain support, preferably such that [EMAIL PROTECTED] can be separate from [EMAIL PROTECTED] - The ability to insert arbitrary headers into outgoing email (I want to insert the Habeas headers) - Maildir support from MTA, IMAP server, and POP server Any suggestions? I *think* I can get the first through third through a combination of SASL and LDAP, if the MTA I choose supports one or the other, including the distinction between [EMAIL PROTECTED] and [EMAIL PROTECTED]; the fourth is not supported by Postfix, so I need to find a different MTA. I don't want to deal with learning the Sendmail arcana, and things I've heard about QMail have put me off of it. Can this be done with Exim, and where would I look for how to configure things? Or is there another MTA that I'm failing to consider? Thanks, Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: 4.7 Upgrade issue - Daniel Bye
On Wed, Feb 26, 2003 at 03:46:35PM +, Daniel Bye wrote: > Yes, and the suggestions have been to follow the procedure in the handbook > or the UPDATING file, as the buildworld process is carefully crafted to be > done in that order. I'm trying to minimize the amount that has to be done in single-user mode (I don't have console access; I have to trust my hosting company's tech support for that part). Is there any serious reason that mergemaster needs to be run in single-user mode? Ideally, I'm trying to get something that needs no operator intervention during single-user mode. Currently, if mergemaster can be run just before booting into single-user mode, the operator needs to type one command ("upgrade", a shell script in /root/bin which runs the fsck, mount, swapon, cd, make installworld, and fastboot commands). Thanks, Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Cvsup Handbook Example
On Fri, Feb 21, 2003 at 07:14:12AM -0800, [EMAIL PROTECTED] wrote: > > At http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html, > cvsup666 is used as an example. Out of all the possible three number > combos, why was 666 used? As a Christian, this does bother me and I > would like to know why exactly it was used. I do not think this is being > extreme or unreasonable. Please note that I do not want to start a > confrontation or cause problems etc... with this question. Simply the > answer. If you would prefer, please feel free to email me directly if > you feel this may cause problems on this list. I help admin a few > freebsd servers and so this of extra interest to me. -rw-rw-rw-: The file protection of the Beast. ;-> Pax Christi, Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: ftp users - question
On Fri, Feb 21, 2003 at 06:59:51AM +0100, Cliff Sarginson wrote: > On Fri, Feb 21, 2003 at 12:13:12PM +1300, Jonathan Chen wrote: > > On Thu, Feb 20, 2003 at 04:15:18PM -0600, Darryl Hoar wrote: > > > Greetings, > > > I have a machine setup running 4.7 - stable. It is an internal machine. > > > How do I setup a user (so they can upload with ftp) but can't login at > > > the shell ? Is this possible ? > > > > Set up the users with a non-existent shell (eg: /nonexistent), and add > > the non-existent shell entry into /etc/shells. > > Conventionally such users woud be given a shell of "/sbin/nologin", which > must also be added into the list contained in "/etc/shells". > The program "/sbin/nologin" already exists, so no need to create it. As an added measure of security, I'd advise making a link of /sbin/nologin called /sbin/ftponly and adding that to /etc/shells instead of nologin. That way, system accounts that shouldn't be able to be logged in through ftp either can still have the shell /sbin/nologin. Users that should only be able to access the system through FTP get the shell /sbin/ftponly. It also make the passwd file more understandable. Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: usernames and aliases etc.
On Thu, Feb 20, 2003 at 10:22:11AM -0500, Laszlo Vagner wrote: > While hosting mail for several domains, a local user > with an account name of say "biz" has a domain of say "domain.com" > would receive mail from other domains hosted at the same site > such as "[EMAIL PROTECTED]". > > What I am looking for is a general setup criteria that would eliminate this > behavior so that [EMAIL PROTECTED] would be rejected even though > otherdomain.com is hosted on the same server but has no username of biz. > > One thing I thought of would be to use strange local usernames and > then create virtual users that point to them. > > can anyone give me a suggestion on standard practice with this? It depends on what smtp software you're using. What you describe sounds like the only way to do it with sendmail; I use postfix which supports it natively without jumping through hoops. (I also find postfix a lot easier to configure.) Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: slow telnet login over (lan and wan)
On Tue, Feb 18, 2003 at 09:24:23AM -0800, jay tigre wrote: > im running FreeBSD 4.7 Release on amd athlon 1.6ghz > with 512mb of ram. This machine has a very light cpu > load. it mostly sits there idle and handles email for > a small office. for some reason however, telnet > logins are very slow over the sdsl 512/512 connection > as well as the 100mbps lan. When I try to telnet to > that box, i make an immediate connection but don't get > a login prompt for almost 30-40 seconds. Its not a > major problem. Just very annoying. Does anyone have a > clue about how to resolve this problem. any hints > would help. It probably has to do with reverse DNS resolution for the client IP address failing. (The telnet daemon attempts to get a hostname for the telnet client before prompting for login.) Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: pear-HTML_Select
On Sun, Feb 16, 2003 at 06:15:45PM +0100, Antoine Jacoutot wrote: > > I don't know who am I supposed to tell this, but it's been a while since the > pear-HTML_Select port had been broken: > > >> HTML_Select-1.0.tgz doesn't seem to exist in /usr/ports/distfiles/PEAR. > >> Attempting to fetch from http://pear.php.net/get/. > fetch: HTML_Select-1.0.tgz: Not Found > >> Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/PEAR/. > fetch: HTML_Select-1.0.tgz: File unavailable (e.g., file not found, no access) > >> Couldn't fetch it - please try to retrieve this > >> port manually into /usr/ports/distfiles/PEAR and try again. > *** Error code 1 > > Stop in /usr/ports/devel/pear-HTML_Select. > > I think version 1.1 is now out, so if someone could take care of this, it > would be nice since it gives a broken dependency with horde2. It's not just that there's a new version out, they've renamed it. It's now HTML_Select_Common, and they deleted all references to HTML_Select from the pear.php.net site. Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Postfix (fwd)
On Thu, Feb 13, 2003 at 08:09:35PM +0100, Marcel Stangenberger wrote: > On Thu, 13 Feb 2003, [ISO-8859-2] Gannater J?nos wrote: > > > > > I use postfix as my default MTA. > > > > I can send E-mails with Outlook (via SMTP) to the users in my > > > computer, > > > > but not to the outdside world, with another domain. > > > > How can I send e-mails to another domain? > > > > > > I use Postfix but I'm would like to know a bit more about the issues > > > you are having sending mail out. As long as you've correctly > > > configured you main.cf file (located in /etc/postfix) to recognize > > > your domain as a authorized domain for mail you should be fine. Also > > > make sure you have a POP3 daemon running in /etc/inetd.conf so > > that > > > you can retrieve mail. > > > I have been using Postfix for about 3 years and it's by far the > > > easiest MTAs to configure. I hope this information helps you. But if > > > not please feel free to reply. > > I heared qmail is the easiest one. :))) > > Never mind about that. > > "By default, the Postfix SMTP server will accept mail only from or to the > > local network or domain"--from postfix.org > > And I would like to accept from another domain. So if I am in Mexico or > > France I can send and E-mail without modifing my setup files. > > My main.cf is the default one. Only some arguements are modified: > > myhostname, that don't affect the smtp server? > > How can I make my SMTP work this way? Of course with some security. > > > > you can do this by adding the needed ip's to the $mynetworks setting in > de > main.cf > > Altho i do want to remind you to watch what you add, if you enter the IP > wrong or add complete ranges you might end up beeing listed as an > open-relay and your mail will be denied by many mailservers. It would > probably be easier to setup a webmail service. The secure way to do it is to install cyrus-sasl2, reinstall Postfix with sasl and tls support, and configure saslauthd to use PAM for validation. Then anyone with an account on your system can send mail from anywhere without allowing anyone else to. There are some good web pages on configuring things once they've been installed -- they're written from a Linux pov, but are easily adaptable if you ignore the installation part. They're linked from the Postfix documentation page (http://www.postfix.org/docs.html). There's also one written for OpenBSD that is even better -- http://www.securitysage.com/guides/postfix_sasltls.html . Note that it is written for Postfix 1.1.11; Postfix 2.x changes some of it, but the ports handle that fairly well. Also note that cyrus-sasl2 won't build with support for FreeBSD's base Kerberos 5 implementation -- you need to modify aclocal.m4 and rebuild configure to do that. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: bash
On Wed, Feb 12, 2003 at 05:22:08PM +0200, Giorgos Keramidas wrote: > On 2003-02-12 08:55, Brian Henning <[EMAIL PROTECTED]> wrote: > > I just installed bash from the ports and changed my shell with the > > chsh command. I created a .bashrc file with a few settings and put > > it in my home directory. When i log out and log back in the .bashrc > > is not being executed. Is there something that i need to do before > > that will work? > > Bash will not, by default, read and execute the commands of .bashrc > for login shells. If you want the commands of .bashrc to be run for > login shells too, then put the following in your .bash_profile file: > > test -f ~/.bashrc && . ~/.bashrc > > This will make sure that .bashrc commands are executed both for login > and interactive shells. The files that bash runs for login shells are > in order: > > ~/.bash_profile > ~/.bash_login > ~/.profile > > Any of these can include the `. .bashrc' command, but I picked > .bash_profile because it's what I commonly use. That is true but not quite accurate; bash will only run one of the three, so if you have a .bash_login (for example), putting the command in .profile will have no effect, and there is no point to having both .bash_profile and .bash_login as only .bash_profile will get used. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Procmail site-wide recipe's
On Tue, Feb 11, 2003 at 10:52:09AM +1100, BSD Freak wrote: > Hi all, > > I am running a 4.7-R/sendmail mail server. I currently use procmail on a > few email accounts using a .forward in each home directory. Does anyone > know how I can make a procmail recipe apply to all users on the mail server? Change the local delivery agent in sendmail to procmail. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: 5.25" Floppy
On Fri, Feb 07, 2003 at 10:16:51AM -0500, Louis LeBlanc wrote: > On 02/07/03 12:41 AM, Daxbert sat at the `puter and typed: > > have you tried using: > > > > /dev/fd0.1200 > > > > I think 1.2MB is the normal size for a 5.25 dual sided floppy. > > > > --daxbert > > > I thought that was the newer ones. Weren't the old style 5.25s 640K? > It's been so long . . . Here's the rundown: SSDD 8-sector: 160K This is all that was available in MS-DOS 1.0, IIRC. SSDD 9-sector: 180K DSDD 8-sector: 320K DSDD 9-sector: 360K This was the default starting with MS-DOS 2.1, IIRC. DSHD 15-sector: 1.2G (At least I think it was 15-sector...) Only the last two appear to be supported by FreeBSD 4.7, at least by default. Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ Verger, All Saints Church - Sharon Chapel \ / ASCII RIBBON CAMPAIGN Novice, OSMXHELP CURE HTML MAIL Hostmaster, michaelines.net / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: vi permissions
On Mon, Feb 03, 2003 at 01:01:30PM -0600, Kirk R. Wythers wrote: > I'm trying to create a .bashrc file with vi in my home directroy. I'm > gettting the error: > > su-2.05b$ vi .bashrc > ex/vi: Error: Unable to create temporary file: Permission denied > su-2.05b$ > > I am working on configuring a newly set up 5.0-RELEASE box. Permissions > must be messed up somewhere. I can't believe that I neet to be root in > order to create a . file. What ID are you su'ed as, and which directory are you in? (Do they match?) Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: suggested reinstall of KDE when original was from CD-Rom
On Thu, Jan 30, 2003 at 10:22:32PM -0500, Lowell Gilbert wrote: > BSD Baby <[EMAIL PROTECTED]> writes: > > > In this case, does "make deinstall" work? Or is there a better way? > > pkg_delete(1) > > I want to install the new KDE 3.1 from ports in its place. > > Any advice appreciated. Even better, "portupgrade" to take care of both parts at once. Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: HELP! root partition full!
On Thu, Jan 30, 2003 at 12:05:50PM -0500, Jason Morgan wrote: > I got a strange error from my server this morning - root partition full. > I then looked at my email and had this in my inbox (of course I get > this every day): > > Disk status: > Filesystem1K-blocksUsedAvail Capacity Mounted on > /dev/ad0s1a 516062 505036 -30258 106%/ > /dev/ad2s1a 516062 117638 35714025%/rootbackup > procfs4 40 100%/proc > /dev/vinum/usr 19850256 1112316 17149920 6%/usr > /dev/vinum/var 235792039623 21683244 0%/var > /dev/vinum/public 29776085 116 27393883 0%/public > > How do I determine what's going on? This is really strange. First guess is that something large was put into /tmp by a root-owned process. Clean out /tmp and see what df looks like then. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: IMAP2
On Tue, Jan 28, 2003 at 07:41:36AM -0500, Mykroft Holmes IV wrote: > On Tue, 2003-01-28 at 06:48, Gannater J??nos wrote: > > My problem is that, > > I installed the popper and the imap-uw programs. With make install > > from their directory in /usr/ports. > > My first problem is that I can't find the popper program... > > All the installations went fine! > > Athought the impad program does exists, but if I start it I can't see it > > anywhere. Not in sockstat in the ps and telnet . > > I tried to restart the system, but nothing else changed. Of course I > > uncommented the pop3 and imap lines in the /etc/inetd.conf file. > > Do you have a guess what could be wrong? > > imapd is a peculiar program. It doesn't actually understand IP or ports, > merely stin and stdout. If you have uncommented it's lines in inetd, try > 'telnet localhost 143' and see if you get a response. The sockstat and > netstat suggestions will not work for imapd, since it is started by > inetd. > > Your inetd daemon is running, right? If not, check the Handbook on how > to enable it (IIRC it's an option you need to set in rc.conf, but should > be enabled in /etc/defaults/rc.conf) As an additional question, you did restart/reload inetd after changing inetd.conf, right? (killall -HUP inetd) Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Problems building cyrus-sasl2 on FREEBSD-4.7-RELEASE
On Sat, Jan 11, 2003 at 12:06:11AM -0500, Jim Trigg wrote: > (Note: the first two tries at sending this apparently got eaten by the > ether... in case they show up, please know that I am now subscribed to > the list.) > > I am having problems building the cyrus-sasl2 port on 4.7-RELEASE; no > matter how I attempt to override it, it keeps deciding that the > gssapi-dir should be /usr/local instead of /usr. (When I built world > for 4.7, it placed the Heimdal-style gssapi libraries in /usr/lib, but > the cyrus-sasl2 port keeps trying to link with nonexistent MIT-style > gssapi libraries in /usr/local/lib.) > > How can I convince cyrus-sasl2 that I really do have Heimdal-style > libraries in /usr/lib? I have found the answer; unfortunately, there's no easy way to fix it at the port level. (I have submitted the fix to the cyrus-sasl2 folks.) Short form: configure needs to be regenerated in the top-level and saslauthd directories after adding two lines to the aclocal.m4 files, to have LIB_CRYPT defined before the GSSAPI checks are made. Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Problems building cyrus-sasl2 on FREEBSD-4.7-RELEASE
(Note: the first two tries at sending this apparently got eaten by the ether... in case they show up, please know that I am now subscribed to the list.) I am having problems building the cyrus-sasl2 port on 4.7-RELEASE; no matter how I attempt to override it, it keeps deciding that the gssapi-dir should be /usr/local instead of /usr. (When I built world for 4.7, it placed the Heimdal-style gssapi libraries in /usr/lib, but the cyrus-sasl2 port keeps trying to link with nonexistent MIT-style gssapi libraries in /usr/local/lib.) How can I convince cyrus-sasl2 that I really do have Heimdal-style libraries in /usr/lib? Thanks, Jim Trigg -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin Family websiteX HELP CURE HTML MAIL Verger, All Saints - Sharon Chapel/ \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message