Tag Info

Hot answers tagged

29

openDKIM and Postfix on Ubuntu Server 12.04LTS I'll try to come back and format this better. But since there was a request to post my answer, I wanted to post it now rather than wait until I had time to format it properly. Due to lack of time, I wrapped my entire answer in a blockquote. I hope this solution is helpful. These are my references: man ...


12

This is the best/simple method. sudo apt-get install postfix That's it a mail server is installed. Now administrating that mail server is a whole different story. By default postfix will deliver and relay for all local user accounts. That should get you started. If you want something more complex then you REALLY REALLY need to read, study, learn, ...


10

The term "server" means a piece of software that offers a service to clients. A server usually waits for a client to contact it, and then sends the reply to the client. For further information, read about the Client-Server-Model OpenSSH server SSH (Secure Shell) is a protocol to get encrypted remote access to a machine. The machine you want to access ...


9

Open a terminal and type sudo tasksel install mail-server That will give you a fully functional mailserver with sane defaults. For more information on how to setup a more customized solution, refer to the Ubuntu Server Guide for 12.04: https://help.ubuntu.com/12.04/serverguide/email-services.html


8

Postfix is a drop-in sendmail replacement that includes its own sendmail binary (see the foot of this post). I'm honestly surprised apt let you do this, I thought they were package conflicted. Anyway, to fix: sudo apt-get purge sendmail sudo apt-get install --reinstall postfix sudo /etc/init.d/postfix restart Proof that sendmail on my system is ...


7

For me the solituion was a variant of Oli answer in an Ubuntu13: Error: fatal: bind 0.0.0.0 port 25: Address already in use Sendmail purge didn't work: Package 'sendmail' is not installed, so not removed So I tried: service sendmail stop sudo apt-get install --reinstall postfix and worked!


7

Zimbra is a great and easy to setup mailserver with collaboration, it might be a bit heavy for some people's needs, but the first time I installed it I had it up and running in under 30 min. It even has paid support, if you really need it.


6

It's simple .... Edit /etc/php5/apache2/php.ini this file which is used for PHP configuration by Apache & add below line in it. This is the right php.info path for the Apache web server, otherwise use the respective web-server's folder in the /etc/php5/ location. List of supported timezone in PHP click here. date.timezone = "Asia/Kolkata" ...


6

That's actually a list of packages. Try this: sudo apt-get install sasl2-bin


5

Running a mailserver is not a install-and-go process. Over time you'll want to deal with spam and viruses and people trying to hack your machine via the mail servers. Despite hosting dozens of domains, I don't host email at all. I've farmed all of that off to Google Mail and I recommend everybody does something similar. Life is too short to worry about your ...


5

It seems very stupid but I have solved the problem. I hadn't noticed that a system administrator somehow blocked 3306 port for all hosts at the firewall, and therefore I couldn't connect to mysql. After removing that restriction I was able to connect to mysql without any problems. Thanks for your suggestions and help.


5

I'll try to be as brief and simple as possible. OpenSSH Server:- It is a server that allows remotely controlling or transferring of files between computers. It allows you to remotely control the files on the sever via an OpenSSH client application. DNS Server:- It is a server that points a domain name to an Ip address of a computer. Its like a ...


4

Nuke it in orbit! Your server was compromised, I wouldn't try to "repair it" but plainly starting from 0 and then prevent it gets compromised again. You can check our network paranoids security experts counsels at Information Security. Related: How do you know your server has been compromised? Prevent from happening again: Determining the point of ...


4

Visit the mail-stack-delivery package page and download the tar.gz containing the Debian/Ubuntu packaging. Open the debian/control file and look for lines beginning with Provides: like this one: Package: dovecot-imapd Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, dovecot-core (= ${binary:Version}), ucf (>= 2.0020) Provides: imap-server ...


4

