Ubuntu Servers :: Getting Sieve To Work With Dovecot On 10.04?
Sep 7, 2010
I'm having a problem getting sieve to work with dovecot on 10.04. Even weirder, when I try to compile the following script with sievec
Code:
require ["setflag","fileinto"];
if header :contains "X-DSPAM-Result" "Spam" {
setflag "\Seen";
fileinto "Junk";
[Code]...
edit: found the mistake, should've required imap4flags instead of setflag.
View 1 Replies
ADVERTISEMENT
Aug 16, 2015
Delivery via docevot lda works for the virtual users.
Sending a mail that should be redirected to a folder instead of going to the INBOX does not work
Code: Select allecho "lala" | mail -s beispiel julius@myvirtualdomain
#/home/vmail/julius@myvirtualdomain/.dovecot.sieve
Code: Select all
require "fileinto";
if header :contains "subject" ["beispiel"] {
fileinto "beispielordner";
} else {
# The rest goes into INBOX
# default is "implicit keep", we do it explicitly here
keep;
}
I can see no errors in dovecot.log, -info.log, -debug.log but also no sieve messages
Code:
Select all
#/etc/dovecot/conf.d/15-lda.conf
protocol lda {
postmaster_address = julius@localhost
mail_plugins = $mail_plugins sieve
[Code] .....
View 1 Replies
View Related
Jan 15, 2010
I've got the problem that Dovecot won't show me my mail!
I've set up my mail_location to maildir:~/Maildir/, and set up a namespace
Code:
namespace private {
separator = .
prefix = INBOX.
inbox = no
[Code]....
I am able to copy mails from another account to the account on my server. But I've got no clue of where dovecot stores them. Not in /var/mail I've checked..
This happened after I re-installed with a 9.10 Ubuntu Server disc.
View 1 Replies
View Related
Jul 20, 2010
I have a problem connecting my roundcube to my imap server.
So, here it is : I have a working imap server (dovecot), installed following the guide provided here [url]. I can successfully telnet it, or ssl it (from localhost or from another ip of my local network). I can even use my thunderbird from another local computer. Well, for me it is working fine.
Then I installed roundcube (0.3.1-3) with synaptic, but I cannot connect to my localhost imap server.
I have set auth as plain ($rcmail_config['imap_auth_type'] = 'plain';)
Looking in my dovecot log, i see two different behaviour. One is when it seems correct, and roundcube log in imap server, but is disconnect immediately :
Second is when server is refusing the password :
I am working with a plain text passwd, with no encryption at all. Does roundcube encrypt the password I type before to sent it to imap ?
I cannot explain the first behaviour, when roundcube sometimes managed to connect but disconnect immediately. I manage ONE time to reach my mailboxes, but i don't know how, and this never happens again.
View 1 Replies
View Related
Nov 9, 2010
I have tried to find solution in existing posts but could not specifically find any with my kind of issues and hence a new post on oft repeated subject !! -- and apologies for a long long post here.Here is where I am ..On a AMD 64bit machine - I have ubuntu 10.10 desktop installed. I want this development machine to support virtual mailboxes so that I can use them from multiple apps and create real life deployment situations.I installed postfix + dovecot following the tutorials available here and current state is - I can send mails using telnet sessions and I see that the mail files are getting created in /Maildir form as I have directed in the conf files. I have configured Thunderbird mail client as well.
Issue #1: Mail sending works from Thunderbird but it always responds back with 'No mail on server' message when I try to receive mails. SMTP is configured with STARTTLS and POP3 with None (i.e. plain text password)Issue #2: Also, while going thru conf, logs and during testing - I found a few things which defer in this installation for authentication. I have given the session transcripts here.Issue #3: That being major issue - I also want to configure my virtual users to use TB client to access their mails - I did not find any tutorials or pointers towards that in my search for past few days. If I send mails to a non-Unix virtual user - the mail gets stored into /home/vmail/<domain>/<user>/new directory.Here are the conf files.main.cf for postfix
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
[code]....
View 1 Replies
View Related
Jan 17, 2011
Dovecot is setup to run on each startup but each time I restart my system, I find that it is not running(killed), when I check my logs it says time moved backwards for x seconds. Essentially, I'm having this problem, [url] what is the solution in ubuntu so that dovecot would not be killed on startup? currently I have to put /etc/init.d/dovecot restart into rc.local to restart it again...
View 1 Replies
View Related
Feb 14, 2011
I have made some little mail server (postvix+dovecot+fetchmail) at ubuntu. The mail serve is using system accounts. Now I want to creat Shared mailbox. I have found some information, but I can't understand it correctly. Can U view the below information and correct me.
I have several accounts: Oleg (my account - /home/oleg/Maildir/); pankov (/home/pankov/Maildir); cv ( /home/cv/Maildir/). I want to share the mailbox of CV user:
I have add the follwoing information to dovecot.conf:
# You need to create also a private namespace:
namespace private {
separator = /
prefix =
[Code].....
View 1 Replies
View Related
Mar 10, 2011
I do not know why I could send email outside but not receive. I use relay to my ISP that port 25 is blocked by my ISP. What can I doing with configuration when it should be works to receive mail? Okay, I have sent a test e-mail between localhost and it works. I can send from mailserver to my gmail without problem. So why I cannot receive email from gmail?
View 2 Replies
View Related
Jun 9, 2011
Today I'm trying to configure Postfix+Dovecot to use Samba4's LDAP database for authorisation and mail delivery. As I can see from /var/log/mail.log, Dovecot tries to bind to LDAP right after reboot , but fails:
Code:
pdcadmin@PDC1:~$ cat /var/log/mail.log
Jun 9 13:06:46 PDC1 dovecot: auth(default): ldap_bind
Jun 9 13:06:46 PDC1 dovecot: auth(default): ldap_simple_bind
[code].....
Believing this to be a sign of succesfull bind, I couldn't understand the reason behind it. Why do I need to restart or reload dovecot service to make it work (though it fails on the next step with "dict_ldap_lookup: Search error 1: Operations error" and "451 4.3.0 ... Temporary lookup failure")?
View 2 Replies
View Related
Jul 1, 2011
i have two ubuntu server the first run on ubuntu 9.10 = ok the second run on 10.10 maverick a have the problem that dovecot service stop automatically
View 1 Replies
View Related
Jan 28, 2010
I used fedora12 builded mail server uning sendmail and dovecot at my home, when I at home everything are works fine, no matter I sent email to hotmail, or hotmail sent to my mail server, but I got the problem that I can't access my home server when I at office, the error messages as below:
#telnet xxx.xxx.xxx.xxx 110
-ERR Cannot connect to POP server xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx:110), connect error 10061
#telnet xxx.xxx.xxx.xxx 25
[code]....
P.S there is no firewall between the my office and home
View 3 Replies
View Related
Apr 12, 2011
I have a very basic install of dovecot and postfix on the latest version of Ubuntu server. This is an internal only email server with internal only DNS. I can send email via clients and check said emails via the command line when logged in as the appropriate user. I cannot for the life of me check said emails via SquirrelMail on the server nor using IMAP clients. I have no idea where to look and I can't find a basic tutorial for the life of me. Where should I start?
View 9 Replies
View Related
May 2, 2011
I have a system running at home that uses Getmail to retrieve mail from my ISP's pop server. Dovecot then offers that mail over IMAPs to my desktops running Thunderbird.
The reason I have resorted to using Getmail is because I don't have a static IP (from my ISP) for my server, and thus this server doesn't act as an MX.
I have implemented Spamassassin in my Getmail script as described here.
From further research, I understand that in order to fully utilize Spamassassin 's potential, I have to resort to training it with SA learn.
Currently I still receive spam messages, but 50% of spam is marked as ****SPAM****, and the other half is not marked at all.
My question is this:
1) How do I get getmail to move messages marked as spam by spamassasin to be moved to a JUNK folder within my mailbox automatically?
2) I thought of creating a folder where my users can move messages they deem to be spam, and set up a crontab script to invoke salearn regularly on this folder to get the bayes engine to learn from it. Is this the correct way of doing it?
View 6 Replies
View Related
Jul 13, 2009
This happened during the bump from 1.1.4 to 1.2.0 (in F11), but now nobody can login into the mail server.
The strace of dovecot-auth says that it sends messages over an AF_NETLINK socket before failing. Why in the world would it do that?
View 2 Replies
View Related
Jul 5, 2011
Does anyone know of a way to configure dovecot for Auto-Reply Out of Office messages? Preferably one that clients can do on their own from their PCs.
View 1 Replies
View Related
Jul 11, 2011
recently I've replaced an old windows mailserver with a new one running 10.04 LTS (postfix - dovecot) but I got a strange problem with MS Outlook 2003 and 2007 on Win XP. These MUAs receive new messages extremely slow. Some of messages are received repeatedly. All I found in /var/log/mail.log is login and then (after 1 minute) disconnection for inactivity. No errors.:
Jul 11 10:36:51 dovecot: pop3-login: Login: user=(user@domain.org), method=NTLM, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx Jul 11 10:37:07 dovecot: POP3(user@domain.org): Disconnected for inactivity top=0/0, retr=1/5434, del=0/12, size=954793 nothing more. And outlooks wait and wait reporting "receiving". What they are waiting for? Is there something dovecot should send them?
At the same time Mozilla Thunderbird and Opera Mail on the same network with the same setup don't have any problems. I just don't get it. Does anyone know what to do to get it work please?
[Code]...
View 4 Replies
View Related
Oct 23, 2010
Last time I rebooted, sendmail & dovecot started from init and everything worked. I needed to reboot this weekend [new videocard] & yum had given me a new kernel etc.Now.2.6.34.7-56.fc13.i686 running Thunderbird - with 2 accounts chuck@otherserver.com and chuck@localhost.
The "otherserver" account works fine. Localhost won't pull in the mail.
/var/log/maillog says
dovecot: pop3-login: Login: user=<chuck>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: POP3(chuck): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
[code]....
View 2 Replies
View Related
Jun 13, 2011
We are planning on rolling out a mail service that will backend a webmail/groupware interface using postfix and dovecot, and we are trying to nail down an architecture for the system. I was hoping I could get some opinions from you good people on the different models we have come up with, and any improvements. To preface this discussion, we use NFS as the backend storage for mail so that clusters of mail servers can be created.
One possible solution is to separate three services, inbound email, outbound email, and message retrieval onto separate servers. We currently run a mail system with 65K users in this manner and it works, but there is a lot of wasted cpu on the inbound and outbound mail servers. where the dovecot servers are doing most of the work.
Another solution would be to combine the dovecot and inbound postfix servers to run dovecot as the local transport agent for postfix with LMTP, giving us quota and sieve capability.
The last solution is to run all three services on the same machine, giving us a single server image that we can clone on demand when we need to add more performance.
The single server, all three services, solution seems to be the simplest to build and manage, but putting all your eggs in one basket like that concerns us. What if there is a sudden influx of mail from our filtering platform, and it slows down all the other processes? What if the NFS server becomes disconnected from the network and the load average on each server skyrockets killing the ability for outbound mail to flow (where a separate outbound mail server would continue running despite this issue)?
View 10 Replies
View Related
May 21, 2009
I have an email server configured with postfix, dovecot, saslauthd and squirrelmail. It works great. In fact I'd even say it works too well: in squirrelmail, I can configure any sender address and my server will accept it. Message will be sent, wether the sender's address is [URL] or [URL]. Is there any way of limiting it in such way that only [URL] is accepted as sender's address?
View 6 Replies
View Related
Apr 28, 2011
I am new to to dovecot and would like some help, so please be kind.I have one user that can send mail but not read it either by pop3 or imap.I am running Dovecot 2.0.11 on Fedora 14.
View 2 Replies
View Related
Jul 14, 2011
I installed Postfix, Roundcube (webmail) and Dovecot. Postfix stores the e-mails in maildirs located at /home/postfix/maildir/[user]@[domain]. Now I set the mail_location configuration option in Dovecot to: mail_location = maildir:/home/postfix/maildir/%u@%d The problem I run into is logging in with [user]@[domain]. Right now I can only login with [user] (without @[domain]), which makes the mail_location invalid (no e-mails can be found). How could I configure dovecot to use the domain name as well as part of the username?
View 8 Replies
View Related
Feb 15, 2010
make Dovecot automatically archive the servers copy of the email if/when a client connects to it using POP? I am trying to achieve the the same thing as Gmail's feature.
View 1 Replies
View Related
Apr 28, 2009
I have recently set up a mail server running dovecot and everything is fine. However, I now want to retrieve the contents of 2 pop mail boxes and insert them into the IMAP structure under dovecot. I need to check for spam and sort them according to sender and recipient.
What is my best software option for retrieving the mail?
View 3 Replies
View Related
Aug 15, 2010
writing a program to find the prime numbers.i came to know that sieve of atkin is the most efficient algo to find the prime numbers.i am finding difficult to understand it
View 3 Replies
View Related
May 15, 2010
the mail server itself will receive mail, that part works. i'm using dovecot imap to grab my mail, that works. but if i try to send mail from my iphone using an account on that server it doesnt work. this is what i see in syslog: May 15 07:14:52 coax postfix/smtpd[1432]: NOQUEUE: reject: RCPT from mobile-166-137-139-003.mycingular.net[166.137.139.3]: 450 4.1.8 <eppo@customconnexions.com>: Sender address rejected: Domain not found; from=<eppo@customconnexions.com> to=<xxxxxxx@aol.com> proto=ESMTP helo=<[10.25.15.47]>
View 1 Replies
View Related
Mar 20, 2010
I am running a quad core centos 5.4 box that is having a strange problem with dovecot. The administration panel is able to send emails through dovecot but not any of the user accounts (ie with webmail). I've done a bit of research with what could be wrong but haven't had any luck so far I am also having a weird problem with apache: on a c++/php bittorrent application I was going to be running on a subdomain of my main site I get a 500 error every time I try to log in. The only way to get rid of the 500 error is to clear the chache (so its horribly broken somehow). The error generated in the log whenever I try to log in is that "ffmpeg is already loaded" (which I am running on the main site and is critical). Is there a way of either repairing my apache install or excluding ffmpeg on the subdomain in the conf or something?
View 2 Replies
View Related
Sep 18, 2015
The first filter does not work, the second does...why?
Code: Select allelsif allof (
body :contains ["some text", "Some Text"],
address :domain :is "From" "amazon.de"
)
{
redirect "someemail@gmx.net";
}
elsif allof (
body :contains ["some text", "Some Text"],
address :domain :is "From" "yellowstone.bohlsen.lan"
)
{
redirect "someemail@gmx.net";
}
I even saved the amazon.de email from thunderbird as .eml and used it as a testmail to check the second filter
Code: Select allcat /tmp/amazon-main | mail mylocalusername@yellowstone.bohlsen.lan
that worked without problems.
the amazon email address that is sending me mails is:
Code: Select allbestellbestaetigung@amazon.de
#hostname -f
yellowstone.bohlsen.lan
View 2 Replies
View Related
Apr 27, 2010
I tried searching the posts and have come up empty handed. I need to find an email I sent to myself (actually a forward of several other emails) that did not get delivered. Otherwise I need the original emails themselves. I have been using pop with dovecot on my ubuntu server Jaunty machine. I searched the mail logs and found that the reason the message might not have been delivered could be because my permissions were not set to administrator for that user. I changed the permissions and still nothing came back.
I deleted the client mail account on the machine I used that had the messages but I was hoping they might still be somewhere on the server. Any ideas?
View 2 Replies
View Related
Jun 7, 2009
I am trying to setup sendmail on a fc10 box with dovecot running imap. I have everything configured and running on the server. For example, when I run "echo 'test' | mail -s test user@mydomain.com" or even to someuser@gmail.com, the mail goes through just fine. I can then reply from both of those accounts back to the server, no problem.
Relaying denied Cannot send mail. The SMTP server does not recognize any of the authentication methods supported by Entourage. Try changing the SMTP authentication options in Account settings or contact your network administrator.
View 10 Replies
View Related
Feb 6, 2011
I'm not to sure this is the place I should post this, but couldn't find any place for it to fit. So here is the deal..I am running 10.10 with the standard LAMP setup. I am running a drupal 7 site no problems. What I need to do is run a multi site sub directory. (domain.com/newsite). So far the best I can do is get a directory index of the second site (domain.com/newsite), but cant run the installer. (I did the symbolic link to the doc root of the drupal install.)If I type in the url domain.com/newsite/install.php I get not found. I placed an index.html test page and it renders fine. I think I'm close but just not there yet.
Any ideas from anyone? I can get Sobdomains to work fine on a test mache, but sadly I need the domain/site to work due to lack of DNS support at the moment. I tried to get some info from the drupal forum, but everything always points to subdomin setups. I also posted over there, but it seems like the forums have very little support and are a bit on the slow side.
[Code]...
View 9 Replies
View Related