|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|