Ok it looks like each resellar (we call him 'bob'). His own domain is domain.com.
He gets a mail folder created as:
/var/spool/mail/bob
(FYI /var/mail/ ===symlink===> /var/spool/mail/)
What I do not understand is how mail to them gets put there.
presume a mail sent to:
[email protected]
This arrives and, according to exim.conf is checked if it is a localuser:
domainlist local_domains = lsearch;/etc/virtual/domains
This lists all of the domains on the control panel so effectively ALL domains are local. Fine.
So exim goes on and look to see which Director it should use. It will match the virtual_aliases_nostar Director because there exists a line in:
/etc/virtual/domain.com/aliases contains the line:
bob : bob
This director is configured to use the redirect driver which does nothing with it.
What should happen is that the localuser Director should catch it, run the check_local_user (ie check the /etc/passwd file) and use the local_delivery transport which *IS* configured to put the mail into /var/spool/mail/bob
As predicted mail to [email protected] fails with this in the exim mainlog:
You can also see that mail to 'root' also fails.
What am i missing? How do I fix this?
Thanks!
Daniel
He gets a mail folder created as:
/var/spool/mail/bob
(FYI /var/mail/ ===symlink===> /var/spool/mail/)
What I do not understand is how mail to them gets put there.
presume a mail sent to:
[email protected]
This arrives and, according to exim.conf is checked if it is a localuser:
domainlist local_domains = lsearch;/etc/virtual/domains
This lists all of the domains on the control panel so effectively ALL domains are local. Fine.
So exim goes on and look to see which Director it should use. It will match the virtual_aliases_nostar Director because there exists a line in:
/etc/virtual/domain.com/aliases contains the line:
bob : bob
This director is configured to use the redirect driver which does nothing with it.
What should happen is that the localuser Director should catch it, run the check_local_user (ie check the /etc/passwd file) and use the local_delivery transport which *IS* configured to put the mail into /var/spool/mail/bob
As predicted mail to [email protected] fails with this in the exim mainlog:
Code:
2005-04-12 15:08:03 1DLM3f-0003b0-0u <= root@HOSTNAME U=root P=local S=301
2005-04-12 15:08:03 1DLM3f-0003b0-0u ** bob@HOSTNAME <[email protected]> R=virtual_aliases:
2005-04-12 15:08:03 1DLM3f-0003b4-5Y <= <> R=1DLM3f-0003b0-0u U=mail P=local S=1172
2005-04-12 15:08:03 1DLM3f-0003b0-0u Completed
2005-04-12 15:08:03 1DLM3f-0003b4-5Y ** root@HOSTNAME R=virtual_aliases:
2005-04-12 15:08:03 1DLM3f-0003b4-5Y Frozen (delivery error message)
You can also see that mail to 'root' also fails.
What am i missing? How do I fix this?
Thanks!
Daniel