First, if you are going to reply to this email, please reply to
[EMAIL PROTECTED], not to the address in the message header. This is 
because my problem concerns setting the return address in the message 
header.  :)

I am running qmail-1.0.3 on Slackware Linux 7.0. I collect my mail from 
my university's POP server using fetchmail, and it is delivered via 
qmail-smtpd with no problems.

I have a different user name on the university system. For incoming mail, 
fetchmail handles the translation with no problems. For outgoing mail, I 
want to use the MAILUSER and MAILHOST environment variables so that replies 
go to my univeristy email address. This works fine if I send messages via 
qmail-inject, but my MUA (pine) invokes sendmail. The sendmail-path in 
/usr/lib/pine/pine.conf is set to "/usr/lib/sendmail -oem -oi -t" as 
recommended in the qmail FAQ, and /usr/lib/sendmail is a symbolic link to 
/var/qmail/bin/sendmail. I don't have any other sendmail installed. 

It looks like qmail's sendmail does not obey the MAILUSER and MAILHOST 
variables in the same way as qmail-inject. Is there any way to change the 
user name which appears in my messages when using sendmail?

Thanks in advance,

Michael

Reply via email to