Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sendmail, sender name

1 view
Skip to first unread message

Rover Wanderer

unread,
Sep 22, 2000, 3:00:00 AM9/22/00
to
Hi,
I'm trying to set up my email about 2 weeks. I'm using
fetchmail to access pop3, but have troubles in smtp
sending. My address does not correctly appears in message
header. I investigated the $j macro in sendmail.conf
and domain is substituted, but name before @ depends
on username which is logged in. Can I use aliases
for such substitution ? Or may be I can write a rule
somewhere in sendmail.cf ?

Arseny Slobodjuck


To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


Daniel Bye

unread,
Sep 22, 2000, 3:00:00 AM9/22/00
to
You could try setting this as an option in your e-mail client program. For
example, mutt allows you to specify the From: address in your ~/.muttrc.

This works for me:

my_hdr From: my.mai...@isp.domain.com

I'm sure other clients have a similar feature. (This works fine for me, as
I am the only person who uses e-mail on the machine. If you have to look
after a number of users, it would probably be better to find a more global
way of doing it - which I can't help with, I'm afraid :o( Although I
understand the Bat Book is rather good!)

Dan

Janko van Roosmalen

unread,
Sep 22, 2000, 3:00:00 AM9/22/00
to
The FreeBSD 3.2 (I cannot speak for the newer releases) faq has a section
how to generate a suitable sendmail.cf file for a dial-up-only connection.
I had to install the sendmail source from the "contrib" source package.

Janko van Roosmalen - Vught - Netherlands

Arseny Slobodjuck

unread,
Sep 23, 2000, 3:00:00 AM9/23/00
to

On Fri, 22 Sep 2000, Daniel Bye wrote:

> You could try setting this as an option in your e-mail client program. For
> example, mutt allows you to specify the From: address in your ~/.muttrc.

One more reason leave pine for mutt... Thanks.

Arseny Slobodjuck

unread,
Sep 23, 2000, 3:00:00 AM9/23/00
to

Yes, I found this section in faq, thanks. But it about domain
name 'masquerading' anyway, not about usernames. Well, logging in as
'ampy' is not a problem, but what if I'll consider to change my
mailbox name or create another mailbox ?...


> The FreeBSD 3.2 (I cannot speak for the newer releases) faq has a section
> how to generate a suitable sendmail.cf file for a dial-up-only connection.
> I had to install the sendmail source from the "contrib" source package.
>

> > I'm trying to set up my email about 2 weeks. I'm using
> > fetchmail to access pop3, but have troubles in smtp
> > sending. My address does not correctly appears in message
> > header. I investigated the $j macro in sendmail.conf
> > and domain is substituted, but name before @ depends
> > on username which is logged in. Can I use aliases
> > for such substitution ? Or may be I can write a rule
> > somewhere in sendmail.cf ?

To Unsubscribe: send mail to majo...@FreeBSD.org

Janko van Roosmalen

unread,
Sep 23, 2000, 9:57:00 PM9/23/00
to
If I make the right conclusion from another message in this thread you are
using pine. In pine you can set the "domain" part of your email address
to whatever you want. For user name you could configure another "role" in
pine.

===Janko van Roosmalen - Vught - Netherlands===

Giorgos Keramidas

unread,
Sep 24, 2000, 7:39:36 PM9/24/00
to
On Sat, Sep 23, 2000 at 11:00:49PM +1000, Arseny Slobodjuck wrote:
>
> Yes, I found this section in faq, thanks. But it about domain
> name 'masquerading' anyway, not about usernames. Well, logging in as
> 'ampy' is not a problem, but what if I'll consider to change my
> mailbox name or create another mailbox ?...

You can either configure a different 'role' in pine, or set the
customized-hdrs and default-composer-hdrs variables in your .pinerc to
change what Pine will put in it's default headers.

I tend to prefer Mutt though, since in my ~/.muttrc I can configure a
different sendmail= variable for each folder that I read, and have my
account in sendmail's /etc/mail/sendmail.ct file of trusted users. This
way, I can call sendmail -f with a different envelope sender address
depending on the folder that I'm currently reading/replying to, and with
the proper my_hdr From line make the header of the message reflect that
sender address too.

--
Giorgos Keramidas, <kera...@ceid.upatras.gr>
For my public pgp2 key: finger -l kera...@diogenis.ceid.upatras.gr

0 new messages