On Sunday 27 July 2008, Lorenzo Perone wrote: > 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). > [ snip ] > > ### 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 )
Did you try 'courier restart' (without path - or with full path '/usr/local/sbin/courier restart')? This should do the trick without full courier suite restart, but I am not sure now. > 7) repeat step 3 > -> mail get delivered without error messages.. > As an alternative, you could investigate webadmin. You could see the way to do it there - commands are listed when changes are applied. Regards, Milan -- This address is used only for mailing list response. Do not send any personal messages to it, use milan in address instead. ------------------------------------------------------------------------- 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
