Re: Virtual domains question part 2

From: FastNet USA (no email)
Date: Sun Feb 01 2004 - 11:02:59 EST


Ok I have done my first test, I set up a user johndoe, gave him a
/home/johndoe directory.

I then sent him an email to johndoe, using the mail command as root, this is
what I got in my logs:

Feb 1 10:51:50 mail postfix/nqmgr[11264]: 118C01C4081:
from=<>, size=279, nrcpt=1 (queue active)
Feb 1 10:51:50 mail postfix/smtp[11354]: warning: mailer loop: best MX host
for webhost-search.com is local
Feb 1 10:51:50 mail postfix/smtp[11354]: warning: relayhost configuration
problem: webhost-search.com
Feb 1 10:51:50 mail postfix/smtp[11354]: 118C01C4081:
to=<>, relay=none, delay=1, status=deferred (mail
for webhost-search.com loops back to myself)

Then I sent and email using the mail command from again root to:

Feb 1 10:52:51 mail postfix/pickup[11263]: 407BE1C4082: uid=0 from=<root>
Feb 1 10:52:51 mail postfix/cleanup[11352]: 407BE1C4082:
message-id=<20040201155251 dot 407BE1C4082 at mail>
Feb 1 10:52:51 mail postfix/nqmgr[11264]: 407BE1C4082:
from=<>, size=274, nrcpt=1 (queue active)
Feb 1 10:52:51 mail postfix/local[11361]: 407BE1C4082:
to=<>, relay=local, delay=0, status=sent (mailbox

This message did get sent to the file:

/var/spool/mail/johndoe

And the logs show it sent, but when I tried to send mail from another
account that was not on the mail server
but on antoher server I got this error message:

<>:
This address no longer accepts mail.

Below is my output from: postconf -n, any help with this would be great, I
must be missing somthing.

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
local_recipient_maps = $alias_maps unix:passwd.byname
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, ez-design.net
mydomain = webhost-search.com
myhostname = mail
mynetworks = 204.188.78.252/24, 204.188.77.0/24, 204.188.76.10/24,
204.188.79.0/
24, 127.0.0.1/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.12/README_FILES
relay_domains = $mydestination
relayhost = $mydomain
sample_directory = /usr/share/doc/postfix-1.1.12/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop

----- Original Message -----
From: "David Grant" <>
To: "'FastNet USA'" <>
Sent: Sunday, February 01, 2004 10:34 AM
Subject: RE: Virtual domains question part 2

Answer to question one, yes you are correct.

Answer to question two, yes, either choice is fine.

There are many ways to do many things.

For you, I suggest using unix OS accounts, allowing pop3 access, aliasing
those accounts in an alias file, and adding your domains to a virtual
domains file.

This is the easiest way to accomplish what you want.

David Grant

-----Original Message-----
From:
[mailto:] On Behalf Of FastNet USA
Sent: Monday, February 02, 2004 12:47 AM
To: Postfix
Subject: Virtual domains question part 2

I apologize if I am not explaining this correctly, I do not mean to be
wasting anyone's time, but I am still confused I guess.

I will try again:

I have several domains, some we host the DNS some we don't host the DNS, all
will have a 'A' record that is like so and MX record like below, 192.168.0.2
will be IP address of the Postfix mail server:

'A' Record: mail.domainname.com ----> 192.168.0.2
'MX' Record: domain.com ----> mail.domainname.com

Each and every user will have an account on our local (192.168.0.2) mail
server, using the mbox protocol, this would be the easiest way to set it up,
and would not be considered Virtual Domains.

Now I am under the impression that I can have each account have a local Unix
account or I can set up a virtual_mailbox_domains parameter so that they
don't have to have a local UNIX account, but can still POP mail off the
server, by using mail.domainname.com as their POP mail server in their
Outlook.

Now the instance where they have a local Unix account, is not Virtual
Domains, that would be local users. But the situation where they are set up
in the virtual_mailbox_domains map is Virtual Domain set up.

I am also under the impression that one can use aliases (local account), and
mail list and one cannot not(Virtual Domain), we do need to use aliases and
mail list, so this is where the question comes to mind, which way should I
set it up for the most stable environment.

Can someone please tell me if I have this correct and if not explain why.

The two choices according to the book are called the following:

1st choice is called Shared Domains with System Account

2nd choice Separate Domains with Virtual Accounts

My second question is this, will each of those options above be ok with a
standard POP server, or will I have to use Imap with one of them and not the
other, I want to use regular POP3 server that comes with Red Hat ES 3, which
is ipop3.

And which can use aliases and mail list.

Again thank you for your time, I apologize, but it is not sinking in yet.

Bernie--

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/31/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD