doc:appunti:linux:sa:roundcube
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:roundcube [2017/03/06 07:26] – [Personalizzazioni] niccolo | doc:appunti:linux:sa:roundcube [2022/01/28 09:36] (current) – [Debug] niccolo | ||
---|---|---|---|
Line 44: | Line 44: | ||
Roundcube scrive i suoi log in **''/ | Roundcube scrive i suoi log in **''/ | ||
- | L' | + | L' |
+ | |||
+ | Una opzione utile da attivare, disabilitata per default in Debian, è la registrazione dei login: | ||
+ | |||
+ | <code php> | ||
+ | // Log successful/ | ||
+ | $config[' | ||
+ | </ | ||
===== Sqlite ===== | ===== Sqlite ===== | ||
Line 152: | Line 159: | ||
$rcmail_config[' | $rcmail_config[' | ||
</ | </ | ||
- | ===== Virtual users ed alias ===== | + | ===== Virtual users ed email alias ===== |
- | È possibile fare login con l' | + | **ATTENZIONE**: |
- | Se il parametro | + | Al primo **login nella webmail** viene creata automaticamente una riga nella tabella |
- | Altrimenti RoundCube non conosce l' | + | Esiste il plugin **virtuser_file** che tenta il lookup del nome di login in un file, cercando una corrispondenza //indirizzo email// => //username Unix//; se lo username |
- | Al momento della creazione dell' | + | Si installa il pacchetto |
- | Conviene creare anche una identità nella tabella **identities** per associare l'indirizzo email al nome esteso | + | <code php> |
+ | $config['plugins' | ||
+ | | ||
+ | ); | ||
+ | // Virtual users mapping file: email_address >= username | ||
+ | $config['virtuser_file'] = '/ | ||
+ | </ | ||
+ | Ovviamente il file **/ | ||
+ | |||
+ | < | ||
+ | nome.cognome@dominio.it | ||
+ | </ | ||
+ | |||
+ | Sarebbe opportuno anche creare forzosamente una entry nella **tabella users** al momento della creazione di una casella di posta (utilizzando lo username Unix) e disabilitare la creazione automatica degli utenti da parte di Roundcube, basta aggiungere in **/ | ||
+ | |||
+ | <code php> | ||
+ | // Only registered users can use this service | ||
+ | $config[' | ||
+ | </ | ||
+ | |||
+ | Secondo questo criterio è opportuno creare anche un record nella **tabella identities** (collegato all' | ||
+ | |||
+ | Un' | ||
+ | |||
+ | <code php> | ||
+ | // Enables possibility to log in using email address from user identities | ||
+ | $config[' | ||
+ | </ | ||
===== Plugins ===== | ===== Plugins ===== | ||
Line 281: | Line 315: | ||
< | < | ||
</ | </ | ||
+ | |||
+ | ===== Plugin roundcube-vacation-2.x ===== | ||
+ | |||
+ | Vedere la pagina su **[[https:// | ||
+ | |||
+ | Creare la cartella **/ | ||
+ | |||
+ | < | ||
+ | ln -s / | ||
+ | </ | ||
+ | |||
+ | Attivare il plugin aggiungendolo all' | ||
+ | |||
+ | <code php> | ||
+ | $config[' | ||
+ | ' | ||
+ | ); | ||
+ | </ | ||
===== Filtri web-mail ===== | ===== Filtri web-mail ===== | ||
Line 302: | Line 354: | ||
===== Problema con la Disposition Notification ===== | ===== Problema con la Disposition Notification ===== | ||
- | Può esserci un problema con l' | + | Quando si crea un nuovo messaggio |
- | Gli errori si vedono in '' | + | < |
+ | Return-Receipt-To | ||
+ | Disposition-Notification-To | ||
+ | </file> | ||
- | < | + | Aprendo il messaggio con lo stesso Roundcube, viene chiesto se inviare la ricevuta: |
- | SMTP Error: SMTP error: Failed to add recipient ' | + | |
- | in / | + | |
- | (POST / | + | |
- | </ | + | |
+ | //Il mittente ha richiesto di ricevere una notifica dell' | ||
+ | |||
+ | Rispondendo in modo affermativo, | ||
+ | |||
+ | //Errore SMTP (554): Fallito l' | ||
+ | |||
+ | Secondo l' | ||
+ | |||
+ | //The From field of the message header of the MDN MUST contain the address of the person for whom the message disposition notification is being issued. | ||
+ | The envelope sender address (i.e., SMTP MAIL FROM) of the MDN MUST be null (<>), specifying that no Delivery Status Notification messages or other messages indicating successful or unsuccessful delivery are to be sent in response to an MDN.// | ||
+ | |||
+ | Purtroppo in alcuni casi il server SMTP potrebbe rifiutare un messaggio composto in quel modo. Ad esempio il server Postfix potrebbe loggare quanto segue: | ||
+ | |||
+ | < | ||
+ | postfix/ | ||
+ | postfix/ | ||
+ | 554 5.7.1 <>: Sender address rejected: | ||
+ | Access denied; from=<> | ||
+ | </ | ||
+ | |||
+ | Con **Roundcube 1.2.3** è possibile aggiungere un parametro a **/ | ||
+ | |||
+ | <code php> | ||
+ | // According to RFC2298, return receipt envelope sender address must be empty. | ||
+ | // but our SMTP server does not accept a " | ||
+ | $config[' | ||
+ | </ | ||
- | Il codice che rimuove il FROM è contenuto nel file **'' | + | Per versioni più vecchie di Roundcube l' |
<code php> | <code php> |
doc/appunti/linux/sa/roundcube.txt · Last modified: 2022/01/28 09:36 by niccolo