Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been learning how to use postfix to end email using the command line, which I find helpful when at work and I don't want to open a browser or switch to mouse, to send an email about my broken stuff to system admin. I've been practicing from my laptop.

Ubuntu uses postfix, and I found the file /etc/postfix/

The default is for sent mail to be $USER@$mydomain, so at this point I have: $ as the sender when I check my gmail account.

I can't figure out how to get another name other than $USER, such as my regular gmail name, so people can respond to my gmail account.



share|improve this question
update: man sendmail says I can use the flag -f which worked... – wbg Oct 23 '11 at 1:19
NEVER MIND...after more googling I foudn out that postfix does not allow subjects and is generally the wrong program....I installed mail-utils. – wbg Oct 23 '11 at 1:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.