Discussion:
Multiple domains in smtp server(postfix)
(too old to reply)
Andhu
2008-03-31 14:26:41 UTC
Permalink
hi,

i had configured postfix mailserver in rhel4 update 4.
postfix-2.2.10-1.RHEL4.2
server hostname is experts.linux.com were i configured postfix smtp
and imap.
imap-2001a-18 is which i used.

i had configured squirrelmail in another machine where the hostname is
rules.linux.com
squirrelmail-1.4.6-7.el4

when i send any mail to smtp server(experts.linux.com) from
squirrelmail server(rules.linux.com) its working fine.
mails are delivering to the respective users.

my problem is i had to add multiple domains in smtp server.I had to
add these server in the main.cf file of experts.linux.com.so that when
i send mail to these domain users from squirrelmail (clients) it
should be delivered.

my task is i had send mail to radius.linux.com user from squirrelmail
(rules.linux.com).IS there any other way other than DNS and pointing
the other domain in relay host.
Cydrome Leader
2008-03-31 22:23:11 UTC
Permalink
Post by Andhu
hi,
i had configured postfix mailserver in rhel4 update 4.
postfix-2.2.10-1.RHEL4.2
server hostname is experts.linux.com were i configured postfix smtp
and imap.
imap-2001a-18 is which i used.
i had configured squirrelmail in another machine where the hostname is
rules.linux.com
squirrelmail-1.4.6-7.el4
when i send any mail to smtp server(experts.linux.com) from
squirrelmail server(rules.linux.com) its working fine.
mails are delivering to the respective users.
my problem is i had to add multiple domains in smtp server.I had to
add these server in the main.cf file of experts.linux.com.so that when
i send mail to these domain users from squirrelmail (clients) it
should be delivered.
my task is i had send mail to radius.linux.com user from squirrelmail
(rules.linux.com).IS there any other way other than DNS and pointing
the other domain in relay host.
I'm not quite understanding the problem.

Are you having a problem relaying email though experts from webmail on
another machine?
Andhu
2008-04-01 04:24:50 UTC
Permalink
In my mailserver am having one domain called linux.com and the FQDN is
experts.linux.com
Here in this mail server i want to add multiple domains.
so when ever am sending mail from client either outlook or
squirrelmail to any of the domain,it should be delivered.
so plz tell me how to add multiple domains in single mailserver.
Cydrome Leader
2008-04-01 16:02:19 UTC
Permalink
Post by Andhu
In my mailserver am having one domain called linux.com and the FQDN is
experts.linux.com
Here in this mail server i want to add multiple domains.
so when ever am sending mail from client either outlook or
squirrelmail to any of the domain,it should be delivered.
so plz tell me how to add multiple domains in single mailserver.
Ok.

You need a few things.

MX records for all the domains you want to receive for to point to the
host that will receive the mail.

You need virtual mail of some sort setup on the postfix, so it knows to
accept the mail being send to it.

The virtual man page for postfix explains manual ways to do this. I no
longer have any manually configed mail, but you may need an entry like

linux.com null

in your virtual file, as well as any other domains you are accepting mail
for. The "null" part can be any text, it's just a place holder.

there is also a program called postfix admin that controls all virtual
mail with a mysql database that's pretty easy to use. It has a php front
end for administration.

Loading...