Hey everyone,
I'm trying to setup a perl script ala qmail-command which will only allow
certain addresses to send to a particular address. For example,
jeff-blah@apex.net will bounce everybody that sends to it except for me
(jeff@apex.net).
Now, I understand that qmail-alias provides environment variables to a
command in .qmail (such as |my-script.pl). The one I'm interested in
(obviously) is the SENDER environment variable. However, I can't seem to
get my script to find it. What exactly do I have to do to get to that
variable?
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'
`' Jeff Carneal / Sys Admin \ Apex Internet `'
`' jeff@apex.net http://www.apex.net `'
`' The opinions expressed above aren't really mine. They belong to `'
`' someone else who also refuses to take responsibility for them. `'
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'
I'm trying to setup a perl script ala qmail-command which will only allow
certain addresses to send to a particular address. For example,
jeff-blah@apex.net will bounce everybody that sends to it except for me
(jeff@apex.net).
Now, I understand that qmail-alias provides environment variables to a
command in .qmail (such as |my-script.pl). The one I'm interested in
(obviously) is the SENDER environment variable. However, I can't seem to
get my script to find it. What exactly do I have to do to get to that
variable?
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'
`' Jeff Carneal / Sys Admin \ Apex Internet `'
`' jeff@apex.net http://www.apex.net `'
`' The opinions expressed above aren't really mine. They belong to `'
`' someone else who also refuses to take responsibility for them. `'
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'