AFP548

Exim: virtual domains nor TLS/SSL work

I recently installed Exim and actually got it working to a degree similar to that of Apple Mail Server SMTP, in that I can do basic mail relaying and SMTP authentication. However, the two things I really need to work, virtual domains and SSL, are not working. I followed the steps in the Setting up Exim 4.10 for OSX 10.2 Server for virtual domians, but it does not work. What i find odd is that we generate our virtual domain host names in /etc/mail (ie /etc/mail/afp548.com) but the code that goes in the exim configure file: [code:1:0d27df873b] virtual: driver = redirect domains = dsearch;/etc/mail/virtual data = ${lookup{$local_part}lsearch{/etc/mail/virtual/$domain}} no_more [/code:1:0d27df873b] seems to indicate it will look for the the virtual domain in /etc/mail/virtual (so i would assumei would make /etc/mail/virtual/afp548.com). If I don't have the virtual folder, Exim in debug mode says that the directory cannot be found. If I add the virtual/ directory, with the afp548.com file, for example, in there, it still fails. The degugging code gives me the following: [code:1:0d27df873b] #....After some other stuff like authentication.... SMTP>> 235 Authentication succeeded SMTP<< MAIL FROM:<sales@pacificswell.com> SMTP>> 250 OK SMTP<< RCPT TO:<admin@pacificswell.com> active address admin@pacificswell.com local_part=admin domain=pacificswell.com using ACL "acl_check_rcpt" processing "accept" check hosts = : host in ":"? no (end of list) accept: condition test failed processing "deny" check local_parts = ^.*[@%!/|] : ^\\. admin in "^.*[@%!/|] : ^\."? no (end of list) deny: condition test failed processing "accept" check local_parts = postmaster admin in "postmaster"? no (end of list) accept: condition test failed processing "require" check verify = sender >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Verifying sales@pacificswell.com >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Considering sales@pacificswell.com active address sales@pacificswell.com local_part=sales domain=pacificswell.com >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> routing sales@pacificswell.com --------> dnslookup router <-------- local_part=sales domain=pacificswell.com checking domains pacificswell.com in "pacificswell.com : webpsn.com : pacificswell.net : sandpiperdebs.org : pns1"? yes (matched "pacificswell.com") pacificswell.com in "! +local_domains"? no (matched "! +local_domains") cached lookup data = NULL dnslookup router skipped: domains mismatch --------> virtual router <-------- local_part=sales domain=pacificswell.com checking domains search_open: dsearch "/etc/mail/virtual" search_find: file="/etc/mail/virtual" key="pacificswell.com" partial=-1 LRU list: 4/etc/mail/virtual 8/etc/relayers End internal_search_find: file="/etc/mail/virtual" type=dsearch key="pacificswell.com" file lookup required for pacificswell.com in /etc/mail/virtual lookup deferred: /etc/mail/virtual/pacificswell.com: stat failed pacificswell.com in "dsearch;/etc/mail/virtual"? lookup deferred for dsearch;/etc/mail/virtual domains check lookup or other defer ----------- end verify ------------ require: condition test deferred LOG: MAIN REJECT H=sm39220.resnet.ucsb.edu (pacificswell.com) [128.111.39.220] sender verify defer for <sales@pacificswell.com>: domains check lookup or other defer SMTP>> 451 Temporary local problem - please try later LOG: MAIN REJECT H=sm39220.resnet.ucsb.edu (pacificswell.com) [128.111.39.220] F=<sales@pacificswell.com> temporarily rejected RCPT <admin@pacificswell.com>: /etc/mail/virtual/pacificswell.com: stat failed SMTP<< QUIT SMTP>> 221 mail.pacificswell.com closing connection LOG: smtp_connection MAIN SMTP connection from sm39220.resnet.ucsb.edu (pacificswell.com) [128.111.39.220] closed by QUIT search_tidyup called child 6080 ended: status=0x0 0 SMTP accept processes now running Listening... [/code:1:0d27df873b] What looks like it is doing here is verifying the SENDER, not the recipent in the virtual router section. Keep in mind "admin" is the recipent, "sales" is the sender. Any help on this matter would be greatly appreciated! Also, SSL. I'm getting the "SMTP Server is not accepting TLS/SSL connections on port 25" even though i complied Exim with TLS enabled following your directions exactly. There is nothing for tls in the configure file either... Any insight on this as well would be great. Thanks VERY much again in advance.
Exit mobile version