Hello all, I'm in the process of transitioning a mail server from an old sparc box running qmail and mailman to a linux box running courier-mta (0.42.2) and mailman.
All of the user accounts were moved to the courier machine a while ago. As a remnant of the previous mail system, mail comes into the qmail system where it's forwarded to the courier system via .qmail-username aliases. The aliases send mail to [EMAIL PROTECTED] The courier system is configured to deliver courier.pub.domain.com and courier.domain.com locally. It's also configured to be a backup MX for domain.com. All of this, while kind of convoluted, works just fine (but we're trying to simplify it). The first stage of the transition is moving the mailing lists over to the new machine. Currently, mailing list messages come into the qmail machine and through aliases are piped to mailman programs. As the first part of the transition, I'd like to have the messages come into the qmail machine and be sent to the courier machine via aliases (just like the users), where the courier machine then pipes the messages to the mailman programs. To test this, I set up an alias on the qmail machine sending mail to [EMAIL PROTECTED] to [EMAIL PROTECTED] On the courier system, I aliased foo to myself. I then sent email to [EMAIL PROTECTED] and shortly received it in my mailbox. Since mailman depends on the messages being piped to the mailman executable via aliases, I changed the destination of my courier system alias from "foo: [EMAIL PROTECTED]" to "foo: | /bin/mail -s test [EMAIL PROTECTED]" figuring this would have the same effect. This time, when I sent the test message to [EMAIL PROTECTED], I get the following from the mail daemon on the courier system... --------------------------------------------------------------------------- UNDELIVERABLE MAIL Your message to the following recipients cannot be delivered: <[EMAIL PROTECTED]>: <<< No such domain. --------------------------------------------------------------------------- The maillog on the courier box has this entry: Jul 18 15:46:06 courier courieresmtp:id=000404EB.3F184E7E.0000080C,from=<[EMAIL PROTECTED]>,addr=<".xalias/[EMAIL PROTECTED]"@domain.com>: No such domain. Doing a "sbin/makealiases -dump | grep foo" shows... [EMAIL PROTECTED]: ".xalias/[EMAIL PROTECTED]"@domain.com Cat-ing etc/aliasdir/.courier-:xalias/[EMAIL PROTECTED] yields: | /bin/mail -s test [EMAIL PROTECTED] >From the look of the maillog error message, it would seem that the initial alias transformation to ".xalias/[EMAIL PROTECTED]"@domain.com" worked, but something seems to be missing between that transformation and looking into etc/aliasdir/.courier-:xalias/[EMAIL PROTECTED] I tried changing the payload of the alias to dump the message into a file, but since it looks like courier isn't even looking at that file when it attempts delivery, this doesn't change anything. Can someone "scp /dev/clue pete:"? Thanks, pete ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users