On Monday 05 June 2006 11:43, Tom Fernandes wrote:
> > Code example on how to create missing postfix lookup tables is cryptic
> > and unintelligible to the novice (including me).
>
> The main problem is that this is bashism - this e.g. doesn't work in ksh.
Well, see - I'm a novice at this and the fact that this is a "bashism" did not 
stick out to me ... I'm using bash after all ;0)

> IMHO this is not a bug with a "normal" severity but rather with a "minor"
> though.
Fine. But change it - no matter what the severity - in the interest of 
newbiefriendliness ;0)

> > Proposed change:
> > 360c360
> > < # ^touch^postmap^
>
> it does look neat though, right? :)
May be, but deciphering was only possible after multiple hours spent on setup 
attempts and trying to track down postfix errors written to syslog - waste of 
time ...

I suppose this would be a 'bashism'-free replacement of the entire block?

touch /etc/postfix/canonical /etc/postfix/virtual /etc/postfix/relocated 
/etc/postfix/transport
postmap /etc/postfix/canonical /etc/postfix/virtual /etc/postfix/relocated 
/etc/postfix/transport

Joh

Attachment: pgppTWbwR9lMa.pgp
Description: PGP signature

Reply via email to