On Wednesday, December 03, 2008 at 19:52 CET, "Roderick A. Anderson" <[EMAIL PROTECTED]> wrote:
> I'm trying to test my Postfix/Dovecot set up to determine why (what > I'm doing wrong) a Perl script using Mail::Sender is failing. Errors > say connection failed -- rather ambiguous I'd say! :-) Please post full logs instead of anecdotes. Right now it's not even obvious that it's Postfix that's complaining. For SASL debugging help output from saslfinger is often useful (or perhaps not that useful with Dovecot). > This is for a system with multiple (virtual?) domains. > > I'm using telnet to test but am having a problem figuring out what I > should use for the actual username before it is base64 encoded. You can choose any username you like as long as it matches whatever is in your credential database. So far we don't know anything about that. MySQL, sasldb, LDAP, what? > I'm having no problems using the system and Thunderbird seems to have > done the right thing when I created the SMTP server settings for each > of the domains. > > I did not find any examples via Google and both the Postfix and > Dovecot sites using telnet to test with virtual domains. Why do you insist on testing this with telnet? You will introduce another possible error source (incorrect encoding of the credentials) and it's a use case that you're supposedly not really interested in. [...] > alias_database = hash:/etc/postfix/aliases > alias_maps = hash:/etc/postfix/aliases Useless since local_transport != local. [...] > local_recipient_maps = > local_transport = virtual Why fight the system? If a domain is a virtual mailbox domain, list the domain in virtual_mailbox_domains and leave local_transport alone. [...] -- Magnus Bäck [EMAIL PROTECTED]