Ubuntu Servers :: Dovecot/Postfix Cannot Receive Email Via Client?
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?
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?
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?
I have been running an email server on a Red Hat 9 system for 5 years, and wanting to upgrade it to the latest Fedora OS. A few days ago it crashed. The server is running Fedora 11 (up-to-date). Clients are Fedora 11 and Windows XP machines using Thunderbird for accessing email. The server is running Postfix and Dovecot. Within my local network I can send and receive emails. I can also send email to addresses outside of my local network. The only problem is that I cannot receive any email from outside the local network. I cannot think of anything aside from my firewall (iptables) or postfix config that could be causing the problem.
Below are my iptables file, and the postfix main.cf changes that I have made. Iptables (the same file I was using on Red Hat version 9 with one minor deprecated syntax changed): *nat :PREROUTING ACCEPT [22:1894] :POSTROUTING ACCEPT [14:840] :OUTPUT ACCEPT [17:1356] -A POSTROUTING -o eth0 -j MASQUERADE COMMIT *filter .....
I want to setup an email client in order to send/receive emails, but since i am experiencing some issues with my ISP, i decided to setup an SMTP server with Postfix on my machine.The problem is that i can receive emails but i can not send.I read almost every thread in here refering to Postfix, but i could not find the problem on my configuration.So here it is..
Code: # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first
nstalled Postfix + Dovecot + Roundcube on a plain CentOS 5.5 box, let say on "site.com".I cant send or receive emails. When I try to telnet from both localhost and from the outside world, it can not reach the mail server.Testing itself on port 25:
I upgraded my home server from openSUSE 10.3 to 11.2. From that day, postfix rejects every email I try to receive by using fetchmail. The main.cf file was unchanged after the upgrade, postfix starts correctly, but it does not accepts emails! The errors I receive are:
Code: NOQUEUE: reject: RCPT from localhost[::1]: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname; from=<> to=<email@example.com> proto=SMTP helo=
I just set up a new email server on Debian Lenny. It's Postfix for MTA and Dovecot for IMAPS server. I use Dovecot for authentication. I have two UNIX users on the system (except root), one was added before the installation of Postfix and Dovecot. I'm not doing any virtual things, just plain UNIX users and one domain on a dynamic IP. The first user, "webadmin" can send and receive emails just fine through the server from my mail client.
Now I just added a new user, "scarleo", and it turns out I'm unable to send and receive emails with this account. If I log in (SSH) with scarleo I can use bash mail to send emails, works fine. scarleo can also receive emails from webadmin and can connect to Dovecot to read emails. However scarleo cannot send or receive to or from anyone outside the server from my mail client. I have restarted both Postfix and Dovecot after adding the user. Do I have to do something else to make this account work like webadmin's?
A few relevant lines from mail.log: (I've modded my real IP) Code: Dec 7 17:44:42 homer dovecot: imap-login: Login: user=<scarleo>, method=PLAIN, rip=126.96.36.199, lip=192.168.0.18, TLS Dec 7 17:44:42 homer dovecot: imap-login: Login: user=<webadmin>, method=PLAIN, rip=188.8.131.52, lip=192.168.0.18, TLS Dec 7 17:45:16 homer postfix/smtpd: connect from bredband.comhem.se[184.108.40.206] .....
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
I have an email setup where all of the emails from our email host is downloaded to our Linux server using Fetchmail. Then some of the incoming emails are sent to an MS exchange server (server1.domain.com) using Postfix. What i want to do is to send a copy of all emails to Another server (server2.domain.com) for redundancy.Can postfix be configured to send copies out to both?
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)?
Alright guys, I've looked over every thread regarding this issue on this forum, and many others; yet I cannot find out why my mail is being bounced without error from my external gmail account.From what I've seen, you guys need to start off by seeing my postconf -n
My ISP recently decided to kill outbound traffic on port 25 for some reason. Therefore, I change the SMTP port to 24, everything work fine so far i can send email to local domain and remote. However, i cannot receive Emails from remote domain. i try use online "mail server test services" and all i got is timeout.
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?
I'm running ubuntu 10.04 as a server that hosts a website and our email. I set up the email (Postfix) to work with Dovecot to enable IMAP and POP support.The mails can be retrieved and sent through this server with no hassles. We just have an issue that all emails sent via a client to any other address (be it on the same domain or not) will return to the inbox of that client.So basically, I open MS Outlook. Click new message and send it off to my GMail address. After I send it, it pops into my inbox on Outlook (stating that it came from me). The intended recipient also gets the message.
I have installed ubuntu 10.04.2 LTS and followd all the steps from the tutorial from [URL], postfix and dovecot works fine ...but ...is there any way to create email accounts (postfix account) without creating linux accounts for each mail account ?
I recently Re-did my Postfix configuration using [URL] The thing that that guide did not tell me was how to get email to forward to other accounts or if I can point multiple accounts to the same place like here:
finally I tried putting a .forward record in /home/vmail/domain.com/username directory which didn't work either.
I installed Postfix, Amavis-new + Spamassassin + Clamav, Dovecot, and SquirrelMail today, using the Ubuntu guides for each. I have 10.04 LTS Server. My PHP scripts can send email, but when I tried to log into Squirrelmail, I couldn't. Here is what my error log produced (the server name and user name have been changed) :
I'm trying to setup postfix (or exim, I don't mind which), so I can move away my last remaining PC from Windows.I've tinkered with Postfix for good part of a month and I can get it to accept emails using SMTP and post them to a virtual mailbox based on MySQL tables. And it rejects mail addressed to local email addresses that it can't find in the table.
First question (or problem.) I've set up Postfix to relay email it cannot deliver locally such as is the case when you send out an email. My remote host requires authentication. How can I set this up?
Second question: I want to force my clients to use either AUTH, TLS or SSL, and not allow anonymous connections (to prevent an open relay server.) How do I set that up without interfering with the smarthost setting? The smarthost login is not one of my clients, it's a pre-determined login and password that is solely used for the email relaying aspect.
I set up my mail server using the guide here: [URL] I am able to receive mail, I can send mail locally, but I can't send to external addresses. This is in my mail.log: Quote: Jun 30 14:40:43 Server postfix/smtp: 2FD9322015BF: to=<firstname.lastname@example.org>, relay=none, delay=1634, delays=1484/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[220.127.116.11]:25: Connection timed out)
I'm testing my mail server, and sending email works fine. However, when I tried to send emails to my server from gmail, I get this log:
Code: Aug 8 14:18:17 anbient postfix/smtpd: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual Aug 8 14:18:17 anbient postfix/smtpd: connect from mail-qy0-f169.google.com[18.104.22.168] Aug 8 14:18:17 anbient postfix/smtpd: F3D4B1DD02C0: client=mail-qy0-f169.google.com[22.214.171.124] Aug 8 14:18:18 anbient postfix/cleanup: F3D4B1DD02C0: message-id=<4C5EBC96.email@example.com> Aug 8 14:18:18 anbient postfix/qmgr: F3D4B1DD02C0: from=<firstname.lastname@example.org>, size=1982, nrcpt=1 (queue active) Aug 8 14:18:18 anbient postfix/smtp: connect to net[126.96.36.199]:25: Connection refused Aug 8 14:18:18 anbient postfix/smtp: F3D4B1DD02C0: to=<fidelix@net>, orig_to=<email@example.com>, relay=none, delay=0.15, delays=0.09/0/0.05/0, dsn=4.4.1, status=deferred (connect to net[188.8.131.52]:25: Connection refused)
And this is strange. 184.108.40.206 seems to be the web address 'net.net'. I am sure this has to be some setting in postfix, cuz its trying to deliver the email to 'fidelix@net', and that cant be right.
Here is my postconf -n output: Code: root@anbient:/var/mail# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix home_mailbox = Maildir/ .....
After a reboot of my VPS, I keep getting the following error when sending email to my domain (hosted on Google Email). I can send to other email addresses but my own. So it seems like postfix thinks all mydomain.co.nz is to be sent internally?
configuring my postfix server to send mail over smtps port 465. My ISP (as is the case with many ISPs), is blocking outbound SMTP, so I need to configure postfix to relay my mail out through my ISPs SMTP servers.
I was able to get it to work with gmail, which uses port 587, by using SASL: [URL] but that configuration is less than ideal as gmail drops the "reply to" address so when people receive my email, it looks like it's from gmail instead of from my server.
If I use my ISP SMTP servers as a relay the "reply to" address is not stripped, but the relay uses ssl over port 465 instead of TLS. According to the SASL readme:
Postfix does not deliver mail via TCP port 465 (the obsolete "wrappermode" protocol). See TLS_README for a solution that uses the "stunnel" command.
I've looked at the TLS_README and can't figure out what I need to do. how to configure this?
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:
I have configured Postfix, mysql and Dovecot according to following guide. [URL] My issue is When I'm Install dovecot ( using yum command). it Didn't create a "/usr/lib/dovecot/deliver" folder.Then my mail.log trace this error message
May 27 16:36:02 localhost pipe: fatal: pipe_command: execvp /usr/lib/dovecot/deliver: No such file or directory May 27 16:36:02 localhost postfix/pipe: CE9768FED3: to=<firstname.lastname@example.org>, relay=dovecot, delay=26, delays=26/0.02/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /usr/lib/dovecot/deliver: No such file or directory ) After that I have create "/usr/lib/dovecot/deliver' folder. Then I have set permission using follwing command.
Im a fairly new linux person and have a hopefully easy question. I am running centos with dovecot and postfix for the mail. Im using imap so all the mail is on the server. Im also using thawte certificates. What is the easiest way to move all of this over to a more stable box? The box i have now is a major POS.