Networking Forums

Networking Forums > Computer Networking > Linux Networking > Control over senders domain name

Reply
Thread Tools Display Modes

Control over senders domain name

 
 
Stevie
Guest
Posts: n/a

 
      04-18-2006, 11:53 AM
Hi all

Early days for me and linux email so please bare with me....

I've inherited two servers, one running sendmail, one running postfix.

I want to control the domain name that is appended to the senders name
when sending email via sendmail/postfix from the command line. This
will allow me more control over how these emails are filtered by a spam
and email signature engine.

Using the command
echo "test body" | mail -s "Test email" (E-Mail Removed)

two different sender email addresses are visible in the received email.
On the sendmail server the senders name appears in my inbox as
(E-Mail Removed)l whereas on the postfix server the senders name
appears as (E-Mail Removed).

I'd like to standardise and have servername.mydomain.com replaced by
servername.local.

Could anyone point me in the right direction? Is this something
controlled by the postfix/sendmail config or is it within the network
config itself?

Also, how does the mail command know to use sendmail or postfix? In the
medium term I'd like to install postfix on the sendmail box as I've
heard it's simpler to configure. Is there a way for these two packages
to co-exist so the transfer to postfix can be as risk free as possible?

Many thanks
StevieH

 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      04-18-2006, 12:02 PM
On 2006-04-18, Stevie <(E-Mail Removed)> wrote:
> I want to control the domain name that is appended to the senders name
> when sending email via sendmail/postfix from the command line.


Google google on the wall... How do I rewrite addresses with postfix or
sendmail?

For postfix:
http://www.postfix.org/ADDRESS_REWRITING_README.html

For sendmail:
http://www.tldp.org/HOWTO/Sendmail-Address-Rewrite.html

Davide

--
There's a sucker born every minute, and for every sucker there are
10 internet domains that pops up.
 
Reply With Quote
 
Stevie
Guest
Posts: n/a

 
      04-18-2006, 05:23 PM
Davide

Thanks. "Rewrite" was the key word I was looking for, move along now.

The sendmail info was most useful. It appears that the issue I was
having with .local was due to differences in /etc/hosts, rather than
differences in the postfix/sendmail rewrite config.

This is easily visible using the hostname -v -f command.

StevieH

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Child Domain Control Mr. JYC Windows Networking 2 05-02-2008 09:23 PM
Wireless router and tv video senders diy-newby Broadband 12 02-06-2007 12:28 AM
Video Senders and WiFi Geoff Lane Home Networking 6 02-26-2006 05:50 PM
Delivering a logon message to client computers from Domain Control =?Utf-8?B?Sm9vbmV5?= Windows Networking 2 09-30-2004 05:27 PM
webhosting/domain control panel Jibe Linux Networking 0 01-31-2004 10:02 PM



1 2 3 4 5 6 7 8 9 10 11