LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-16-2008, 04:00 AM   #1
asmar
LQ Newbie
 
Registered: Oct 2004
Location: To the best place in the world...Greece
Distribution: Debian, SuSE, CentOS, Solaris, Ubuntu
Posts: 25

Rep: Reputation: 15
Append Sendmail from address on virtual hosting


Hello forum,

I've got virtual min setup with 2 domains, let's say domain1.com and domain2.com along with their dns entries etc.
I've setup 2 email accounts, admin@domain1.com and admin@domain2.com thourgh virtual min with usernames admin.domain1 and admin.domain2.
When I'm logged in into the webmail (squirrelmail or any other imap software) with either admin.domain1 or admin.domain2 and try to sent an email it is always changes the from field to admin.domain1@hostname or admin.domain2@hostname rather the actual domain.
Hostname is something like somename.myispname.com

Note that these domains point to a different IP as these are setup for testing prior to migration. However, I have setup Bind to listen on local dns (/etc/resolv.conf have 127.0.0.1 as 1st entry) and is resolving fine inside the machine.

Sendmail is configured manually and not via webmin or anything like that.

Any suggestions?
 
  


Reply

Tags
hosting, sendmail, virtual



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail with virtual hosting toraghun Red Hat 6 12-02-2005 02:15 PM
Virtual hosting with sendmail gauge73 Linux - Networking 5 08-26-2005 01:40 PM
Sendmail and Virtual Hosting dineshbabub Linux - Networking 6 07-07-2005 12:57 PM
Sendmail Virtual Hosting vinhdt Linux - Software 1 05-02-2005 11:24 AM
about sendmail configuration with virtual hosting dingzihang Linux - Networking 0 03-09-2004 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration