expanding an address in postfix is like trying to see through a tin windscreen
Pardon me sending this to Suse rather than postfix but that list is really high bandwidth and I'm hoping to catch a postfix expert here. Postfix has a lot of advantages over sendmail and (as far as I am concerned) one killer defect. How do I ask the web of postfix processes what will happen to a given email? The functionality that (insecurely) exists in the SMTP "expn" command. (I always used that through a perl wrapper "expn" anyway) The extensive tracing that sendmail -bt allows. Searching on postfix.org and the net reveals various mumblings about difficulty... Which sounds like a used car salesman trying to explain away a tin windscreen. If you can't see where it's going then what use is it? All non-mumbling answers welcome, michaelj -- Michael James michael.james@csiro.au System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166
I'm not a postfix expert so my examples are with qmail but the the principles are the same. * Michael.James@csiro.au (Michael.James@csiro.au) [030618 23:06]:
How do I ask the web of postfix processes what will happen to a given email?
Send a mail and watch the logs of course :) This comes up with qmail as well. By design, the various components of of the system only know the absolute minimum about other components. E.g., in qmail all the smtpd knows is how to speak smtp, what domains it should accept in the RCPT TO command, and how to hand a mail off to the qmail-queue process (the postfix smtpd can also know whether the local part of the RCPT TO is valid). It can't expand aliases, decide who's local and who's remote, etc. qmail-queue only knows how to stick the message into the queue so that can qmail-send come along and decide whether the message is local or remote and so on. You get the idea. Anyway, 'sendmail -bt' works because sendmail is just one giant program that does everything and has access to all of the information necessary to tell you exactly the path a mail will travel. It's a good thing that postfix and qmail can't do this even if it is a loss of functionality. -- -ckm
participants (2)
-
Christopher Mahmood
-
Michael.James@csiro.au