Ubuntu Servers :: Can't Seem To Reinstall Postfix?
Jun 30, 2010
I can't seem to reinstall Postfix. I followed a guide and couldn't get it to work. After I retried a few times I gave up and deleted all files and folders I could find related to Postfix. Well I realized what the issue was and now that I want to try reinstalling Postfix it won't allow me.
When I type:
Code:
sudo apt-get install postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
postfix is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
[Code]...
View 9 Replies
ADVERTISEMENT
Mar 11, 2010
Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"
-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...
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:
[Code]....
View 1 Replies
View Related
Mar 31, 2010
I built out a headless VMWare v2.0.2 Server. I managed to work all that out but now I'm having some trouble getting my virtual machines on the server. I installed both proftpd and vsftpd but neither server lets me log in. 'Login Failed' is always returned (using the only account on the machine - created during the install).
So I decided to install samba, but samba chokes on large files. I tried over and over again to copy a 10GB VMDK file over samba and it gets to 5% or so and suddenly tells me there is a network problem and dies (which there is no network problem as these machines are all on the same subnet plugged into the same gigabit switch).
So now I'm back to FTP. Unfortunately when I ran apt-get remove proftpd, it didn't remove any of the config files (/etc/proftpd/*) so I manually deleted them. Now when I try to reinstall the FTP servers they won't start because the config files are gone. What's the apt-get syntax to completely uninstall these servers as if they had never been installed so I can start clean? I really don't want to have to do a complete system re-install just to fix 300KB FTP servers.
View 2 Replies
View Related
Jan 3, 2010
I have a postfix server running on a virtual machine hosted by vpslink.com. I have followed the following configuration guide to install the system with dovecot, sasl smtpd authentication, and postfix as an mta: [URL](I know it says it's a debian configuration, but it seemed legitimate that I could follow it). Anyway, in sending email from my primary email account, I have found that roughly 1/2 of the messages are delivered, and 1/2 of them are rejected with a message similar to the following:
Quote:
[code].....
View 5 Replies
View Related
Dec 18, 2010
I am trying to install a mail server (postfix). I followed the instructions (up until SMTP, I do not want that) on ubuntu pages, without any result. I can send mail, but I can't get any.
View 4 Replies
View Related
Jul 11, 2011
I have been following the guide atand it has all worked perfectly and as expected, except for when it says to run "telnet localhost 25". Instead of getting an ip address displayed as I have seen it is supposed to, it just out puts this."Trying 127.0.0.1...Connected to localhost.localdomain.Escape character is '^]'.Connection closed by foreign host."
View 3 Replies
View Related
Jan 18, 2010
I have a static IP from local ISP and my computer is configured with 192.168.1.2 (LAN IP).
I have installed ubuntu server 9.04 and want to send emails from my server for which I've configured postfix. But I dont know what to do next.
My questions are:
1. Do i need to install DNS server for using postfix? If not, what should I install to send emails from this server?
2. Do I need to forward any particular port in my router?
3. If I dont have a fully qualified domain, what are the configurations I need to do to send emails?
View 1 Replies
View Related
Mar 15, 2010
I use Ubuntu Server 9.10 64bit
at first, sendmail was installed and everything was working great. all the email sent from forum and webform I host as been sent correctly in the reception box of the recipient. But I want postfix as MTA to do my delivery to all my virtual domain I host.
when sendmail is uninstalled and postfix installed and all services configured(php included) and restarted(apache included), when I send a email from command line or from web form, the email goes in junk mail for some ISP email address and for gmail and the email did'nt show at all for hotmail. but email sent from forum (phpbb) still goes in reception box like normal email do.
I tried do change the headers, who was working with sendmail, of the email sent from web form without success.
so I tried to uninstall postfix and reinstall sendmail, restarted all service and every thing was back to normal... email sent goes in reception box.
I tried it twice.... sendmail, postfix, sendmail, postfix and now back to sendmail for a working solution until I get postfix working.
I tried with spf entry in my dns, I tried allowed icmp packet from outside with iptables, I tried many different headers for my email. My ip is not blacklisted anywhere.
View 9 Replies
View Related
Mar 25, 2010
I have a problem setting up Postfix on my home (behind Router/firewall) Ubuntu driven server, I have been trying for days now with no luck. All I would like to do is use the server to send mail (MTA). So while installing I configured it as a satellite system.
file:
/etc/postfix/main.cf
settings:
myhostname = mail.example.com
mydomain = example.com
alias_maps = hash:/etc/aliases
[code]....
I'm getting a 553 From address not verified. I have tried what it suggested from the URL link, but it still doesn't work.
View 3 Replies
View Related
Apr 7, 2010
I've got a server running 9.10, and I'm having a few issues with SMTP. It's got Postfix and Dovecot installed, and eventually I'll add content filtering, but I need to get past this issue first.
I know there's a lot of posts out there for Postfix issues, but I haven'tbeen able to find one specific to my issue.
IMAP and POP3 work fine through SSL, and the server can send mail without any problems. That's all fine and dandy, but I need to utilize an e-mail client (like evolution or outlook). Everytime I set up a user in Evolution, the smtp connection times out, or is refused. I know it's not a firewall issue. Port 25 is open, as well as 465. So I should be able to connect through SSL. I want to be able to connect through SMTP using the same credentials as IMAP.
Here's my main.cf file:
Code:
myhostname = mail.adamwgay.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
[Code].....
everytime I get things rolling, this issue pops up. I don't know if it's something I'm setting up wrong in the client, or if it's a configuration error on my part in postfix.
I'm also having a bit of an issue with my aliases. I've basically got a lot of addresses going to root, then root going to the main user, but it's not actually delivering the mail to the main user. It sends it straight to root.
View 9 Replies
View Related
May 3, 2010
I installed and configured postfix per the guide on help.ubuntu.com. Everything seems to work fine with smtp and it says that my emails are being sent, but I never receive them.What could be causing this problem?The local mailbox shows that the email was sent.Mail.log shows that the message was delivered to the mailbox.
View 5 Replies
View Related
May 10, 2010
I have installed qmail on my 10.04 server (Because I prefer qmail and dont want to use postfix) and I would like to just install courier IMAP/POP server without the Postfix (Or other mail servers).
Is there an apt-get install switch that will install just what I want to install without deps; or at least a way to block unwanted deps from being installed.
View 3 Replies
View Related
May 26, 2010
I have just built an internal postfix server for sending mail only, it's not accessible outside our network. I will be sending from our domain, Rewriting the from field to abc.com is turned on in the postfix config. A friend is telling me this will not work as they will do reverse lookups on our domain. What does this mean? Obviously the domain the email is sent from is a valid domain. If they do a lookup from the IP the mail came from it would be global crossing, our internet provider? These outbound emails are critical client reports, I want to make sure they are not seen as spam.
View 1 Replies
View Related
Sep 13, 2010
i want to run a postfix server as a backup mx, but anybody knows how can i collect the fist server mails with this one? this is multipop action but how can i do it with dovecot or any other pop collector?
View 1 Replies
View Related
Sep 28, 2010
My fail2ban won't block relay attempts (it does block ssh)
mail.log contains lots of
Code:
NOQUEUE: reject: RCPT from 118-167-6-196.dynamic.hinet.net[118.167.6.196]: 554 5.7.1 <333@fgytry.myip.org>: Relay access denied
jail.conf
[Code]....
View 4 Replies
View Related
Jan 2, 2011
I am setting up an ubuntu server, in order to use it with Joomla.
Does someone knows if is possible to use PostFix as SMTP server for Joomla?
If does; would be necessary to install IMAP or POP3, Webmail etc if I just want to send automatics mails via Joomla.
View 3 Replies
View Related
Jan 12, 2011
I am setting up a mail server on an Ubuntu 10.04 LTS desktop. I am using the tutorial at [URL] to do it, and have followed it (i believe) to the letter. However, when i try to use postfix, this error appears in mail.log
server postfix/smtpd[14270]: NOQUEUE: reject: RCPT from smtp110-mob.biz.mail.gq1.yahoo.com[98.136.185.201]: 554 5.7.1 <smtp110-mob.biz.mail.gq1.yahoo.com[98.136.185.201]>: Client host rejected: Access denied; from=<myemail@yahoo.com> to=<admin@mydomain.com> proto=SMTP helo=<smtp110-mob.biz.mail.gq1.yahoo.com>
and it will not recieve.
My main.cf: (mydomain is replaced by my domain in the file)
Code:
smtpd_banner = $myhostname ESMTP $mail_name Welcome!
biff = no
append_dot_mydomain = no
readme_directory = no
[code]....
View 2 Replies
View Related
Feb 21, 2011
I currently have a postfix / dovecot server running on one ubuntu server with nullmailer relaying webmail on a different server. This is currently working except the mail server is rejecting incorrect addresses which results in the messages being stuck in the nullmailer queue on the webmail server. Is it possible to force postfix to accept and manage all relayed messages from webmail, or is it possible for the nullmailer to manage the bounced messages correctly?
View 1 Replies
View Related
Apr 30, 2011
Topic says it. Postfix was receiving emails just fine on 10.10, did the upgrade, now every host is unkown...even though I can dig -x from the machine and resolve.
View 3 Replies
View Related
May 8, 2011
EDIT: Change the topic, see post #3
I've been following this guide: http://flurdy.com/docs/postfix/
And done the points up to "Advanced mail server" and are trying to test mailing mail@mydomain.com to mail@mydomain.com (yes, the same inbox) using Thunderbird, through my own DNS, from the server.
But I get the following error: The message can not be sent because the connection to SMTP server mydomain.com timed out.
And when I check /var/spool/mail/virtual where the mailboxes are supposed to be stored there are none.
So I'm wondering how I create a mailbox with postfix.
I can add that I am quite a noob at linux but have to do this in a school project.
I'm using ubuntu server 10.04 32bit with GUI (yes I know, I know)
View 4 Replies
View Related
Apr 18, 2010
First off. I'm not using Ubuntu Server. But I'm trying to get XAMPP set up so I can test Wordpress themes I make. Using 9.10. I got XAMPP installed using the Instructions from Apache Friends. When I went to Localhost I got the language page. Selected English but nothing happened.
Here's my Index.php:
Code:
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/xampp/');
exit;
?>
Something is wrong with the XAMPP installation :-( I searched and found a couple Index.php files. Deleted one. And now when I go to localhost I get a "Index of" page.I removed the XAMPP folder, Deleted Apache, PHP from Synaptic(They got reinstalled when i reinstalled XAMPP btw). Installed LAMP but it still does it. Maybe reinstall XAPP and copy the index.php files from another Comp?.
View 3 Replies
View Related
Jan 4, 2010
I have read many tutorials and guides on how to apply authentication to SMTP on postfix and so far had no look making it work, I do have authentication on dovecot on the pop3 and IMAP servers I have been trying to make this work now for on and off 3 months now and am completely stumped I am running my own server with a dynamically IP address but I have a DNS service to give me a fixed domain name which works. as I am on a dynamic IP I can't send email to external accounts as they need to to through a relay host but I cant set that up until there is some form of authentication on the smtp of postfix even if its just plain-text
originality I ran a windows server with hmailserver which was so easy to setup and use
I have postfix, dovecot, sasld installed
below are my postfix main.cf file and I can post my dovecot if needs be
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
[Code].....
View 2 Replies
View Related
Jan 16, 2010
I'm having a problem with a new install of postfix... it won't relay mail to external domains. Internal mail is fine.I'm using virtual_mailbox_domains so that I can have multiple domains, and I've set dovecot to use local files with encrypted passwords.Here's my main.cf
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
[code]....
View 2 Replies
View Related
Jan 26, 2010
I've search high and low.. does anyone know how to configure Postfix/Dovecot to use another SMTP server (i.e. smtp.comcast.net) as my ISP blocks port 25?
View 2 Replies
View Related
Jan 30, 2010
Working on ubuntu server for 1st time and need to create a new email address.The server has postfix
View 4 Replies
View Related
Feb 15, 2010
Been trying for some time to get Postfix to not allow some internal users to send email externally. I have found some good resources online but none of them work. The user is still able to send email internally and externally.
I used the following web pages to assist me... [URL]
Below is my main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
[Code]....
View 3 Replies
View Related
Mar 12, 2010
Does anyone know the trick to getting Logwatch to make its entries a little less chatty and leave out the "Detailed" section of the Postfix report? I can't seem to tone it down and the daily reports I get include every recipient, host, etc., which is too much info to make a summary report useful.The first portion I get looks like this:
****** Summary *************************************************
9 *Warning: Pre-queue content-filter connection overload
2 SASL authentication failed
432 Miscellaneous warnings[code]....
This would be fine for a quick review that I do first thing. However,the "Detailed" portion that follows is over 2,800 lines long!
View 2 Replies
View Related
Apr 23, 2010
I am trying to make my elastix voip server to send and receive e-mails. It has built in Postfix mail server, and i tried to configure it.I am not sure about some parameters, such as domain and hostname.Either way, i will attach my config file and the errors that i get from log and mail queue as i get them from webmin.
View 7 Replies
View Related
Jun 5, 2010
I'm trying to get messages sent to an alias to invoke a ruby script.Looking at the postfix log the message is being delivered, but I believe the script isn't being run with sufficient permissions.Quote:
Jun 3 18:31:21 hostname postfix/local[12968]: 340B911A3B4: to=<email@domain.com>, relay=local, delay=0.24, delays=0.2/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to command: /var/mailscripts/script)
[code]....
View 8 Replies
View Related
Jul 1, 2010
I set up my Postfix/Dovecot Sasl implementation according to the Server Docs. Now it worked both for SSL POP3 and sending via SSL SMTP. But recently it simply stopped accepting my mail, I can't send out.
View 9 Replies
View Related