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