Hello
when you manually add a domain to morercpthosts
simply run /var/qmail/bin/qmail-newmrh
If you use graylisting you can add this :
mkdir /var/spamdyke/graylist/domain_name
chown -R vpopmail:vchkpw /var/spamdyke/graylist/domain_name
Regards
-P
On 1/4/23 22:06, Andreas wrote:
No, no need to rebuild cdb nor restart the server when adding domains
or aliasdomains
at least when you add them through ~vpopmail/bin/adddomain ...
Andreas
Am 04.01.23 um 18:38 schrieb Peter Peltonen:
Thanks Jeff for the info.
Do you know if qmailctl cdb / restart is needed when adding info to
rcpthosts, morercpthosts or virtualdomains?
Best,
Peter
On Wed, Jan 4, 2023 at 7:24 PM Jeff Koch <jeffk...@intersessions.com>
wrote:
Peter - I don't think it matters whether the domain is added to
rcpthosts or morercpthosts - the toaster will generally add
additional domains to morercpthosts but it should work fine
either way.
Jeff
On 1/4/2023 12:18 PM, Peter Peltonen wrote:
Okay I tested this setup and it seems to work, mail gets through
and I get spf=pass for it in Gmail.
The only difference to the procedure I posted earlier were:
- needed to add srs.xyz.com <http://srs.xyz.com/> to
morercpthosts and not to rcpthosts as I have more than 50
domains hosted
- at the end I ran qmailctl cdb and qmailctl restart, not sure
if needed
Best,
Peter
On Tue, Jan 3, 2023 at 11:22 AM Peter Peltonen
<peter.pelto...@gmail.com> wrote:
Googling "srs qmailtoaster" gave me this link:
http://wiki.qmailtoaster.net/index.php/Configuring_SRS_on_Toaster_1.03-1.3.13%2B
which does not work, it seems qmailtoaster.com
<http://qmailtoaster.com> should be used instead of .net
Okay now we have the instructions I guess I could try to
test it, I have a spare registered domain I could test with.
Does this sound ok procedure:
* setup domain xyz.com <http://xyz.com> with SPF with hard
fail (-all) and the toaster as the MX
* send email from xyz.com <http://xyz.com> to GMail
through our toaster: should pass ok
* setup forwarding from xyz.com <http://xyz.com> to GMail
* send email to xyz.com <http://xyz.com>: should fail
because GMail does not accept
* setup SRS at toaster:
1. create NS record for domain srs.xyz.com
<http://srs.xyz.com> with MX pointing to our toaster
2. echo srs.xyz.com <http://srs.xyz.com> >
/var/qmail/control/srs_domain
3. mkpasswd -l 32 > /var/qmail/control/srs_secrets
4. mkpasswd -l 32 >> /var/qmail/control/srs_secrets
5. (repeat mkpasswd as many times you need, not sure how
many is really needed?)
6. echo 7 > /var/qmail/control/srs_maxage
7. echo 8 > /var/qmail/control/srs_hashlength
8. qmailctl restart
9. echo srs.xyz.com <http://srs.xyz.com> >>
/var/qmail/control/rcpthosts
10. echo srs.xyz.com:srs >> /var/qmail/control/virtualdomains
11. echo "| /var/qmail/bin/srsfilter" >
/var/qmail/alias/.qmail-srs-default
(ownershp of other alias files on my server are user
alias group nofiles, so probably this should be changed
to the same?)
* send email to xyz.com <http://xyz.com>: should pass ok
What do you think Angus?
Best,
Peter
On Mon, Jan 2, 2023 at 7:52 PM Angus McIntyre
<an...@pobox.com> wrote:
Peter Peltonen wrote on 1/2/23 11:57 AM:
> Some of my toaster users have their email forwarded to
Gmail ... Some
> googling around tells me that SRS could be the
solution for this
> problem.
>
> There is info on this at Qmailtoaster Wiki, but the
site seems to be
> somehow broken.
Which page are you looking at, and in what way does it
seem broken?
http://wiki.qmailtoaster.com/index.php/Configuring_SRS_on_Toaster_1.03-1.3.13%2B
currently loads fine for me, and looks as if it has good
information.
I should stress that I haven't tried this yet. I didn't
know about SRS
until you posted this (thank you!) but I'm having the
same issue as you
and it sounds as if this might be just what I need.
Would anyone who's actually implemented this care to
comment?
Angus
---------------------------------------------------------------------
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com