My work is a HUGE institution and there are just a few of us old unix dudes around who use command line (and cron) for such things so they will not allow any changes as you suggest.
Otherwise, I agree that it IS an ugly/wrong solution, but the only one at my disposal... --mike On Mon, Jun 6, 2011 at 2:56 PM, Victor Duchovni <[email protected]> wrote: > On Mon, Jun 06, 2011 at 02:46:57PM -0400, Michael Way wrote: > >> I have a setup where I use postfix to connect to my work smtpd >> exchange server via TLS encryption >> and normal login authentication. This smtpd server also requires that >> the "From" address in the email header >> is from the same user that authenticates, otherwise I get a: >> "Client does not have permissions to send as this sender" >> >> I can send emails via this system just fine using mutt or whatever >> command line mail I like, >> BUT I also use fetchmail to get email from our IMAP server. >> I then use a .forward file to keep a local copy AND send a copy to >> gmail as a backup. > > Why authenticate? If mail is sent *to* your mailbox, unlike submission, > the server should allow all the mail to be sent to your mailbox. Work > with the server administrator to treat this as "inbound" mail, not > submission of new email. > > Munging the "From:" address is an ugly wrong solution. > > -- > Viktor. >
