Auteur Topic: Catch-all  (gelezen 6661 keer)

Offline _-_Robin_-_

  • Bedankjes
  • -Gegeven: 4
  • -Ontvangen: 6
  • Berichten: 90
Catch-all
« Gepost op: 30 juli 2013, 21:30:46 »
Goeiedag,

Ik ben op mijn synology een catch all script ingevoerd:

If you have your own domain running and want to be able
to use any alias you want in your e-mail adresses (*@mydomainrunningatthesynology.com)
and forward it to 1 / your account, continue with the following steps

Since 4.1 the MailServer Package is setup different, add /update it using the Package Center.

First of all install the package Config File Editor (Package Center)
Settings / Package Sources / name merty Location: http://packages.mertymade.com
Refresh Available and install.

Open Config File Editor, choose the file on the bottom, Config File Editor

add the following lines:
/var/packages/MailServer/target/etc/template/main.template , mailserver_main_tpl
/volume1/@appstore/MailServer/etc/virtual, MailServer_virt

--Save--

in the listing your added lines should appear, if not close and reopen the editor.

open MailServer_main_tpl

add the following line: ( after adding pres return/next line )

virtual_alias_maps = hash:/volume1/@appstore/MailServer/etc/virtual

--Save--


open MailServer_virt

enter your domain(s) + the local synology user to receive all mail sent to this domain:

@mydomainrunningatthesynology.com yourlocalsynologyloginname

--Save--

 

Reboot your mailserver, at reboot content from the template is copied to the active mailserver

config

Then some steps not with the webinterface but from the command-line

login using ssh/telnet (be sure it is actvated on the Synology (Control Panel / Terminal)

using a mac, open terminal, then

ssh root@x.x.x.x (local ip-adress of synology), enter your password (equal to admin)

enter the next line to configure postfix: (without the ")

"/volume1/@appstore/MailServer/sbin/postmap /volume1/@appstore/MailServer/etc/virtual"

then stop and start postfix:
/volume1/@appstore/MailServer/sbin/postfix stop
/volume1/@appstore/MailServer/sbin/postfix start

--exit--

Then test your config if you are receiving all mail adressen to your domain.


Be Aware, Since 4.1 there are more parts to configure using the web interface

Enabling or disabling the SPAM filter also edits the mailserver config!
if you have do this be sure to enter the last three ssh/telnet commands again!!

Hierbij een catch-all script gevonden op internet hiermee laat je mail binnen komen waarvan geen allias bekend is hebt u hulp nodig kunt u me een prive bericht sturen.


Robin
  • Mijn Synology: 218+

Offline thecell

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 502
  • -Ontvangen: 212
  • Berichten: 1.370
Re: Catch-all
« Reactie #1 Gepost op: 31 juli 2013, 19:06:38 »

Hierbij een catch-all script gevonden op internet hiermee laat je mail binnen komen waarvan geen allias bekend is

Bedankt voor deze tip.  8)

Het is netjes om de bron te vermelden. Bij deze.
  • Mijn Synology: DS415+
Geeft iemand een nuttig antwoord? Gebruik de "Bedankt!" knop.


 

Catch all voor mailstation

Gestart door wpeereboomBoard Synology DSM 5.1 en eerder

Reacties: 0
Gelezen: 2200
Laatste bericht 01 februari 2009, 11:12:00
door wpeereboom
VERPLAATST: alle mail verwerken - catchall / catch-all aanmaken

Gestart door BrioletBoard Synology DSM 6.0

Reacties: 0
Gelezen: 1325
Laatste bericht 02 mei 2016, 16:21:08
door Briolet
catch-all via pop3 ophalen, en distibueren naar verschillende accounts

Gestart door BalBoard Mail Station

Reacties: 7
Gelezen: 2870
Laatste bericht 01 september 2013, 13:33:26
door _-_Robin_-_
[HANDLEIDING] Catch-all met Zarafa

Gestart door raptileBoard Zarafa

Reacties: 12
Gelezen: 12156
Laatste bericht 17 januari 2013, 06:31:09
door Noah
alle mail verwerken - catchall / catch-all aanmaken

Gestart door harmhBoard Mail mods

Reacties: 7
Gelezen: 10525
Laatste bericht 03 mei 2016, 21:09:43
door Robert Koopman