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! :-)

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.

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.

This is on a CentOS 5 guest (Linux-Vserver).

postfix-2.3.3-2.1.el5_2
postgrey-1.31-1.el5.rf
dovecot-1.1.3-0_80.el5
dovecot-sieve-1.1.5-8.el5

The output of postconf -n is attached.

Pointers/suggestions?


TIA
Rod
--
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
default_destination_concurrency_limit = 10
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/header_checks.regexp
inet_interfaces = nnn.nn.nnn.nnn, 127.0.0.1
local_recipient_maps = 
local_transport = virtual
message_size_limit = 20971520
mydestination = localhost
mydomain = domain.tld
myhostname = mx0.domain2.tld
mynetworks = 127.0.0.0/8
recipient_delimiter = +
smtp_bind_address = nnn.nn.nnn.nnn
smtpd_data_restrictions = reject_unauth_pipelining, 
reject_multi_recipient_bounce smtpd_discard_ehlo_keywords = silent-discard, dsn
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks permit_sasl_authenticated 
reject_invalid_hostname reject_non_fqdn_hostname
smtpd_recipient_restrictions = reject_non_fqdn_sender, 
reject_non_fqdn_recipient, permit_mynetworks, permit_sasl_authenticated, 
reject_unauth_destination, reject_unlisted_recipient, 
reject_invalid_helo_hostname, reject_unknown_sender_domain, 
reject_unknown_recipient_domain, reject_rbl_client zen.spamhaus.org, 
check_policy_service unix:postgrey/socket, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/pki/tls/certs/mail.pem
smtpd_tls_key_file = /etc/pki/tls/private/mail.pem
smtpd_tls_security_level = may
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_domains = $mydomain, domain1.tld, domain2.tld
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 500
virtual_transport = dovecot
virtual_uid_maps = static:5000

Reply via email to