[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] mail
On Mon, May 01, 2000 at 06:54:25AM +0000, John Francis wrote:
> Ok, i've got sendmail using my isp's smtp server to send mail. I've
> tried it manually i.e:
>
[snip]
> It worked fine. Only problem is when I try to send from the "mail"
> program it returns it to me saying that the sender's domain must
> really exist. In other words mail tries something like "mail from:
> jfrancis@nospam.localhost.localdomain" and then recieves an error from smtp.
email is like real mail. You have an envelope and a letter. With email,
unlike real mail, you don't actually get to see the envelope typically.
Therefore you have two (at a minimum) from address. One on the
envelope the other inside the letter (in this case email).
When you are trying you letter from address manually it works. But
mail is using your envelope address. Offhand I think mail uses
/etc/mailname to determine what it should put as the domain portion
of its envelope address. mail -v might tell you where it is picking it
from.
> My question is, how do I get around this? How can i make mail (and
> other mail like programs) to use some other email address as the
> sender?
I believe mail contacts your local SMTP server, so you may have to fix
up its configuration to get mail working.
Anand
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text
- References:
- [SLUG] mail
- From: John Francis <jfrancis@nospam.mail.usyd.edu.au>