Windows Installation: configuration of mailserver
Moderator: moderator
Windows Installation: configuration of mailserver
I am a home user and want to use OpenEMM for sending out newsletters to mailinglists. I think OpenEMM would be the ideal solution for me!
My problem is the following:
I am using Windows, my PC is behind a WLAN router and has a fix IP address in my home network. The router is connected to an ADSL modem. I have smtp access to my Internet provider.
I have installed OpenEMM for Windows as described in the installation text file. I can start the OpenEMM front end, add recipients, mailing lists, etc. I can also send a mailing to a mailing list and OpenEMM will show me that it has generated and sent the email. However the email is never actually sent out. This is not a surprise to me since i have not found a possibility to configure the email connection OpenEMM uses.
Can anyone tell me how i can configure OpenEMM to send emails out via the smtp connection i have to my provider? I know that OpenEMM uses sendmail under Linux but what do i need to do under Windows? There is no explanation in the Windows installation document...
Thanks for any help/experiences...
Markus
My problem is the following:
I am using Windows, my PC is behind a WLAN router and has a fix IP address in my home network. The router is connected to an ADSL modem. I have smtp access to my Internet provider.
I have installed OpenEMM for Windows as described in the installation text file. I can start the OpenEMM front end, add recipients, mailing lists, etc. I can also send a mailing to a mailing list and OpenEMM will show me that it has generated and sent the email. However the email is never actually sent out. This is not a surprise to me since i have not found a possibility to configure the email connection OpenEMM uses.
Can anyone tell me how i can configure OpenEMM to send emails out via the smtp connection i have to my provider? I know that OpenEMM uses sendmail under Linux but what do i need to do under Windows? There is no explanation in the Windows installation document...
Thanks for any help/experiences...
Markus
In the pure Windows version, there is, in theory, no configuration necessary for mail sending. The drawback is, you lose the flexibility that you enjoy using sendmail.
All in all, it should send mail at all, if not, look in the directory \OpenEMM\var\spool\ADMIN and/or ...\QUEUE for spool files. If there are spool files, then consult the logfile \OpenEMM\var\log\*-semu.log (the one for the current day) for further informations.
-- ud
All in all, it should send mail at all, if not, look in the directory \OpenEMM\var\spool\ADMIN and/or ...\QUEUE for spool files. If there are spool files, then consult the logfile \OpenEMM\var\log\*-semu.log (the one for the current day) for further informations.
-- ud
-
- Posts: 12
- Joined: Wed Jun 20, 2007 4:19 am
-
- Posts: 3
- Joined: Wed Jul 25, 2007 12:26 am
- Location: Pinehurst, NC
- Contact:
Configuring OpenEMM on windows
I am having a similar issue.
Only 20% of my email is being delivered.
Our address in on a spam blacklist because it is a DSL
(even though we have a static IP)
I am trying to go through the code now to see how to rewrite it to use a Smart Host.
I will let you know.
Only 20% of my email is being delivered.
Our address in on a spam blacklist because it is a DSL
(even though we have a static IP)
I am trying to go through the code now to see how to rewrite it to use a Smart Host.
I will let you know.
Brandon Livengood
IT Director
Avestra Golf Management
IT Director
Avestra Golf Management
If it is enough for you to just hard code the smart relay host you can edit bin/scripts/semu.py and replace the line (~ line number 409):
with
(replacing my.smart.relay.com with the proper domain, of course). Be sure to keep the right indention!
-- ud
Code: Select all
relay = Spool.relays.getRelay (domain)
Code: Select all
relay = 'my.mart.relay.com'
-- ud
-
- Posts: 3
- Joined: Wed Jul 25, 2007 12:26 am
- Location: Pinehurst, NC
- Contact:
Smart host on windows
I appreciate the response.
It worked for some of the domains, but if the semu.py was able to find a valid mx host, it bypassed the smarthost.
I am looking for a way to send ALL email through the host.
(temporarily I just edited the host file and put in 60 entries to cover the MX records that are used by the domains of our members, it is fairly static, so there should not be any problem.)
But I would most definately like to expand the use of OpenEMM.
I understand that I can do this with the Linux version, but my comfort zone is windows, and my clients does not know linux.
Thanks!
It worked for some of the domains, but if the semu.py was able to find a valid mx host, it bypassed the smarthost.
I am looking for a way to send ALL email through the host.
(temporarily I just edited the host file and put in 60 entries to cover the MX records that are used by the domains of our members, it is fairly static, so there should not be any problem.)
But I would most definately like to expand the use of OpenEMM.
I understand that I can do this with the Linux version, but my comfort zone is windows, and my clients does not know linux.
Thanks!
Brandon Livengood
IT Director
Avestra Golf Management
IT Director
Avestra Golf Management
This code change should do the trick, at least for new mails. If you had already mails in your queue, the relay is cached in the control file. To work around this you either edit these control files and remove the cached entry (the line starting with an X) or you replace the whole block:
by
Be careful by keeping the proper indention.
-- ud
Code: Select all
try:
relay = self.qmap['X'][1:]
except KeyError:
relay = Spool.relays.getRelay (domain)
self.qmap['X'] = 'X%s' % relay
self.qfmod = True
Code: Select all
relay = 'my.mart.relay.com'
-- ud