Re: [SLUG] Specialised delivery for Postfix - can it be done?
$quoted_author = "DaZZa" ; > > OK, now I get an error message in /var/log/mail > > Jul 10 16:13:57 sky20 postfix/pickup[32763]: 9012CAFE6A: uid=0 from= > Jul 10 16:13:57 sky20 postfix/trivial-rewrite[310]: warning: database > /etc/postfix/transport.db is older than source file > /etc/postfix/transport > > How do I update the database file? I assume it's something like > "newalias"? "newtransport"? run this: postmap hash:/etc/postfix/transport marty -- The problem with America is stupidity. I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? http://www.bash.org/?4753 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Firewall
On Mon, 2006-07-10 at 14:02 +1000, James Gray wrote: > If you need to manage multiple firewalls with a consistent > policy/framework across multiple platforms (Linux/BSD and even Cisco > PIX, Linksys, etc too) then "fwbuilder" might be another candidate. Fwbuilder is a personal favourite too. I have nice (encrypted) collection of FWB files for all the firewalls I'm responsible for. Very handy for re-creating in emergency situations as well as cloning. -- Cheers, Craige, signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: [chat] Firefox as IE
On Mon, 10 Jul 2006 14:46:40 +1000 Phil Scarratt <[EMAIL PROTECTED]> wrote: > Alan L Tyree wrote: > > On Mon, 10 Jul 2006 14:19:52 +1000 > > Phil Scarratt <[EMAIL PROTECTED]> wrote: > > > >> Alan L Tyree wrote: > >>> Can someone remind me how to make web sites think that Firefox is > >>> IE? > >>> > >> There are other ways but easiest is to download User Agent > >> Switcher extension. > > > > Many thanks. > > > > Glad to oblige...even if I did change the list the request was > on :( I try to keep the really dumb questions on chat. > > Fil > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: +61 2 4782 2670Mobile: +61 427 486 206 Fax: +61 2 4782 7092FWD: 615662 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Specialised delivery for Postfix - can it be done?
> I need to be able to configure it to deliver mail for a specific domain to > one mail server without doing a MX record lookup - send all mail > @foo.bar.au to 10.1.1.1 and everything else to 12.2.2.2, for example. You need to use a transport map, and square brackets around the IP address (to indicate that you want it delivered directly to that IP without any MX lookups). For example: foo.bar.au smtp:[10.1.1.1] That will often go in /etc/postfix/transport (which you need to postmap(1) afterward), but that depends on how customised your configuration is. - Jeff -- linux.conf.au 2007: Sydney, Australia http://lca2007.linux.org.au/ "Women are too irrational to be crazed killers anyway." - Angus Lees -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Specialised delivery for Postfix - can it be done?
$quoted_author = "DaZZa" ; > > I need to be able to configure it to deliver mail for a specific > domain to one mail server without doing a MX record lookup - send all > mail @foo.bar.au to 10.1.1.1 and everything else to 12.2.2.2, for > example. put this in /etc/postfix/transport foo.bar.au :[10.1.1.1] and these in /etc/postfix/main.cf transport_maps = hash:/etc/postfix/transport relayhost = 12.2.2.2 cheers marty -- "No GUI for you! Use lynx!!!, Come back, One year!" /avant -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Specialised delivery for Postfix - can it be done?
Folks. I have a box running postfix which delivers a small amount of mail to both internal and external addresses. I need to be able to configure it to deliver mail for a specific domain to one mail server without doing a MX record lookup - send all mail @foo.bar.au to 10.1.1.1 and everything else to 12.2.2.2, for example. Can this be done? I'm not very familiar with Postfix, so I'm using Webmin to try and configure it - but I'll plug command lines in if someone can point me to the right file/format to stick in. Thanks. DaZZa -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How to get Nautilus to close the parent window?
> Ah OK. I'll use Browser windows. I saw that option but it wasn't what I > wanted as it provided too much info on the screen while the simpler file > window was all I wanted. Hence I was looking for other options somewhere. Too much info... in the sidebar? You can turn that off. You can turn most of the other toolbar-ish widgets off too. :-) - Jeff -- linux.conf.au 2007: Sydney, Australia http://lca2007.linux.org.au/ "We must be proactive, eternally vigilant, forever fighting, overwhelmingly clever and handsome." - Robert Love -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] CentOS - dual AMD MP System
On 7/10/06, Kenneth Armstrong, White Property Group P/L <[EMAIL PROTECTED]> wrote: Hi everyone, My question I have not been able to answer yet is confirming that the CentOS build will support & use the dual AMD MP's Short answer: yes Long answer: yes, provided it installed a SMP kernel (which it should) -- Menno Schaaf aka ginji irc.austnet.org #gentoo #linux-help -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How to get Nautilus to close the parent window?
Jeff Waugh wrote: How to I get Nautilus in Gnome to open file browser windows and close the parent window. I have looked in Nautilus/Preferences/Behaviour tab but there does not appear to be an option there. It's a very annoying windows-like behaviour. I'm lost. So, you're in spatial mode. There's a couple of things you can do: * Hold shift while opening folders - same keybinding as Mac OS Classic's Finder (the most popular spatial file manager) * Switch to browse mode in Edit > Preferences (under View, "Always open in browser windows") Ah OK. I'll use Browser windows. I saw that option but it wasn't what I wanted as it provided too much info on the screen while the simpler file window was all I wanted. Hence I was looking for other options somewhere. Thanks -- Michael Lake Science Faculty, UTS Ph: 9514 8232 Fx: 9514 1460 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] CentOS - dual AMD MP System
Hi everyone, Well forgive me if this is a basic newbie question. I am about to embark on building up a new file/mail server for our small office. I currently have redhat 8 running on an 8yr old PII 350 with 380M ram – and its just not coping well anymore. The new server will recycle my old (recently superseded) workstation Dual processor with 2 x AMD MP 1800’s (Tyan s2466n motherboard) 2 Gb Ram It has a 60Gb ide drive and is getting 2 new 160Gb Ide’s with a PCI Raid controller card I’m moving to CentOS 4 for this build I am confident with installing the server OS My question I have not been able to answer yet is confirming that the CentOS build will support & use the dual AMD MP’s Any other tips / recommendations would be appreciated The mail server app is called “InsightServer” by Bynari (from Dallas texas) it’s pretty stable once its running properly (that took a bit to start with), however the beauty is it gives you close to 100% MS exchange server functionality at simply an annual maintenance & upgrades fee – outlook connects pretty seamlessly with it. File serving I have been using Samba We have about 20G of critical file data & our mailboxes run to around 15- 20G Thanks for any comments Project: Subject: Yours faithfully White Property Group Pty Ltd Kenneth Armstrong B.Arch Ph 3852 6436 Fx 3852 5922 e [EMAIL PROTECTED] IMPORTANT NOTICE: CONFIDENTIALITY AND LEGAL PRIVILEGE This email is intended only for the use of the addressee and may contain legally privileged and confidential information. If you are not the addressee, you are notified that any transmission, distribution or photocopying of this email is strictly prohibited. The legal privilege and confidentiality attached to this email is not waived, lost or destroyed by reason of a mistaken delivery to you. If you have received this email in error please immediately notify us by return email. Thank you. White Property Group has Antivirus protection measures in place however White Property Group and the sender of this message accept no responsibility for any harm, disruption or corruption caused by this message or its attachments -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: [chat] Firefox as IE
On Mon, 2006-07-10 at 14:46 +1000, Phil Scarratt wrote: > Glad to oblige...even if I did change the list the request was on :( > > Fil Never mind, its a handy thing to know. -- James Purser Producer/Presenter - Linux Australia Update http://james.k-sit.com - My Blog http://k-sit.com - My IT Consultancy http://localfoss.org - LA Update Podcast, LUG Roundup and more Skype: purserj1977 SIP: [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: [chat] Firefox as IE
Alan L Tyree wrote: On Mon, 10 Jul 2006 14:19:52 +1000 Phil Scarratt <[EMAIL PROTECTED]> wrote: Alan L Tyree wrote: Can someone remind me how to make web sites think that Firefox is IE? There are other ways but easiest is to download User Agent Switcher extension. Many thanks. Glad to oblige...even if I did change the list the request was on :( Fil -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How to get Nautilus to close the parent window?
> How to I get Nautilus in Gnome to open file browser windows and close the > parent window. I have looked in Nautilus/Preferences/Behaviour tab but > there does not appear to be an option there. It's a very annoying > windows-like behaviour. I'm lost. So, you're in spatial mode. There's a couple of things you can do: * Hold shift while opening folders - same keybinding as Mac OS Classic's Finder (the most popular spatial file manager) * Switch to browse mode in Edit > Preferences (under View, "Always open in browser windows") - Jeff -- linux.conf.au 2007: Sydney, Australia http://lca2007.linux.org.au/ "Perdon; estoy buscando mis pantalones." - Luis Villa's Essential Spanish -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: [chat] Firefox as IE
On Mon, 10 Jul 2006 14:19:52 +1000 Phil Scarratt <[EMAIL PROTECTED]> wrote: > Alan L Tyree wrote: > > Can someone remind me how to make web sites think that Firefox is > > IE? > > > > There are other ways but easiest is to download User Agent Switcher > extension. Many thanks. > > Fil > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: +61 2 4782 2670Mobile: +61 427 486 206 Fax: +61 2 4782 7092FWD: 615662 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] How to get Nautilus to close the parent window?
Hi all How to I get Nautilus in Gnome to open file browser windows and close the parent window. I have looked in Nautilus/Preferences/Behaviour tab but there does not appear to be an option there. It's a very annoying windows-like behaviour. I'm lost. -- Michael Lake Science Faculty, UTS Ph: 9514 8232 Fx: 9514 1460 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Linux Workshop
Just a quick thank you to Chris and everyone who made my sons and me welcome on Sunday.Special mention to Bruce Badger for his patient and interesting introduction to all things Squeak and Smalltalk. It fired my eldest sons imagination so much so that he couldn't wait to get home and install it on his new Ubuntu laptop. A new Linux convert in the making :-)John -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Permissions on HD- how to change?
Thanks for the reply James Bill to avoid confusion (for your own benefit, not 'cause you need to do this) * ensure uid and gid for bill is the same on both machines umm, I would sudo su vi /etc/passwd vi /etc/group (but be consistant, if you change either, fix every file eg /home/bill /var/spool/mail/bill etc etc) Not quite sure what you mean by above. Sorry for my ignorance. * Now set owner of the files needed to bill chown -R bill.bill /media/place1 as appropriate No problem with chown. This will always prevail unless the partitions are mounted read-only or immutable flag is set (or the filesystem is damaged, or funny eg ntfs, ..) chattr -R -i /media/place1 as appropriate. R.M chown, chattr. This illustrates the negative side of private groups. EG I use group users for things like media, g+w and all legal users (readers/writers) of media in group users too. Invent a scenario that works for you. As I'm the only person using my LAN/PC's I just naturally chose my user name when Group ID was needed. Can see the obvious sense in using Group "users" when there are multiple system users. James Seem to have stuffed up prior to receiving your reply. Am getting "su returned with an error" when trying to use "su" on Kubuntu. Think that during previous attempt at using "chown" I must have forgotten to cd to the desired drive and "chowned" everything in the installation :( as a peek at /etc/sudoers shows it beeing owned by uid 1000 instead of 0. :( Oh well, installation restore may be necessary. Thanks Bill -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Re: [chat] Firefox as IE
Alan L Tyree wrote: Can someone remind me how to make web sites think that Firefox is IE? There are other ways but easiest is to download User Agent Switcher extension. Fil -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ubuntu default route
On Mon, 2006-07-10 at 13:43 +1000, Christopher Vance wrote: > I have a machine running Dapper with two interfaces, one wired, one > wireless. > > I do not seem to be able to work out the 'approved' way to set a > default route on the wired interface. > > Other Dapper machines with only one interface have no problem applying > the default route they get from dhcp, but not this one. > I've had this same problem since hoary. If the wireless card exists (pmcia in my case) I end up with two default routes and the network fails. I'm using an atheros card in case that matters. I mostly manually kill the ethernet config when I'm using wireless and the problem is solved. Actually, you only need to delete the ethernet route, but either way it's not very tidy. I've asked here and elsewhere about the problem, but I never seem to get a response. > I tried changing dhclient.conf to make it require a routers entry, but > tcpdump doesn't seem to show this happening. > > I then tried changing /etc/network/interfaces to use a static entry, > and the gateway specified there doesn't get applied either. > > I could try ripping out the wireless card, but I'd rather leave it > installed as a backup for when the wired connection takes a break. > > I could add a new file to /etc/init.d, but that seems to be overkill > for something that should be a single line entry somewhere (but > where?). > > Why won't it just (*&^ do what I say? > > What is the 'right' way to do this for Ubuntu/Debian. > > My preferred approach is to make it happen with dhcp, so I don't have > to change the machine next time I renumber or rewire. > > I'm willing to go static if necessary, but it has to persist across > upgrades. > > -- > Christopher Vance -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] ubuntu default route
I have a machine running Dapper with two interfaces, one wired, one wireless. I do not seem to be able to work out the 'approved' way to set a default route on the wired interface. Other Dapper machines with only one interface have no problem applying the default route they get from dhcp, but not this one. I tried changing dhclient.conf to make it require a routers entry, but tcpdump doesn't seem to show this happening. I then tried changing /etc/network/interfaces to use a static entry, and the gateway specified there doesn't get applied either. I could try ripping out the wireless card, but I'd rather leave it installed as a backup for when the wired connection takes a break. I could add a new file to /etc/init.d, but that seems to be overkill for something that should be a single line entry somewhere (but where?). Why won't it just (*&^ do what I say? What is the 'right' way to do this for Ubuntu/Debian. My preferred approach is to make it happen with dhcp, so I don't have to change the machine next time I renumber or rewire. I'm willing to go static if necessary, but it has to persist across upgrades. -- Christopher Vance -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Firewall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > Hi > my ongoing frustrations: > > 1) How to setup a firewall in ubuntu? It seems suitable iptables settings do > work but that's awefully primitive. This article did not help > http://www.linux.com/article.pl?sid=06/06/26/1556259 (no lokkit or guarddog > can be found by apt-get) > > 2) How to manipulate and configure services. I CAN and have been > sym-linking /etc/init.d/service to rc2.d/SNNservice. That too is awefully > primitive. system -> administration -> services lists 8 services from anacron > to ssh. What about the zillion others? > > Help shows not available pictures: > each service [] > with a [] > checkbox [] > > Thanks > James If you need to manage multiple firewalls with a consistent policy/framework across multiple platforms (Linux/BSD and even Cisco PIX, Linksys, etc too) then "fwbuilder" might be another candidate. Obviously it can be used to configure a single firewall too :) Check it out: http://www.fwbuilder.org/ FWIW, some of the "commercial" firewalls, like PIX, require a plug-in that will cost $$$. However it's completely free (beer and speech) for Linux/BSD firewalls. Cheers, James -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEsdE6wBHpdJO7b9ERArcsAKCVW7iUzKachnVFE//gX9Z8CWUBpgCcCAmN hvnKXrgUaRuW0aYK/r1CNlc= =ZACq -END PGP SIGNATURE- -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Permissions on HD- how to change?
On Monday 10 July 2006 07:14, [EMAIL PROTECTED] wrote: > I am using Kubuntu Dapper on 2 PCS on my home LAN and have set up Shares > on these two pcs. > > I can copy files OK from PC1 ( media server) to PC2 ( client) without > problems via fish:// and Konqueror. > > I can copy files from PC2 (Client) to PC1 (media server) /home/bill > without problems. > > My problem is that PC1 also has 2 additional hard drives from which I > can copy data, but cannot copy data to. > > I have determined that this is due to all directories/files on these > drives being owner/group 502, whereas the drives themselves are > owner/group "bill", the same as PC1 /home/bill and PC2 /home/bill. > > I have tried to change permissions on all directories/files to > user/group "bill" using /System Settings/Sharing/File Sharing and using > Midnight Commander ( both as root of course) without success. > > These 2 drives were previously in the same PC when I was running Kanotix > ( prior to the current Ubuntu based beta) and Shares worked then, though > obviously users/groups were different. > > I have cd'd to the drive(s) ie cd /media/sda1, and tried (as sudo) chown > -R bill / and chgrp -R bill / but not all directories/files change owner > and/or group. > > Advice please on changing group/user permissions. Bill to avoid confusion (for your own benefit, not 'cause you need to do this) * ensure uid and gid for bill is the same on both machines umm, I would sudo su vi /etc/passwd vi /etc/group (but be consistant, if you change either, fix every file eg /home/bill /var/spool/mail/bill etc etc) * Now set owner of the files needed to bill chown -R bill.bill /media/place1 as appropriate This will always prevail unless the partitions are mounted read-only or immutable flag is set (or the filesystem is damaged, or funny eg ntfs, ..) chattr -R -i /media/place1 as appropriate. R.M chown, chattr. This illustrates the negative side of private groups. EG I use group users for things like media, g+w and all legal users (readers/writers) of media in group users too. Invent a scenario that works for you. James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Permissions on HD- how to change?
I am using Kubuntu Dapper on 2 PCS on my home LAN and have set up Shares on these two pcs. I can copy files OK from PC1 ( media server) to PC2 ( client) without problems via fish:// and Konqueror. I can copy files from PC2 (Client) to PC1 (media server) /home/bill without problems. My problem is that PC1 also has 2 additional hard drives from which I can copy data, but cannot copy data to. I have determined that this is due to all directories/files on these drives being owner/group 502, whereas the drives themselves are owner/group "bill", the same as PC1 /home/bill and PC2 /home/bill. I have tried to change permissions on all directories/files to user/group "bill" using /System Settings/Sharing/File Sharing and using Midnight Commander ( both as root of course) without success. These 2 drives were previously in the same PC when I was running Kanotix ( prior to the current Ubuntu based beta) and Shares worked then, though obviously users/groups were different. I have cd'd to the drive(s) ie cd /media/sda1, and tried (as sudo) chown -R bill / and chgrp -R bill / but not all directories/files change owner and/or group. Advice please on changing group/user permissions. Thanks Bill -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html