PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.postfix.users > Postfix with multiple domains
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Postfix with multiple domains

Réponse
 
LinkBack Outils de la discussion
Vieux 04/03/2006, 19h30   #1
Evan Platt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Postfix with multiple domains

Running postfix on a mac system, doubt that maces a difference.. Two
questions - First is I can't restart postfix. if I run postfix reload,
I get postfix/postfix-script: fatal: the Postfix mail system is not
running. If I grep ps aux for postfix, I get:
postfix 435 0.0 0.1 27424 684 ?? S 11:41PM 0:00.75
qmgr -l -t fifo -u

If I make a change to like my headers or aliases file, it seems to
work right away? (Previous I had to postfix reload). Not sure what I
did that caused this. A fink update perhaps?

Second question - I host two domains.domaina and domainb. both are
listed in main.cf as mydestination.

So the second domain is basically one mailbox, with multiple aliases.
Am I correct in that say the username for domainb is domainb, so to
add a e-mail address of bob@domainb.com, I'd add bob:domainb in my
aliases file? How can I have both a bob (or postmaster) on both domain
a and domainb? Postfix won't let me do postmaster@domaina.com:domaina
..

Thanks.

Evan
--
To reply, remove TheObvious from my e-mail address.
  Réponse avec citation
Vieux 04/03/2006, 22h12   #2
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Postfix with multiple domains

Re first question:

It sounds like the process ID directory got blow away, or
is unreadable.

Run the command "postconf queue_directory process_id_directory" and it
will tell you where Postfix thinks it is, typically /var/spool/postfix/pid/
on a Linux box.

I'd suggest verifying that the pid directory is cool, and either rebooting
or manually killing off the processes and restarting postfix. Look at the
output of the log files for errors.

Re second question:

Domain names don't go in the left hand side of the aliases file; just user names.

If "bob" exists in the local_recipient_maps (typically the password or aliases file)
then email to bob@domainA.com and bob@domainB.com will go to the same local mailbox.

For aliasing with multiple domain names, see virtual_alias_domains and virtual_alias_maps
in "man 5 postconf".

If you just want to split them out to different local mailboxes, see virtual_mailbox_domains
and virtual_mailbox_maps in "man 5 postconf".


--
Greg




Evan Platt wrote:
> Running postfix on a mac system, doubt that maces a difference.. Two
> questions - First is I can't restart postfix. if I run postfix reload,
> I get postfix/postfix-script: fatal: the Postfix mail system is not
> running. If I grep ps aux for postfix, I get:
> postfix 435 0.0 0.1 27424 684 ?? S 11:41PM 0:00.75
> qmgr -l -t fifo -u
>
> If I make a change to like my headers or aliases file, it seems to
> work right away? (Previous I had to postfix reload). Not sure what I
> did that caused this. A fink update perhaps?
>
> Second question - I host two domains.domaina and domainb. both are
> listed in main.cf as mydestination.
>
> So the second domain is basically one mailbox, with multiple aliases.
> Am I correct in that say the username for domainb is domainb, so to
> add a e-mail address of bob@domainb.com, I'd add bob:domainb in my
> aliases file? How can I have both a bob (or postmaster) on both domain
> a and domainb? Postfix won't let me do postmaster@domaina.com:domaina
> .
>
> Thanks.
>
> Evan

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h50.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10400 seconds with 10 queries