Current time: 11-26-2024, 04:48 PM Hello There, Guest! (LoginRegister)


Post Reply 
disable mail handling for one or more domains
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: disable mail handling for one or more domains
motin Wrote:
joximu Wrote:manually: edit /etc/postfix/ispcp/domains - make a copy to /etc/ispcp/postfix/working and run "postmap domains"

Having the same problem, and tried to follow these instructions but what do they really mean?

Edit /etc/postfix/ispcp/domains - is that removing the lines for the domains that has mailservers elsewhere - or changing "vdmn_entry" to something else?

deactivate the whole line. (see documentation of postfix - it's free...)

motin Wrote:Also, postmap domains won't work unless you have such a file in the current directory, so I guess you mean postmap /etc/ispcp/postfix/working/domains ?

nope, I mean the same file you just edited one stpe before:
/etc/postfix/ispcp/domains

motin Wrote:I put a bracket in front of the line where my mailoutsourced domain was, then copied the file over and ran postmap /etc/ispcp/postfix/working/domains but it still won't work.

in /etc/ispcp/.../working there are copies of the current configuration.
It's often needed that you copy the self modified files also to this place. Otherwise ispCP might overwrite your changes.

motin Wrote:I get these messages in syslog (replaced my domain with mydomain.net...):
Sep 4 23:47:20 ubuntu103 postfix/virtual[700]: 14959BD08A6: to=<test@mydomain.net>, relay=virtual, delay=0, status=bounced (unknown user: "test@mydomain.net")

Anybody can shine a light on this matter?

"relay=virtual" means: postfix found the domain to be a local virtual domain and want's to handle the mail in this way...

Hope you got a glimpse of light :-)

Cheers
Joximu
09-05-2007 09:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread

Forum Jump:


User(s) browsing this thread: 3 Guest(s)