Robert Moskowitz: > cat <<EOF>>master.cf || exit 1 > # > # Dovecot LDA > dovecot unix - n n - - pipe > flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} > # > # Vacation mail > vacation unix - n n - - pipe > flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f ${sender} > -- ${recipient} > EOF > > And I was getting errors on sending emails until I REALLY looked at the > messages in maillog and figured out that I needed: > > cat <<EOF>>master.cf || exit 1 > # > # Dovecot LDA > dovecot unix - n n - - pipe > flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d > \${recipient} > # > # Vacation mail > vacation unix - n n - - pipe > flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f > \${sender} -- \${recipient} > EOF
Robert, please RTFM the shell's manpage, and look up the section on "here documents" and their quoting rules. Wietse