Simple example to setup postfix with satellite SMTP install postfix sudo aptitude install postfix configure postfix sudo vi /etc/postfix/smtp_auth add your smtp authentication information in /etc/postfix/smtp_auth: smtp.foo.bar user@host:password and generate the postfix lookup table file (/etc/postfix/smtp_auth.db) using sudo postmap ...


4

This is the correct message since a third party website is connecting to your server and is not able to send out emails to external domains. Ideally, as per the configuration, if you send an email to one of your own domains, then it should be delivered. Had you been having an open relay, which means accepting emails for any domain, then it would be a big ...


4

You can change it in postfix configuration file /etc/postfix/main.cf. The helo line is controlled by the smtpd_banner parameter. It probably references the myhostname option. Put your server name there instead of localhost: myhostname = server.example.com smtpd_banner = myhostname and restart postfix with sudo postfix reload.


3

Opposed to what a lot of people think, you don't actually need to set up MX records for email delivery. 'A' records will do the job as well. See "History of fallback to A" at Wikipedia about MX records. Alternatively, you could configure your MTA (e.g. Postfix) to use a specific transport for a domain. For Postfix use transport_maps. In order to make ...


3

This blog entry seems to have an answer. Looks like it can have to do with IPv6 settings and results from a change in the way the kernel supports IPv6. http://blog.rebelit.net/?p=67 Basically, disable IPv6 for now.


3

Have you tried to connect to the Mysql server? mysql -u username -p Also, you can try change the listen address in /etc/mysql/my.cnf to 127.0.0.1 and restart MySQL # /etc/mysql/my.cnf bind-address = 127.0.0.1


3

If you are new to email server but still want to set up one. You can check out my blog page Tiny VPS Postfix. It is a good starting point to learn, and you can expend the configuration for full setup in future. What it does Send/Receive mail for your domain Forward all incoming email to another email address according to configuration. What it does not ...


2

I had a similar problem and here is how I did. I created a gmail account for my daemon. I set up filters from gmail.com. And I send my mail using http://iqjar.com/jar/sending-emails-from-the-raspberry-pi/ The guide is for raspberry pi but it will work as long as you use a debian or alike) If you protected your server from bruteforce (fail2ban ?), it ...


2

seems like my server wasn't compromised it just my settings allowed anyone to connect to it, and use it without authentication. in my main.cf I changed the mynetworks = 0.0.0.0/0 [::/0] to mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 and removed the permit from smtpd_client_restrictions after i cleared the queue and started the server none of ...


2

WARNING: It should work but I have not tested it myself. RECOMMENDED IMPROVEMENT: I would advice making both postfix and dovecot use mysql (or another database) to store valid virtual user. Discussion about procmail script in /etc/procmailrcs/ /etc/postfix/main.cf: # list of valid/served virtual domains virtual_mailbox_domains = example.com example.net # ...


2

You have two ways of achieving that. You can create postfix aliases, or create a full featured mailing list. This all depends on what you intend to do with such an address. A group alias would be well suited for automatic notifications to a group of people, while a full mailing list is probably better suited for discussion between a specific group of ...


2

There are a couple of ways to check this. Before you start: Make sure you won't be wasting your time on the methods I list by making sure that you don't have huge deleted files being held open by processes running on the machine: mgodby@mg-ws1:~$ sudo lsof -s | grep deleted | less Notes on this command: This will open a less session on a list of ...


2

I had a similar problem. Changing "hosts = localhost" to "hosts = 127.0.0.1" and setting bind-address to the same address fixed it for me (bind-address was set at 0.0.0.0 for some reason)


2

If you execute postconf -d 'content_filter you could see default value for content_filter in postfix configuration file and from there you could again set that value with postconf -e command.


2

Port 110 is for POP3 which is only relevent for connecting to a POP3 server for downloading email. For email to land on your server, you're talking about SMTP. This is what both your client and external relays use to move messages around the internet. SMTP uses port 25. Dovecot has nothing to do with how emails land on your server. For this you need a Mail ...



Only top voted, non community-wiki answers of a minimum length are eligible