Hi,
I wonder what I'm doing wrong, because courier seems to need a
complete restart after changes in hostedomains or esmtpacceptmailfor
(even after issuing makeacceptmailfor and makehosteddomains).
If I don't restart courier, mails get rejected with
<<< configuration error: mail loops back to myself (MX problem).
after adding a domain.
Of course it would be nice if there was a way to make courier aware of
the
changes without restarting all modules, so that people downloading/
uploading
their mail do not have to repeat the action just because a new domain
is being hosted.
Anything I'm missing? I read all manpages but couldn't find anything
(a signal to send wia kill to one of the processes would be fine).
### Details on the setup ###
OS: FreeBSD 7.0-STABLE
Courier Package: courier-0.54.0
Courier used with mysql and all parts of it (mta, local delivery,
imap, pop3...)
Command used to restart courier: the one included in the FreeBSD port
( /usr/local/etc/rc.d/courier restart )
Issuing esmtpd restart (instead of the global one) does not change
the result.
Only restarting the whole package seems to make it deliver the mails.
### How to repeat: ###
1) add a domain to the files (FreeBSD paths below)
/usr/local/etc/courier/esmtpacceptmailfor.dir/default
/usr/local/etc/courier/hosteddomains/default
(the domain has a correct MX entry pointing to the server in question)
2) call these cmds:
makeacceptmailfor && makehosteddomains
3) send an email to a valid account of the new domain, from a valid
return path
-> the email gets accepted (so some part of courier knows it's hosted
already)
4) wait a little...
5) check mail on the senders account -> you'll get an error message
stating
<<< configuration error: mail loops back to myself (MX problem).
6) restart courier (I use /usr/local/etc/rc.d/courier restart )
7) repeat step 3
-> mail get delivered without error messages..
Thank You for any advice!
Regards,
Lorenzo
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users