Page 1 of 1

ASSP and backup mail server

Posted: 2013-02-23 22:35
by bescher
Does ASSP recognized the domains that are int the smpt-rote list?
It seems that it doesn't but does anyone know
Thanks

Re: ASSP and backup mail server

Posted: 2013-02-24 01:11
by Bill48105
ASSP has a few ways for it to run, you need to set it up right. Personally I use ASSP & manually add local domains to ASSP local domains list as to me that is the safest & most reliable. If you go to ASSP config then "Recipients/Local Domains" you can see all the options you'll see a section:
Local Domains* (localDomains)


Check local domains against these addresses. Add a fake domain like 'assp-nospam.org' for the email interface if you run MS Exchange. When mailing to eg. 'spam@assp-nospam.org' MS Exchange forwards it outbound to ASSP who handles the different options. As in every field marked by '*' separate addresses with | or use file 'file:files/localdomains.txt'. Wildcards are supported.
For example: *mydomain.com|*.mydomain.com|here.org
Use the syntax: *mydomain.com=>smtp.mydomain.com|other.com=>mx.other.com:port|other2.com=>mx.other.com:port,mx2.other.com:port to verify the recipient addresses with the SMTP-VRFY (if VRFY is not supported 'MAIL FROM:' and 'RCPT TO:' will be used) command on other SMTP servers. The entry behind => must be the hostname:port or ip-address:port of the MTA which is used to verify 'RCPT TO' addresses with a VRFY command! If :port is not defined, port :25 will be used. You can use an entry like ALL=>vrfyhost:port to define a VRFY host for all entries ( better use Groups ). Separate multiple VRFY hosts for failover by comma ",". You have to enable the SMTP 'VRFY' command on your MTA - the 'EXPN' command should be enabled! This requires an installed Net::SMTP module in PERL.
If you have configured LDAP and enabled DoLDAP and ASSP finds a VRFY entry for a domain, LDAP search will be done first and if this fails, the VRFY will be used. So VRFY could be used for LDAP backup/fallback/failover!
It is recommended to configure 'ldaplistdb' in the 'File Paths and Database' section when using this verify extension - so ASSP will store all verified recipients addresses there to minimize the querys on MTA's. There is no need to configure LDAP, but both VRFY and LDAP are using ldaplistdb. Please go to the 'LDAP setup' section to configure MaxLDAPlistDays and LDAPcrossCheckInterval or start a crosscheck now with forceLDAPcrossCheck. This three parameters belong also to VRFY.
For that I have it set to file:domains which once saved allows you to click Edit file button & add one domain per line. Just remember to add/remove domains from that list whenever you add/remove domains from hmailserver.

Btw hmailserver does not support VRFY so no use trying that or having it enabled. There is however at least one feature request for it: http://www.hmailserver.com/forum/viewto ... =2&t=20151

Bill

Re: ASSP and backup mail server

Posted: 2013-02-24 01:23
by bescher
Thanks
Bill
Will check it out and thanks, may have more questiond later, just learning and setting it up.
Do you use MYSQL with it by the way

Re: ASSP and backup mail server

Posted: 2013-02-24 02:19
by Bill48105
I use mysql with hmail but not assp if that's what you're asking.
Bill

Re: ASSP and backup mail server

Posted: 2013-02-24 16:43
by bescher
No Bill
I use MySql for hmailserver as well but we are thinking of using ASSP to service three computers and that requires MySql

Re: ASSP and backup mail server

Posted: 2013-02-24 17:14
by Bill48105
got me. like i said i don't use mysql with assp, i have no need. but mysql is just a database to store data so can't imagine it's much more than host name, username/pass & possibly manually creating tables. You have enough mail traffic to require 3 ASSP servers running?
Bill

Re: ASSP and backup mail server

Posted: 2013-02-25 01:25
by bescher
Two main mail servers serving 200 people on different ISPs and a backup mail server

Re: ASSP and backup mail server

Posted: 2013-02-25 01:55
by Bill48105
overkill but ok. I got way more people on 1 server with 2 WAN's load-balanced on 1 router & only use 1 ASSP.

Re: ASSP and backup mail server

Posted: 2013-02-26 19:03
by bescher
Long story Bill. I am trying to learn this thing and having understanding issues
Would you mnd id you loginned in and took a look at things (it is behind a firewall and using DYN

I am geting the below error message which I don't understand why it is doing this
Feb-26-13 10:55:33 Connected: 65.55.116.43:29699 -> 192.168.1.42:25 (listenPort) -> 127.0.0.1:2525;
Feb-26-13 10:55:35 m-36189-00015 [RelayAttempt] 65.55.116.43 <@assp.local> relay attempt blocked for: miked@michaelddeanllc.com;

He is on the list in the domain list but it considers it a realy issue

Thanks
Bob