Hi, it would be nice if one could more dynamically adjust the mail adress standard out and err are sent to. I've attached a little patch that gives the MAILTO environment variable preference to all other name sources. I don't know if I had better included an extra commandline option for that purpose, but this way it's simpler and perhaps there are some scripts which make use of this variable anyway (as in crontab, but perhaps it is overkill to use at and cron together [-; ) and it better fits in the way at receives its mailnames (LOGNAME, utmp).