how the whole mail server thing works, and what software handles what job. From my understanding POP3 and IMAP are protocols to pull email from a mail server, and SMTP is used to push email to a server. There are many programs that I've seen involved with creating a mail server, but I'm trying to use just Postfix. Postfix can send and receive email right?
My server runs in my basement and runs Ubuntu Server 10.10. It uses Cherokee as its web server, and it runs several other servers as well (SSH, FTP, Git, etc). My goal is to set up a mail server so that websites I run such as a Redmine or a web forum can send emails to people (e.g. an activation email for a user registering on a forum).
Anyway, I set up postfix, and now my server can receive email. I've been able to send an email from my Gmail address to drew@minipenguin.com (my server), and it works. However, if I try to send email from drew@minipenguin.com to my Gmail, it never goes through. I don't care about receiving email, as my only goal is to be able to send it.
I'm setting up a server and trying to make it *very* secure. Before I configured my web stack, I was about to install some security packages, Tiger and Samhain, but these packages wanted to install sendmail so that they can send outgoing notifications. From the reading I've been doing, I believe I want postfix instead of sendmail. It is my (perhaps mistaken) belief that installing postfix first will prevent them from installing this sendmail I do not want.
I want to install postfix with the following goals in mind:
* let PHP scripts send mail using the mail function.
* various system notification functions (cron, etc.) will be able to send their emails
* emails destined for root@localhost will be redirected to admin@mydomain.com
* let tiger and/or samhain send their notification emails
* NO INCOMING OR LOCAL MAIL IS PERMITTED. Because mail for my domain is handled by google apps, nobody will be checking mail on this server. Also, this server has very limited disk space. It is therefore very important that we don't have mail accumulating in boxes that will never be checked.
* no unnecessary ports, services, or cron jobs are running.
I've been reading a variety of pages that describe postfix setup on Ubuntu but these articles are imprecise, incomplete, and describe installation of things I don't want like POP/IMAP/etc.
There's also one final wrinkle. I will be setting up postfix to send via Amazon SES.
I would like to setup postfix to act as a relay for the outgoing mails of a couple of servers each serving it's own domain.The mails we are talking about are standard administrative emails like user registration, password reset request. The volume of those mails will naturally grow as the site grows. Which for me poses the problem that depending on the growth of the site you will sooner or later hit the quotas imposed by (my otherwise preferred) providers like GMail or smtp.com.
So what I need is a mail relay that will only accept mails from authenticated clients from hosts in its access list and relay their mail without restrictions. Is that possible with postfix? What has to be changed in the config and what are the pitfalls?
I have a problem relate to posttfix.I want to mirgare postfix mail server to exchange 2010 mail server but I can't do it,u can help me.You can show me have to do configure postfix and exchange how to?
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
I've setup my server by following a ton of goods, and it seems to work ok, but I need to start using my server for email in order to receive orders placed via my website. I've followed this guide - [URL] I followed the steps above, and tested the mail server via telnet, and all seemed to be ok. I tried sending an email via Squirrelmail, from cs@thinclientwarehouse.co.uk TO my working email simon@c1systems.co.uk, but the server returned with the following message:
<simon@c1systems.co.uk>: host mail.c1systems.co.uk[95.128.128.129] said: 550-Verification failed for <cs@localhost.thinclientwarehouse.co.uk> 550-The mail server could not deliver mail to cs@localhost.thinclientwarehouse.co.uk. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command)
I have setup a postfix mailserver and it seems to be working ok, we are only using this to relay mail to our forum users. Its not being used to recieve any email only send them out to the internet.
What is the difference between the mail.log and mail.info files? Can I turn one or both off? I see alot of messages like...
Just wondering what this string of log entries means? Also I am getting duplicates in the syslog file as well.
Two exchange servers internally. One is setup for example.com (192.168.1.10) and the other is setup for example2.com (192.168.1.20) Both are behind a single public IP.
I want to use postfix to sit in front of the two exchange servers. Postfix will accept mail for both domains and relay to the appropriate server. I have postfix installed with only defaults at this point.
I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok Now I cannont send mail through command line.
I'm running a Debian LAMP server and I am adding postfix. The initial config is working and I can send and receive mail both locally and over the WAN. The problem is that I cannot get mail delivered to the user's home directory using Maildir/. I have set the:home_mailbox = Maildir/ parameter in main.cf but mail still goes to /var/mail after Postfix reload. The system is now using Maildir/ instead of mbox but in /var/mail. I really want to get mail into the user's home directory.
I am using postfix as spam Mailscanner to protect my mail server running sendmail. The problem is that when I forward an email from MailScanner mail me back with the following error:
<postmaster@localhost.@mydomain.com.>... Real domain name required for sender address (in reply to MAIL FROM command)) Jul 27 13:15:59 smtp postfix/local[28465]: C68AC1000001: to=<root@smtp.mydomain.com>,
my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.
my main.conf sample_directory = /usr/share/doc/postfix-2.3.3/samples readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
I did a a basic install of postfix and dovecot instead of using courier-pop and courier-imap. This is only send and receiving e-mail locally within the test network 10.7.0.X and 10.0.0.X. I used:
[URL]
my postfix.conf is;
PHP Code:
[code]....
This is the error when I send an email from a local machine on the 10.0.0.X network.
PHP Code:
Jan 20 17:05:48 testbox postfix/smtpd[2491]: warning: Illegal address syntax from unknown[10.0.0.111] in MAIL command: <test@10.0.0.112>
Iv setup a postfix mail server.. and setup my MX records within DNS. I configured the posfix mail server with the Mail accounts.I sent the accounts a test message. They end up in the Maildir for the user. But for some reason i cannot POP the mail server from a client. I can telnet to the SMTP server.. But cannot telnet to the POP3. Iv opened the ports in the firewall correctly. and even tried disabling the Firewall but when i try to Telnet to port 110 or POP port 110 i get an error saying "connection refused"
My problem is that I cannot send mail with postfix. For all mail I get connection timeout Example: (delivery temporarily suspended: connect to [URL] Connection timed out)
I'm trying to get my network set up. There is an internal network separated, by a dedicated firewall, from the DMZ. I'm trying to send mail from the internal network, using mutt, to the postfix server on the DMZ.No firewall is set up yet on the dedicated firewall(the whole network is, at the moment, protected by the border router) Mutt was installed with the smtp, pop,imap,ssl,sasl,gdbm options.
I thought the fact that it was compiled with the SMTP flag set would enable me to either send mail without an MTA on the same machine that mutt is installed on(internal network host) Or that i could just specify the path to the sendmail binary and not have to start postfix as a daemon ?I've found out that sendmail is supposed to be a postfix command. So i added:
Code:
sendmail="/usr/sbin/sendmail" to /Users/me/.mutt/muttrc
But now when i start mutt i get an error saying:
Code:
/usr/sbin/sendmail: Unknown command
Obviously i started postfix before firing up mutt The permissions say that i should be able to execute sendmail as a normal user.But mutt isn't dealing with it, even though permissions appear to be correct.What do i need to do to get mail, from a normal user, over my LAN working(with mutt and postfix)?Once i have this working then i can get a proper domain name and configure postfix on the DMZ for SASL+TLS etc etcBTW i can send mail to postfix from internal network using
I have postfix installed on 2 different boxes for 2 different domains in my network. The 2 boxes are in a single network which has a PIX firewall as the internet gateway. In the PIX the external IPs are being mapped with internal IPs of the corresponding boxes. In fact, the boxes are able to resolve the IPs of each other from the DNS. But none of them can contact each other using external IPs. They don't even ping each other with external IPs, but works fine with internal IPs. When investigated on the issue, I found that this cannot be called an issue, but this is how a network is designed (Not sure if I am right). But all the boxes can contact each other using their internal IPs.
The tweak in my mind is to specify the internal IP of the other mail server in the same network, to postfix. Is there anyway to do this?
I tried specifying the internal IP in /etc/hosts, but did not help. I came to a conclusion that postfix is not considering /etc/hosts file (Again I am not sure).
I am running Fedora 10, Postfix and Dovecot I recently changed the password of a user using the 'passwd' command. The problem is that the user can no longer receive their email messages in Thunderbird (Authentication Error). However, they can still login using SquirrelMail and get their mail.
I recently had the need to relay SMTP mail through our organizations hosted MS Exchange server. I had to do a little troubleshooting, so I wrote a concise summary of the procedure I followed.
We moved over from Cpanel using Exim. I was wondering if anyone knew of way to convert the mail so when a user logs in they get to all their mail in their folders. I notice exim has a ton of folders while postfix creates files that act like folders which contain all the emails. I sent up 1 of the emails into the our mail folder that was created by Exim and it can be Subscribed to in Outlook with imap but the emails inside doesn't show up. They both appear as text files so I don't know what the difference is.
I am going to setup postfix mail server for my client on RHEL 5.5 64 bit server, But I don't know how do I set quota in users mail boxes as I have found postfix don't have this feature, so If I will use linux disk quota technology in my mail server for solving this purpose will this help.Please suggest procedure if it is possible or any other alternate.
I have enforced to use the Linux /etc/passwd file to authenticate myself from Outlook, Postfix will accept mail from any IPs. However, I'm not able to send mails from my Outlook via my mail server to someone else on the Internet. Am seeing the following in Postfix's log.
Code: Mar 11 21:07:39 production postfix/smtpd[16366]: connect from pcdxxxxx.netvigator.com[203.218.211.256] Mar 11 21:07:39 production postfix/smtpd[16366]: NOQUEUE: reject: RCPT from pcdxxxxx.netvigator.com[203.218.211.256]: 554 5.7.1 <someone@hotmail.com>: Relay access denied; from=<mate@mydomain.com> to=<someone@hotmail.com> proto=ESMTP helo=<Windows> Mar 11 21:07:42 production postfix/smtpd[16366]: disconnect from pcdxxxxx.netvigator.com[203.218.211.256] Here are my Postfix settings.
I've set up both Postfix and Dovecot on my server. I can currently send mail via Outlook to Postfix over Port 587 (rather than Port 25), and receive mail from Dovecot on Outlook. However, the only mails I am able to receive are those originated from within the server itself. If I attempt to send an e-mail to the address my Outlook listens to, the mail will never reach my Outlook. In other words, no one on the Internet is able to send mail to me.
Can someone tell me: 1) If setting Postfix to listen over Port 587 for my Outlook to send mail outwards is preventing me to have Postfix to listen to mails coming from the Internet? Would I have to turn on both Ports 25 and 587 in /etc/postfix/master.cf? 2) I have configured my Postfix to use saslauthd by authenticating those who are on /etc/passwd. This means I can enter my Linux account details into Outlook in order to connect and download messages. However, does this mean other MTA servers on the Internet who doesn't know my account details are unable to authenticate with my Postfix server and send mails to it?
I'm having a problem with Postfix sending email. To be more specific, Postfix sends mail perfect but when my web server running webmail (RoundCube) connects to my mail server to send email, it fails & there is nothing in the logs that explain to me why:
Code: Jan 8 11:53:02 mail dovecot: imap-login: Login: user=<carlos>, method=PLAIN, rip=192.168.0.201, lip=192.168.0.200, mpid=2161, TLS Jan 8 11:53:02 mail postfix/smtpd[2162]: connect from www.iamghost.org[192.168.0.201] Jan 8 11:53:02 mail postfix/smtpd[2162]: setting up TLS connection from www.iamghost.org[192.168.0.201] Jan 8 11:53:02 mail postfix/smtpd[2162]: Anonymous TLS connection established from
I have recently installed the ISPCP web hosting control panel. It seems that after a while running and testing I can receive but I cannot send e-mail. basically I get an error which goes
Code:
postfix/smtp[5939]: connect to alt1.gmail-smtp-in.l.google.com[72.14.213.27]:25: Connection timed out
I have, in the recent past, been able to send e-mail so I know that there is something that has gone wrong with my configuration, which I cannot. I post here my master.cf and my main.cf files as well as the mail.log file and the mail.warn....
i installed rhel5 o/s and i choosed to installed following packages postfix,dovecot,httpd, squirrelmail, when i logged in as user in webmail the folder is empty when i send any mail any user the user is not getting mails in his inbox the following directory also i din't get (/var/spool/mail/the user directory).
I tried to setup a Postfix system as VM Guest, in a single file image. So I want to store the mails on another hosts throught NFS mount. I got various errors when Postfix try to write to the NFS share. Anyone knows what's the correct setup for this? like file permission on the NFS?