* Re: pine and sendmail
@ rturner2
` Geoff Shang
` raul
0 siblings, 2 replies; 9+ messages in thread
From: rturner2 @ UTC (permalink / raw)
To: speakup; +Cc: terry
hi,
ok what directory is this configuration file in?
and what is the name of the configuration file?
thanks in advance
randy
sp>Hi,
sp>One way to do this is to alter your pine configuration. For example,
sp>you can set the domain you want in the "user-domain=your-domain"
sp>variable. Then when you send mail as user on your machine the From"
sp>field will show:
sp>'user@your-domain'.
sp>You have to make sue that that return address will get back to you
sp>though,
sp>your-isp-username@isp's-domain.
sp>Hope that helps.
sp>--terry
sp>You wrote:
sp>-=> hi all,
sp>-=> does any one have a sendmail.mc file
sp>-=> that they can send me?
sp>-=> i am working on setting up sendmail and pine,
sp>-=> but i am not sure what to do first.
sp>-=> i have fetch mail and pine recieving messages ok,
sp>-=> but when i send a message out it puts the wrong reply address
sp>on the message.
sp>-=> i need some config files that i can look at to help me figure
sp>-=>this out. thanks in advance
sp>-=> randy
sp>-=>
sp>-=>
sp>-=>
sp>-=>
sp>-=> _______________________________________________
sp>-=> Speakup mailing list
sp>-=> Speakup@braille.uwo.ca
sp>-=> http://speech.braille.uwo.ca/mailman/listinfo/speakup
sp>-=>
sp>--terry
sp>Name: Terry D. Cudney
sp>Phone: (905)735-6127
sp>E-mail: terry@wasagacottage.com
sp>WWW: www.wasagacottage.com
sp>Q: What's tiny and yellow and very, very, dangerous?
sp>A: A canary with the super-user password.
sp>_______________________________________________
sp>Speakup mailing list
sp>Speakup@braille.uwo.ca
sp>http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pine and sendmail
pine and sendmail rturner2
@ ` Geoff Shang
` Terry D. Cudney
` raul
1 sibling, 1 reply; 9+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: speakup
Hi:
I usually define my from address in pine using roles. This allows you to
have a list of from addresses to choose from, nice if you have local users
you want to be able to send mail to. Also, the domain thing is only any
good if your local and ISP user ID are the same, which they aren't for me
at least.
Also note that, for some ISPs at least, setting your from address will not
be sufficient, you will have to configure your mail transport agent to put
this address in other header fields so that your ISP thinks it came from
them.
Geoff.
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: pine and sendmail
` Geoff Shang
@ ` Terry D. Cudney
` Geoff Shang
0 siblings, 1 reply; 9+ messages in thread
From: Terry D. Cudney @ UTC (permalink / raw)
To: speakup
Hi,
I think others have answered the original question here... Geoff gives a more complete answer (below).
What I'm doing is maybe cheating, but it works:
I have my domain set in the .pinerc file in my home directory. In my case the domain is my virtual domain which I have pointing at my webpage on my ISP. The service (doamin direct) which provides the virtual domain redirection also provides me with a mailbox which is forwarded to my mail address on my ISP. I use fetchmail to retrieve my mail from the ISP's pop3 server and deliver it via exim, to my mailbox on my local machine.
Doing it this way, I was able to choose the mailbox name on the virtual domain service to agree with my username on my local machine "terry". I only have to put the virtual domain in the .pinerc file to make it work.
Here's my question to the gurus: Is this "kosher"? A couple of times, the ISP rejected an outgoing mail with an error message about invalid domain or something (Can't remember exactly what it was). IS my ISP being lenient in allowing it most all the time? or is it legal to do things this way?
--terry
You wrote:
-=> Hi:
-=>
-=> I usually define my from address in pine using roles. This allows you to
-=> have a list of from addresses to choose from, nice if you have local users
-=> you want to be able to send mail to. Also, the domain thing is only any
-=> good if your local and ISP user ID are the same, which they aren't for me
-=> at least.
-=>
-=> Also note that, for some ISPs at least, setting your from address will not
-=> be sufficient, you will have to configure your mail transport agent to put
-=> this address in other header fields so that your ISP thinks it came from
-=> them.
-=>
-=> Geoff.
-=>
-=>
-=>
-=> _______________________________________________
-=> Speakup mailing list
-=> Speakup@braille.uwo.ca
-=> http://speech.braille.uwo.ca/mailman/listinfo/speakup
-=>
Name: Terry D. Cudney
Phone: (905)735-6127
E-mail: terry@wasagacottage.com
WWW: www.wasagacottage.com
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: pine and sendmail
` Terry D. Cudney
@ ` Geoff Shang
` Kirk Wood
0 siblings, 1 reply; 9+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: speakup
On Wed, 21 Mar 2001, Terry D. Cudney wrote:
> Here's my question to the gurus: Is this "kosher"? A couple of
> times, the ISP rejected an outgoing mail with an error message about
> invalid domain or something (Can't remember exactly what it was). IS my
> ISP being lenient in allowing it most all the time? or is it legal to
> do things this way?
I think your ISP is being lenient by letting it work most of the time.
What normally happens is that your local machine name and local domain are
included in headers such as sender. Mail transporters will often look at
this and do a lookup to see who you are, and reject mail since as far as
it's concerned, a bounce would be undeliverable. Many listserver programs
look at this too, at least for subscription, so it's worth fixing.
I run exim too so I can tell you how to fix it there. The last section is
the address rewriting configuration section. In it, you need to place an
entry like this:
<local address> <e-mail address> <flags>
The first field is the address on your system. the second address is the
address you want the first address to have. The flags I don't really know
about, and should probably look up someday. Here is the entry I use:
geoff@data.home gshang@uq.net.au frF
Note that you don't need the same as your from address in your exim.conf,
you just need a valid address. This means that I can send mail out as,
say, geoff@braille.uwo.ca, and my ISP will accept it because
gshang@uq.net.au is in my headers, hence it's uq.net mail. The whole
reason for rejecting mail is to stop people using mail servers as spam
relays.
However, as I said before, some list server software require you to at
least have the right headers for subscribe and unsubscribe requests, and
perhaps for all mail. So if I want to subscribe to a list as
geoff@braille.uwo.ca, I would have to temporarily (at least) change my
rewriting rule to use this address instead.
There is an example in my /etc/exim.conf of how to use another file with
address info for user accounts, but it doesn't document the file format
there (it might elsewhere).
Geoff.
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: pine and sendmail
` Geoff Shang
@ ` Kirk Wood
0 siblings, 0 replies; 9+ messages in thread
From: Kirk Wood @ UTC (permalink / raw)
To: speakup
I took a different approach to fixing the problem of email with the wrong
info. I just renamed my machine to have the correct domain
information. Having more then one computer on the network with the same
name is only a problem in a microslop network. Whatever you do understand
that chances are your machine will have a different name then you choose
in the reverse lookup of DNS.
=======
Kirk Wood
Cpt.Kirk@1tree.net
Nothing is hard if you know the answer or are used to doing it.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pine and sendmail
pine and sendmail rturner2
` Geoff Shang
@ ` raul
1 sibling, 0 replies; 9+ messages in thread
From: raul @ UTC (permalink / raw)
To: speakup
If this is in reference to your own personal pine config the file is
called .pinerc note the dot in front of the name. This is stored in the
home dir.
On Tue, 20 Mar 2001 rturner2@texasisp.com wrote:
> Date: Tue, 20 Mar 2001 21:08:19 +0600
> From: rturner2@texasisp.com
> Reply-To: speakup@braille.uwo.ca
> To: speakup@braille.uwo.ca
> Cc: terry@wasagacottage.com
> Subject: Re: pine and sendmail
>
> hi,
> ok what directory is this configuration file in?
> and what is the name of the configuration file?
> thanks in advance
> randy
>
> sp>Hi,
> sp>One way to do this is to alter your pine configuration. For example,
> sp>you can set the domain you want in the "user-domain=your-domain"
> sp>variable. Then when you send mail as user on your machine the From"
> sp>field will show:
> sp>'user@your-domain'.
> sp>You have to make sue that that return address will get back to you
> sp>though,
> sp>your-isp-username@isp's-domain.
> sp>Hope that helps.
> sp>--terry
> sp>You wrote:
> sp>-=> hi all,
> sp>-=> does any one have a sendmail.mc file
> sp>-=> that they can send me?
> sp>-=> i am working on setting up sendmail and pine,
> sp>-=> but i am not sure what to do first.
> sp>-=> i have fetch mail and pine recieving messages ok,
> sp>-=> but when i send a message out it puts the wrong reply address
> sp>on the message.
> sp>-=> i need some config files that i can look at to help me figure
> sp>-=>this out. thanks in advance
> sp>-=> randy
> sp>-=>
> sp>-=>
> sp>-=>
> sp>-=>
> sp>-=> _______________________________________________
> sp>-=> Speakup mailing list
> sp>-=> Speakup@braille.uwo.ca
> sp>-=> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> sp>-=>
> sp>--terry
> sp>Name: Terry D. Cudney
> sp>Phone: (905)735-6127
> sp>E-mail: terry@wasagacottage.com
> sp>WWW: www.wasagacottage.com
> sp>Q: What's tiny and yellow and very, very, dangerous?
> sp>A: A canary with the super-user password.
> sp>_______________________________________________
> sp>Speakup mailing list
> sp>Speakup@braille.uwo.ca
> sp>http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* pine and sendmail
@ rturner2
` Terry D. Cudney
` raul
0 siblings, 2 replies; 9+ messages in thread
From: rturner2 @ UTC (permalink / raw)
To: speakup
hi all,
does any one have a sendmail.mc file
that they can send me?
i am working on setting up sendmail and pine,
but i am not sure what to do first.
i have fetch mail and pine recieving messages ok,
but when i send a message out it puts the wrong reply address on the message.
i need some config files that i can look at to help me figure this out.
thanks in advance
randy
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pine and sendmail
rturner2
@ ` Terry D. Cudney
` raul
1 sibling, 0 replies; 9+ messages in thread
From: Terry D. Cudney @ UTC (permalink / raw)
To: speakup
Hi,
One way to do this is to alter your pine configuration. For example, you can set the domain you want in the "user-domain=your-domain" variable. Then when you send mail as user on your machine the From" field will show:
'user@your-domain'.
You have to make sue that that return address will get back to you though, since some replying to your message will send the reply to that address not to:
your-isp-username@isp's-domain.
Hope that helps.
--terry
You wrote:
-=> hi all,
-=> does any one have a sendmail.mc file
-=> that they can send me?
-=> i am working on setting up sendmail and pine,
-=> but i am not sure what to do first.
-=> i have fetch mail and pine recieving messages ok,
-=> but when i send a message out it puts the wrong reply address on the message.
-=> i need some config files that i can look at to help me figure this out.
-=> thanks in advance
-=> randy
-=>
-=>
-=>
-=>
-=> _______________________________________________
-=> Speakup mailing list
-=> Speakup@braille.uwo.ca
-=> http://speech.braille.uwo.ca/mailman/listinfo/speakup
-=>
--terry
Name: Terry D. Cudney
Phone: (905)735-6127
E-mail: terry@wasagacottage.com
WWW: www.wasagacottage.com
Q: What's tiny and yellow and very, very, dangerous?
A: A canary with the super-user password.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pine and sendmail
rturner2
` Terry D. Cudney
@ ` raul
1 sibling, 0 replies; 9+ messages in thread
From: raul @ UTC (permalink / raw)
To: speakup
You don't need to tweak with sendmail for this. Just add a line like this
in your global pine config file which in slackware is installed in
/var/lib/pine/pine.conf
feature-list=allow-changing-from
Now in your pine config as a non-root user go to custom headers and add
the header:
from: your_real@address.whatever
Now when you send mail sith pine the real from address which will default
to the reply-to address as well will be used.
On Mon, 5 Feb 2001 rturner2@texasisp.com wrote:
> Date: Mon, 05 Feb 2001 21:09:03 +0600
> From: rturner2@texasisp.com
> Reply-To: speakup@braille.uwo.ca
> To: speakup@braille.uwo.ca
> Subject: pine and sendmail
>
> hi all,
> does any one have a sendmail.mc file
> that they can send me?
> i am working on setting up sendmail and pine,
> but i am not sure what to do first.
> i have fetch mail and pine recieving messages ok,
> but when i send a message out it puts the wrong reply address on the message.
> i need some config files that i can look at to help me figure this out.
> thanks in advance
> randy
>
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
pine and sendmail rturner2
` Geoff Shang
` Terry D. Cudney
` Geoff Shang
` Kirk Wood
` raul
-- strict thread matches above, loose matches on Subject: below --
rturner2
` Terry D. Cudney
` raul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).