Re: [SLUG] Postfix and dynamic IP
> Yep, there are some solutions like that, but i am sure there is a clean > way to solve those issues. This is what i am looking for . That is "The Solution" to your problem. The Debian init scripts for postfix copy all of the required files into the chroot automatically for this reason. - Jeff -- Is Murphy's Law constitutional? -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Postfix and dynamic IP
Hi, Yep, there are some solutions like that, but i am sure there is a clean way to solve those issues. This is what i am looking for . Thanks anyway, Cheers, JeFx On Fri, 21 Sep 2001, Erik de Castro Lopo wrote: > On Fri, 21 Sep 2001 10:03:33 +1000 (EST) > Jean-Francois Dive <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > I've got two issues with the postfix installation i have: > > > > First some background: i use postfix as mail delivery system on my laptop > > which get connected trough lan-DHCP or diallup, so get ip and name > > resolutio changing all the time. > > > > My issues are: > > > > 1. Postfix copied the name resolution config file in > > /var/spool/postfix/etc , which is a problem as my resolv.conf does change > > when i change my connection. > > When your scipts change resolv.conf, why not also do the following > > stop postfix > copy resolve.conf to /var/spool/postfix/etc/ > start postfix > > Erik > -- > +---+ > Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) > +---+ > "Usenet is like a herd of performing elephants with diarrhea; > massive, difficult to redirect, awe-inspiring, entertaining, > and a source of mind-boggling amounts of excrement when you > least expect it." -- Gene Spafford (1992) > > -- > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug > -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Postfix and dynamic IP
On Fri, 21 Sep 2001 10:03:33 +1000 (EST) Jean-Francois Dive <[EMAIL PROTECTED]> wrote: > Hi all, > > I've got two issues with the postfix installation i have: > > First some background: i use postfix as mail delivery system on my laptop > which get connected trough lan-DHCP or diallup, so get ip and name > resolutio changing all the time. > > My issues are: > > 1. Postfix copied the name resolution config file in > /var/spool/postfix/etc , which is a problem as my resolv.conf does change > when i change my connection. When your scipts change resolv.conf, why not also do the following stop postfix copy resolve.conf to /var/spool/postfix/etc/ start postfix Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) +---+ "Usenet is like a herd of performing elephants with diarrhea; massive, difficult to redirect, awe-inspiring, entertaining, and a source of mind-boggling amounts of excrement when you least expect it." -- Gene Spafford (1992) -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Postfix and dynamic IP
Hi all, I've got two issues with the postfix installation i have: First some background: i use postfix as mail delivery system on my laptop which get connected trough lan-DHCP or diallup, so get ip and name resolutio changing all the time. My issues are: 1. Postfix copied the name resolution config file in /var/spool/postfix/etc , which is a problem as my resolv.conf does change when i change my connection. So, i hit that postfix cant resolve name if i dont copy back the correct file in /var/spool/.. The solution i am thinking is to setup bind on the local machine, but i believe there is a nicer solution. Does someone have an idea ? 2. Some servers refuse to accept the emails i deliver (freebsd.org for exemple) because the name used in the config (myhostname) is not a public one, so the remote server refuse the HELO: myhostname, saying the name does not exist. Faking this by a real name is possible, but then i'll have to hack it by defining it in the /etc/hosts, i dont think it is a nice solution either. Does someone have a better solution for this ? Thanks for any help, Cheers, JeF -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug