On 01/11/2013 07:10 AM, Wietse Venema wrote:
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} EOFAnd 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} EOFRobert, please RTFM the shell's manpage, and look up the section on "here documents" and their quoting rules.
Thank you. I will.
