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 ...


11

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, ...


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


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.


7

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 ...


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" ...


5

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!


5

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.


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.


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 ...


3

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 ...


3

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 ...


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 ...


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

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


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

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 ...


2

Take a look here: https://help.ubuntu.com/11.04/serverguide/C/email-services.html Forget about sendmail, it's just too complicated for testing purpuses. You'll need a program to receive emails (that would be postfix) and a mail delivery agent to get the mails to your client via POP3 or IMAP. This could be dovecot - to use with postfix just use the ...


2

I was just getting this same error on one of the company computers. Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) I was also getting this error a lot when I tried to run X-windows programs through ssh: GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP ...


2

Never look for AMIs using ElasticFox or using the community tab in Amazon's EC2 console or using the ec2-describe-images -a command. These tools make it difficult to know who publishes the AMIs which is critical in determining what AMIs you can trust. Always look for an AMI id in a list that is published by a source that you trust. For an Ubuntu AMI, that ...


2

Zarafa doesnt provide packages for 11.10, but only for the Ubuntu LTS versions. The only way to run Zarafa on 11.10 would be to compile the packages yourself (what would be the opposite of easy). For administrating your server you should take a loog at Z-Admin (https://community.zarafa.com/pg/plugins/project/672/developer/zarq/zadmin) its an recently as ...


2

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


2

You can telnet to the host on port 25. For example: telnet mailserver 25 It will kick back the mail server and version number. To exit the telnet session just click QUIT.


2

You can use gmail as relay. Ubuntu postfix. Using gmail as SMTP relay Gmail as SMTP-service. Install postfix. sudo apt-get install postfix Select the settings during installation according to your needs. If you ever need to redo the configuration run: sudo dpkg-reconfigure postfix Edit /etc/postfix/main.cf by adding the following rows: relayhost = ...


2

I use the all-encompassing WEBMIN. Found here It has different modules that you can incorporate (or not) into managing your server. These modules ie: Apache, RAID, Sendmail and the like are a plug-in for Webmin and therefore become manageable when installed. Webmin can also manage your current installations and reports. This simple application is the ...


2

It seems that your main.cf is wrong formatted. The logfile writes: May 13 13:30:53 risheetech postfix/master[9018]: warning: /etc/postfix/main.cf: logical line must not start with whitespace: " smtpd_banner = $myhostname ES..." Have a look at the third list item in postconf(5): A logical line starts with non-whitespace text. A line that ...


2

The following line from the error log gives valuable info: localhost postfix/smtpd[13352]: NOQUEUE: reject: RCPT from mail-lb0-f173.google.com[209.85.217.173]: 550 5.1.1 <sarmenb@mydomain.com>: Recipient address ejected: User unknown in local recipient table; from=<sarmenhb@my-gmail.com> o=<sarmenb@mydomain.com> proto=ESMTP ...



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