Ticket #422 (new defect)

Opened 15 years ago

Last modified 14 years ago

alpine doesn't respect $ATHENA_USER for sender

Reported by: geofft Owned by:
Priority: low Milestone: The Distant Future
Component: mail Keywords:
Cc: Fixed in version:
Upstream bug:


My local account on my -workstation laptop is named sipbadmin. If I export ATHENA_USER=geofft and run alpine, I correctly get to my own e-mail inbox, but replying to any message yields a message that's From: "J. J. Sipbadmin" <sipbadmin@MIT.EDU>. I could be convinced not to care about the human name, but the username needs to be $ATHENA_USER.

Change History

comment:1 Changed 15 years ago by andersk

adehnert writes in #459:

When you run Alpine on a machine where your local user is differently named from your Athena user, Alpine should somehow be configured to send mail from $ATHENA_USER@mit.edu, not $USER@mit.edu. Unfortunately, this seems mildly difficult, since Alpine doesn't appear to directly provide a way set the user part of the sender (and appears to use /etc/passwd or something, not $USER, to get username information).

You can sort of handle this by adding alt-addresses=$ATHENA_USER@mit.edu in the pinerc, and by adding a default role that sets the from address to $ATHENA_USER@mit.edu (see  http://mailman2.u.washington.edu/pipermail/alpine-info/2009-January/001606.html). (This does seem somewhat kludgy, and will cause mail to/from $USER@mit.edu to appear to/from you.)

comment:2 follow-up: ↓ 3 Changed 14 years ago by jdreed

  • Milestone set to The Distant Future

This is a separate issue from the msmtp-config issue involving ATHENA_USER, right?

comment:3 in reply to: ↑ 2 Changed 14 years ago by broder

Replying to jdreed:

This is a separate issue from the msmtp-config issue involving ATHENA_USER, right?

For the ticket logs, yes. This is a different issue.

The observed behavior with #460 was that outgoing.mit.edu set a From: header if there was none in the original e-mail. That's not relevant here, because alpine will always (incorrectly) set a From: header.

Note: See TracTickets for help on using tickets.