This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Email not being forwarded
#1
Email not being forwarded
Email is not being forwarded to internal or external domains/accounts. Doesn't matter whether Keep Original Message is checked or not.

Roundcube Webmail 1.0.4 (installed with Sentora)
includes managesieve Plugin 7.2

Other applications installed:
ufw firewall
elfilemanager
opendkim
let's encrypt
sentastico

Is this a configuration problem somewhere?

TIA
Reply
Thanks given by:
#2
RE: Email not being forwarded
Do you have something related to this in the logs ?
Reply
Thanks given by:
#3
RE: Email not being forwarded
(10-09-2017, 11:26 PM)zanga Wrote: Do you have something related to this in the logs ?

apache2/error.log -- no
sentora.log -- no
sentora-error.log -- no

I don't know where else to look.
Reply
Thanks given by:
#4
RE: Email not being forwarded
Try also /var/log/maillog dovecot
Reply
Thanks given by:
#5
RE: Email not being forwarded
(10-12-2017, 05:07 AM)zanga Wrote: Try also /var/log/maillog dovecot

from /var/log/dovecot-debug.log to an address that should be forwarded:
2017-10-11 17:24:53imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
2017-10-11 17:24:53imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
2017-10-11 17:24:53imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
2017-10-11 17:24:53imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_trash_plugin.so
2017-10-11 17:24:53imap: Debug: Added userdb setting: mail=maildir:/var/sentora/vmail/rstmarine.com/yp/
2017-10-11 17:24:53imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=209715200
2017-10-11 17:24:53imap(yp@rstmarine.com): Debug: Effective uid=999, gid=8, home=/var/sentora/vmail/rstmarine.com/yp/
2017-10-11 17:24:53imap(yp@rstmarine.com): Debug: Quota root: name=User quota backend=maildir args=
2017-10-11 17:24:53imap(yp@rstmarine.com): Debug: Quota rule: root=User quota mailbox=* bytes=209715200 messages=0
2017-10-11 17:24:53imap(yp@rstmarine.com): Debug: Quota grace: root=User quota bytes=20971520 (10%)
2017-10-11 17:24:53imap(yp@rstmarine.com): Debug: maildir++: root=/var/sentora/vmail/rstmarine.com/yp, index=, indexpvt=, control=, inbox=/var/sentora/vmail/rstmarine.com/yp, alt=
2017-10-11 17:24:53imap(yp@rstmarine.com): Debug: trash plugin: Added 'Spam' with priority 1
2017-10-11 17:24:53imap(yp@rstmarine.com): Debug: trash plugin: Added 'Trash' with priority 2
2017-10-11 17:24:53imap(yp@rstmarine.com): Debug: trash plugin: Added 'Junk' with priority 3
------------------------

from /var/log/mail.log:
Oct 10 17:12:50 rstunlimited postfix/smtpd[30206]: connect from dnvrco-outbound-snat.email.rr.com[107.14.73.228]
Oct 10 17:12:50 rstunlimited postfix/smtpd[30206]: D94A11403A8: client=dnvrco-outbound-snat.email.rr.com[107.14.73.228]
Oct 10 17:12:50 rstunlimited postfix/cleanup[30338]: D94A11403A8: message-id=<>
Oct 10 17:12:51 rstunlimited postfix/qmgr[3422]: D94A11403A8: from=<rst@russthomas.net>, size=2231, nrcpt=1 (queue active)
Oct 10 17:12:51 rstunlimited postfix/pipe[30310]: D94A11403A8: to=<yp@rstmarine.com>, relay=dovecot, delay=0.26, delays=0.17/0/0/0.08, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct 10 17:12:51 rstunlimited postfix/qmgr[3422]: D94A11403A8: removed
----------------------

Does the above mean anything to you?
Reply
Thanks given by:
#6
RE: Email not being forwarded
I'm not exactly sure how the sentora's forwarding form is designed to work but  for postfix itself forwarding is being done thru virtual maps.Now postfix is relaying thru dovecot, which means a dovecot.sieve should handle the forwarding. Not sure at which step is the sieve file suppose to be created but you have 2 options, eider generate it using roundcube, or manually create it.

Code:
require ["copy"];
if address :is "to" "user@example.net"
{
   redirect :copy "other@example.net";
}
Reply
Thanks given by:
#7
RE: Email not being forwarded
(10-13-2017, 07:28 PM)zanga Wrote: I'm not exactly sure how the sentora's forwarding form is designed to work but  for postfix itself forwarding is being done thru virtual maps.Now postfix is relaying thru dovecot, which means a dovecot.sieve should handle the forwarding. Not sure at which step is the sieve file suppose to be created but you have 2 options, eider generate it using roundcube, or manually create it.

Code:
require ["copy"];
if address :is "to" "user@example.net"
{
   redirect :copy "other@example.net";
}

Where does the above code go; into which file? Is the require line supposed to be the require() function?
Reply
Thanks given by:
#8
RE: Email not being forwarded
You need to touch a file(dovecot.sieve) in the mailbox directory where you need to have the forward.

The mailboxes can be found in /var/sentora/vmail/[domain.tld]/

Just update the code with the correct email addresses, also make sure you preserve the same permissions and ownership. 
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Email has suddenly stopped coming through rsthomas 4 6 ,057 10-12-2022, 09:29 PM
Last Post: rsthomas
can not send email - SMTP error on roundcube wolvepy 9 31 ,758 01-03-2020, 08:37 AM
Last Post: Telepuzik
Cannot reuse previously deleted email address rsthomas 16 42 ,403 09-04-2019, 07:58 PM
Last Post: prasanna8519

Forum Jump:


Users browsing this thread: 1 Guest(s)