Hi

I'm running Postfix v2.5.6 which I compiled myself from unmodified sources. 
(postconf -d 
appended below)

I have a small server handling 5 domains and I'm having trouble with one of my 
virtual domains 
wrt recipient verification. 

Mail to 4 of the domains behaves correctly and is either accepted if the email 
address exists 
or is rejected with a "550 Mailbox unknown".

The other domain (just added) attempts to connect to my ISP (relayhost) and 
rejects with a:
450 4.1.1 <bo...@aaaaaaa.co.nz>: Recipient address rejected: unverified 
address: connect to 
AAAAA.net.nz[XXX.XX.242.10]:24: Connection refused
(see /var/log/mail excerpt below)

Fair enough that this is being refused, but why is postfix probing my relayhost 
? It should be 
verifying the address locally like it does with all the other domains. I've 
read the ADDRESS 
VERIFICATION README file but I cannot figure out why this one domain is 
behaving differently to 
all the others.

Each domain is listed identically in my /etc/postfix/vdomains file on a line by 
itself.
(I've also tried with hash:/etc/postfix/vdomains and adding an OK to the end 
and postmap'ing 
the vdomains file + reload, to no effect.)

I'm running with Cyrus IMAP and using essentially the: "Non-Postfix mailbox 
store: separate 
domains, non-UNIX accounts" configuration from the VIRTUAL README.

Any assistance would be appreciated. Thanks



============= /var/log/mail===========================================
Nov 15 21:33:31 aeryn postfix/cleanup[1566]: 67AFAD0621: message-
id=<20091115083331.67afad0...@aeryn.aaaaaaa.aa>
Nov 15 21:33:31 aeryn postfix/qmgr[1425]: 67AFAD0621: 
from=<double-bou...@aaaaaaa.aa>, 
size=266, nrcpt=1 (queue active)
Nov 15 21:33:31 aeryn postfix/lmtp[1568]: 67AFAD0621: to=<mdxad...@aaaaaaa.aa>, 
orig_to=<aa...@aaaaaaa.co.nz>, 
relay=aeryn.AAAAAAA.AA[/var/lib/imap/socket/lmtp], del
ay=0.3, delays=0.01/0.04/0.22/0.04, dsn=2.1.5, status=deliverable (250 2.1.5 ok)
Nov 15 21:33:31 aeryn postfix/qmgr[1425]: 67AFAD0621: removed
Nov 15 21:33:31 aeryn postfix/smtpd[1543]: NOQUEUE: reject: RCPT from 
unknown[DDD.DDD.157.227]: 
450 4.1.1 <aa...@aaaaaa.co.nz>: Recipient address rejected: unverified
 address: connect to myisp.net.nz[DDD.DD.242.10]:24: Connection refused; 
from=<t...@aaaaaaa.aaa> to=<aa...@aaaaaa.co.nz> proto=SMTP helo=<AAAAAAAA.co.nz>
Nov 15 21:33:48 aeryn postfix/master[1110]: terminating on signal 15





=========postconf -n=============================
address_verify_map = btree:/var/lib/postfix/verify                              
                                              
alias_maps = hash:/etc/aliases                                                  
                                              
broken_sasl_auth_clients = yes                                                  
                                              
canonical_maps = hash:/etc/postfix/canonical                                    
                                              
command_directory = /usr/sbin                                                   
                                              
config_directory = /etc/postfix                                                 
                                              
content_filter = smtp-amavis:[127.0.0.1]:10028                                  
                                              
daemon_directory = /usr/lib/postfix                                             
                                              
data_directory = /var/lib/postfix                                               
                                              
debug_peer_level = 2                                                            
                                              
defer_transports =                                                              
                                              
disable_dns_lookups = no                                                        
                                              
disable_vrfy_command = yes                                                      
                                              
header_checks = regexp:/etc/postfix/header_checks                               
                                              
html_directory = no                                                             
                                              
local_destination_concurrency_limit = 5                                         
                                              
local_destination_recipient_limit = 300                                         
                                              
local_recipient_maps =                                                          
                                              
mail_owner = postfix                                                            
                                              
mail_spool_directory = /var/mail                                                
                                              
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp                         
                                              
mailq_path = /usr/bin/mailq                                                     
                                              
manpage_directory = /usr/share/man                                              
                                              
masquerade_classes = envelope_sender, header_sender, header_recipient           
                                              
masquerade_exceptions = root                                                    
                                              
mydestination = $myhostname, localhost.$mydomain, $mydomain                     
                                              
mynetworks = 192.168.0.0/16, 127.0.0.0/8                                        
                                              
myorigin = $mydomain                                                            
                                              
newaliases_path = /usr/sbin/sendmail                                            
                                              
proxy_interfaces = DD.DDD.129.240                                               
                                              
queue_directory = /var/spool/postfix                                            
                                              
readme_directory = /usr/share/doc/packages/postfix/README_FILES                 
                                              
relay_domains = /etc/postfix/mxbackups
relayhost = [AAAAA.net.nz]
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_helo_name = smtp.smartpoint.co.nz
smtp_tls_cert_file = /etc/postfix/newcert.pem
smtp_tls_key_file = /etc/postfix/newreq.pem
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,        permit_sasl_authenticated,  
      
reject_invalid_helo_hostname,        reject_non_fqdn_hostname,        permit
smtpd_proxy_ehlo = $myorigin
smtpd_recipient_restrictions = permit_mynetworks,        
reject_unauth_pipelining,        
permit_sasl_authenticated,        reject_unauth_destination,        
reject_non_fqdn_sender,        
reject_non_fqdn_recipient,        reject_unknown_sender_domain,        
reject_unknown_recipient_domain,      reject_unverified_recipient,        
check_helo_access 
hash:/etc/postfix/helo_access,        reject_rbl_client sbl.spamhaus.org,       
 
reject_rbl_client bl.spamcop.net,        permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = aeryn
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_CApath = /etc/ssl/certs/
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/random
transport_maps = hash:/etc/postfix/transport
unverified_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_mailbox_domains = /etc/postfix/vdomains
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_transport = lmtp:unix:/var/lib/imap/socket/lmtp

Reply via email to