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

Daniel Bye

unread,
Sep 23, 2000, 3:00:00 AM9/23/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

> -----Original Message-----
> From: Rover Wanderer [mailto:am...@crosswinds.net]
> Sent: Friday, September 22, 2000 6:06 PM
> To: freebsd-...@freebsd.org
> Subject: sendmail, sender name
>
>
> 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
>


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

Janko van Roosmalen

unread,
Sep 23, 2000, 3:00:00 AM9/23/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

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

The Drag

unread,
Sep 23, 2000, 3:00:00 AM9/23/00
to
Have you tried utilizing the genericstable with masquerading and
masquerade envelope?

luser " hump " sends mail out and the server rewrites the From and
Return-Path to show humpty...@thisdom.ain
Just an idea, this works pretty slick with 2700 hosted domains.
No matter who they are, their mail always goes out as their domain.

Now I just need to find a really decent equivalent of Vpop3d that
doesn't require a separate ip address for each "virtual mail domain"
(linux - bah!)

What are a few solid solutions to allow virtual domain users to login
using us...@virtdom.ain as the login id. I want to fret over existing
system user names vs desired mailbox account names )
I suppose, I'll endup trashing my solid sendmail server to incorporate
a new MTA that will do that.


On 23 Sep 2000 20:02:43 +0800, am...@crosswinds.net (Arseny Slobodjuck)
wrote:

Janko van Roosmalen

unread,
Sep 24, 2000, 3:00:00 AM9/24/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 25, 2000, 3:00:00 AM9/25/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