Email not going to users mailbox

Okay, that all looks good – now did it produce a virtual.db file?

ls -l /etc/postfix/virtual.db

> ls -l /etc/postfix/virtual.db
-rw-r–r-- 1 root root 12288 Sep 24 17:05 /etc/postfix/virtual.db

This domain I am adding is a virtual domain on my VPS.

Now that we re-generated the virtual db table, can you add the Virtual Server?

Also, you said the error you received was:

"Failed to create virtual server : Failed to regenerate table /etc/postfix/virtual: "

If you get that again, is there anything after that?
-Eric

It seemed to register the new domain, but it goes to the wrong domain.
It goes to the main domain.

Have started a new thread here.

http://www.virtualmin.com/forums/help-home-for-newbies/wrong-domain-shows-up..html

I then click on the location given under - Inbox mail file

(I.E: /var/mail/xxx.xxxx.com)

This is almost certainly wrong. If you installed Virtualmin using our install script, mail should be going to a Maildir in the users home directory.

How did you install Virtualmin?

Hi Joe
it was installed via the script, was working fine, but I was trying to set up the email HELO part and messed it up.

Eric has got the email working again,
But now when I register a new virtual server it goes to the IP address domain and not to the virtual one.

I have gone to apache and looked at the domains there it seems to be the same as the others except that the name has the .co.za extension included where as the others dropped that.

Could that be the problem?

I have just rebooted server (VPS)
All went well except Dind did not start.
It was just a syntax error one to many

};   

was doubled up at end of file removed it and now BIND started up okay.

But unfortunately rebooting did not help problem is still here.

I can send mail,
Mail arrives in the users mailboxes
but cant download it to pc or see it in squirrelmail.

was working fine before, except the helo error
which when i tried to change it caused this.

I have totally emptied main.cf and redone it with no luck

main.cf now only containscontains

mynetworks = xx.xx.xxx.xxx xx.xx.xxx.xxx saweb.biz swish.co.za xx.xx.xxx.xxx

virtual_alias_maps = hash:/etc/postfix/virtual

I have just rebooted server (VPS)
All went well except Dind did not start.
It was just a syntax error one to many

};   

was doubled up at end of file removed it and now BIND started up okay.

But unfortunately rebooting did not help problem is still here.

I can send mail,
Mail arrives in the users mailboxes
but cant download it to pc or see it in squirrelmail.

was working fine before, except the helo error
which when i tried to change it caused this.

I have totally emptied main.cf and redone it with no luck

main.cf now only containscontains

mynetworks = xx.xx.xxx.xxx xx.xx.xxx.xxx saweb.biz swish.co.za xx.xx.xxx.xxx

virtual_alias_maps = hash:/etc/postfix/virtual

I know this is a very old topic but I am having the same issue, anyone that can assist me?

Howdy,

There’s quite a few possible causes for an issue like this.

Since this issue is 11 years old – my suggestion would be to start a new Forum thread, and there, describe the issue you’re seeing, including any email logs and/or errors that you’re seeing.

Thanks!

-Eric