Ubuntu Servers :: Postfix At Home Setup MTA Only?

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


ADVERTISEMENT

Ubuntu Servers :: Installed Postfix Setup - Can't Access Email

Nov 20, 2010

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) :

Code:

myserver dovecot: imap-login: Login: user=<username>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
myserver dovecot: IMAP(username): opendir(/home/username/Maildir) failed: Permission

[code].....

View 1 Replies View Related

Ubuntu Servers :: Setup Postfix Mail Server And Courier-imap/pop

Feb 23, 2010

Setup my postfix mail server and courier-imap/pop. My postfix server now is working with tls and saslauthd, I can send/receive email inside my domain as well as outside. However, I need two separate smtp and imap/pop3 server, I mean two machine - one with smtp function and one with imap/pop3 function working together.

View 4 Replies View Related

Ubuntu Servers :: Courier - Postfix - ClamAV - Spamassassin And Amavis Setup

May 4, 2010

I am currently running Ubuntu Server 9.10 and followed this HOWTO on setting up my email server.

[url]

Everything seems to work correctly. If I look in the Maildir the emails I send to test are there.

The problem is when I try to sync my email via IMAP from my windows box (on a different network) it doesn't show any of my email nor does it deliver new email. My email app doesn't give any errors nor does the logs on the server.

How can I get it so my email syncs to windows computer? I am sure it is something really small that I am over looking but I can't seem to find it anywhere. I don't know if you need to see any of my config files but I can post them if needed.

View 5 Replies View Related

Ubuntu Servers :: Postfix, When I Use Postfixadmin To Setup A New User, The Maildir Does Not Get Created ?

Jan 31, 2011

I configured my server to have the virtual mail authenticated and stored through mysql DB.Now the authentication works, but then I got the dreaded -ERR chdir error.After research and testing for ohurs I finally got it working on ONE account after I created the maildir with maildirmake.Now I am able to login and "list" messages, but nothing else. When I use postfixadmin to setup a new user, the maildir does not get created so I have the same problem.I'm trying to troubleshoot what is happening.Here are the relevant config files:

/etc/postfix/main.cf

Code:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no[code].....

View 3 Replies View Related

Ubuntu Servers :: Setup Postfix To Relay Email It Cannot Deliver Locally?

Jul 17, 2011

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.

View 5 Replies View Related

Ubuntu Servers :: Postfix Make Install - Error - Postfix: Fatal: Chdir(/usr/libexec/postfix): No Such File Or Directory

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

Ubuntu Servers :: Setup A Old Cheap Computer And Run It As A Home Server To Toy Around With

Feb 18, 2011

I want to try and set up a old cheap computer with ubuntu and run it as a home server to toy around with. how to get started? (Where to get an old computer? Craigslist? What specs should I be looking out for? Wireless vs. ethernet? What software to use? ssh?)

View 2 Replies View Related

Ubuntu Servers :: Setup A Home Web For Personal Site Using 11.04 And Apache

Jul 23, 2011

I am trying to set up a home web server for my personal site using Ubuntu 11.04 and Apache. I have set up a user called www and given it FTP access to its home area (/home/www) using vsftpd. I then edited /etc/apache2/sites-available/default and set the DocumentRoot directive to /home/www. When I made a test index.html file in that directory it worked fine. Then I FTP'd to the server (as www) from another PC and uploaded the site files. Now when I try to access the site I get an error 403 (forbidden).Obviously I'm doing something wrong here but I'm not sure what. What should I do to fix this.

View 2 Replies View Related

Ubuntu Servers :: Replacing Home Network - Central User Management Setup?

Jul 22, 2010

I am replacing a home network - Windows Server 2003 and 5 PCs (XP Pro) with UBUNTU 10.4 LTS Server and client versions. I am keeping a couple of the PCs with dual boot until I can migrate everything over (Having some issues with iTunes, Family Tree Maker, Media serving, DVD decrypt and a couple of others, but that is for another post). It was great fun getting the server up and running using only shell commands. Took me ages just to get a folder shared! Migrating the data over from NTFS to ext3 was also fun given the limited space on the partitions.

I really only want to use the server for communal network type things ... central user account maintenance, shared folders for music, video etc and data backup. I don't need it to be performing server functions on the Internet e.g. web server etc although that may come later. How I set up central user management? All the PCs are currently setup with local user ids, and it is a bit of a pain to go round each PC every time I change something.

The server is not always up, so I need to be able to log into the local PC without it being active. I was using Active Directory on Server 2003, but I don't need anything that complex really ... just 3 or 4 users to manage. I have been looking at the setup tutorial at [URL] but am not sure how relevant a lot of it is. I have SSH setup so I can login remotely, NFS is working to share the folders, but that is about all I have done so far.

View 2 Replies View Related

Ubuntu Servers :: Unable To Resolve Host URL - Domain Setup / Home Based Web Server

Jan 18, 2011

I have setup a home based web server to host a photo blog for myself and my friends. I will be running wordpress and possibly a phpbb3 forum. I'd like to open this to discuss server administration, server setup, and server maintenance. However, I have a pretty good start on all of those but serving a domain name to my static ip. Here my static ip is 24.10.202.144. I registered a domain through [URL]... It appears that I have the domain working to forward to my ip. However, I am still getting this output file from apache.

[code]...

I have tested the domain name across a few different computers on different ips. It works appropriately. I just want to make sure I have it set correctly on the (apache) server side of things. Then I can get more into Zone Editing etc.

View 9 Replies View Related

Ubuntu Servers :: Setup A Home Server For Backing Up And Storing The Files On Multiple (Windows) Computers?

Feb 3, 2010

I'm looking to setup a home server for the purpose of backing up and storing the files on our multiple (Windows) computers. What kind of server should I set up? Samba? Lamp?

View 5 Replies View Related

Ubuntu :: How To Setup 10.04 Server + Postfix?

Jun 28, 2011

just followed the guide on how to setup Ubuntu 10.04 server + postfix from here: [URL]..ports 110, 143, 25 are forwarded on my router to LAN IP of mailserver.

postfix settings
hostname: server1.mydomain.com
example email: user@mydomain.com

I can receive emails in outlook, if they were sent from the mailserver using: mailx user@mydomain.com

However, external emails from hotmail.com to user@mydomain.com never arrive. I'm thinking this is because of the DNS host records for my domain. Here's what I have.

[Code]...

View 8 Replies View Related

Ubuntu Servers :: Set Home Directory Path Different From LDAP's Home?

May 24, 2011

I need to specify a different path to home directories on a particular server than what LDAP contains for the users, besides using a symlink. E.g. "/Users/jdoe" vs "/home/jdoe" I don't want to change the actual LDAP attributes, just want a particular server to point them in the right direction (Ubuntu 10.04).

I'm assuming it's something I could probably set in pam configurations?

View 1 Replies View Related

Networking :: Stunnel And Postfix SSL Setup

Feb 22, 2009

From what I understand Postfix doesn't support SMTPS or SSL without the use of a tool called STUNNEL. [URL]

So I have embarked on a path and have run into stumbling block. I followed several articles: [URL] or [URL].

Neither one worked and I cannot figure out what it could be. Can someone give me a simple explanation on how to set this up?

View 2 Replies View Related

Server :: Postfix / Dovecot Help On New Setup

Mar 20, 2011

CentOS 5 box was just setup to replace a crashed old one. I have postfix.admin installed and working, added users (confirmed from mysql command line) and can login using telnet server pop3 with the user information. The problem I am left with is just receiving mail. I have both squirrelmail and roundcube installed, and can also authenticate using both (/var/log/maillog shows);From either webclient I can naturally send mail out and both yahoo and gmail client confirms, yet a reply shows nothing, and nothing ever shows in the maillog. Firewall is shut down but I don't know postfix enough to see how to test, or is something else grabbing the mail.

I can provide anything necessary, just let me know what. As I see it (just so far) Postfix should be the server that answers and receives the mail, dovecot is more the pop/imap the client would use, so I think it's a postfix issue. If so, can I turn up the debugging, etc. but again, I think all mail received should appear in the maillog file 1st as I see the outbound mail go fine!

View 3 Replies View Related

CentOS 5 :: Setup Spamassassin With Postfix And Procmail?

Nov 17, 2010

I have Centos 5.5 and using Postfix, procmail and Dovecot for sending and receiving emails. I have spamassassin installed too but not configured. I am getting lots of spams. I googled a lot to find if there is any configuration but I couldn't find.how to setup spamassassin to filter emails for spams.

View 1 Replies View Related

Ubuntu Servers :: Setup New Remote Office - Setup Domain Trust Between Two Sites?

Mar 14, 2010

I ended up setting up a basic linux file server as a pdc for that office. Our main office is a windows 2000 ads domain. The two offices are connected with a vpn. I only have two users at the new location so I simply have the linux and samba usernames/passwords setup manually. I would like to know if it is possible to setup a domain trust between the two sites so I don't have to create a username/password in the remote site for every user at the main office to access. I did some searching but came up empty.

View 5 Replies View Related

Server :: Setup Reverse Dns Check In Postfix ( CENTOS 5 )?

Nov 4, 2009

How can I setup "reverse dns check" option in Postfix ?

View 1 Replies View Related

Server :: Postfix+dovecot Closed Community Setup?

May 22, 2010

I have a Postfix+Dovecot and virtual users setup taken from here. I've got virtual users authenticating using a password file. But I'd like to lock the service down further, so authenticated users can only email other authenticated users (those listed in the same password file) - so it's a closed community. I don't seem to be able to stop authenticated users mailing outside the community.

View 2 Replies View Related

Server :: Postfix Setup - Make Own Email Addresses

May 14, 2011

It wasn't too long ago that I discovered Linux/Ubuntu (in terms of actually USING it) and I've been completely blown away by the capabilities it puts in the user's hands! To think that someone can take an old desktop from a trash pile (literally, in my case) and turn it into a web server for ZERO dollars is absolutely crazy.

Anyway, I've been using said desktop as a sort of "dummy" machine to learn Linux. I want to be clear that I've got another computer for personal use and that I understand that setting up server software on any computer poses a security risk. Having said that, I have a few questions regarding mail servers and their setup on Ubuntu. Again - I'm comfortable with what I've done so far in Ubuntu (installing packages, terminal interaction, basic usage)

My question is mainly this: if you have, say, a domain name through DynDNS (let's say example123.com) and it points to an Ubuntu system, does something like Postfix enable you to make your own email addresses such as user1@example123.com and have an email server from wherever the Ubuntu system is?

I've been following the basic Postfix setup here and have had success so far (down to the "Adding your local domains to postfix" section) bu wanted to make sure that what I'm intending to do is what I'm doing (haha... i hope that makes sense). That is: get domain name at DynDNS, host pages on LAMPP server, use Postfix to facilitate incoming/outgoing email for that domain name.

View 7 Replies View Related

Server :: Postfix Setup To Block Spam From / To Own Address

Jun 21, 2011

I have set up a couple of postfix servers for my domains, but the only thing I am missing now is this: How to block the public sending mail from my email to my email? I have managed it with SPF, but surely there must be a better way, that returns "relay not allowed" to the client. The SPF method costs too much, since it must make a dns request for each mail. So far, I have not gotten many of these mails, unless when testing my mailserver, but as I see it, anyone should not be allowed to send mail from abuse@mydomain.com to abuse@mydomain.com.

Somebody must have thought about this a long time ago, and there is simply that little line in main.conf that I'm missing.. My setup is this (virtual): I have a primary mx, with postfix, courier IMAP/POP3 server, a user database, and sasl via saslauthd. I also have a secondary mail server (backup mx) with no sasl auth, but with a copy of the mail users in the virtual tables, but added as relay_* users instead.

Spamassassin and SPF testing is replicated too, so most of the stuff should work, but I simply cannot find a setting in Postfix that denies someone to mail FROM my address TO my address. When mailing from my address and out in the open, they are required to authenticate, but not when using one of my my domain addresses, and also targeting my domain addresses.

As said, It is possible with a strict SPF setting, but that is at a cost for every lookup. It would be quicker for postfix to lookup the sender and the recipient in the relay/virtual tables, and deny if both addresses were in the recipient tables, and sender is not authenticated.

View 5 Replies View Related

Server :: Postfixadmin Documentation - Setup And Administer The Postfix?

Jan 5, 2011

I have setup postfix and postfixadmin on a CentOS 5.5 server and the install appears to be ready to go. I have never used postfix and postfixadmin and I am having a hard time finding any documentation on how to setup and administer the postfix server with Postfixadmin. This is simply a test and alerting server and will not be hosting user mailboxes. I am only looking for the basics I am not going to need to setup anything complex

View 1 Replies View Related

Software :: Setup Postfix As Null Client (CentOS)?

Apr 12, 2010

I setup postfix as a null client on my VPS to send only automated, outbound emails. I also have Google App mail for the domain (for sending receiving personalized emails), however, I receive the following in Gmail for emails sent by from Postfix. The destination email address are correct (tried a few of my personal email addresses). I once got Postfix to work, but no longer the case.

host ASPMX.L.GOOGLE.com[209.85.223.16] said:
550-5.1.1 The email account that you tried to reach does not exist. Please
try 550-5.1.1 double-checking the recipient's email address for typos or

[code]....

View 3 Replies View Related

CentOS 5 :: Setup A Box With Apache, PHP, MySQL And IRedMail (Postfix/Dovecot)?

Jul 26, 2010

For 3 days now I've been trying to setup a CentOS box with Apache, PHP, MySQL and iRedMail (Postfix/Dovecot) Everything is great apart from Apache, which is returning 403 errors: "You don't have permission to access / on this server.". The apache error_log file says: "[Mon Jul 26 14:02:32 2010] [error] [client x.x.x.x] (13)Permission denied: access to / denied" (I've blanked out my IP). I have no idea what's happening here. Apache works fine until I add my VirtualHost which is:

<VirtualHost mydomainname.com>
DocumentRoot "/home/myuser/public_html"
<Directory "/home/myuser/public_html">
allow from all
Options +Indexes
RewriteEngine On

[Code]...

View 5 Replies View Related

Security :: Setup Postfix On A Standalone Server Connected Directly To The Internet?

Jul 1, 2010

venturing into unfamiliar territory so I'm hoping someone can help me and make things a little more understandable for me. I have setup Postfix on a standalone server connected directly to the internet. I have got inbound and outbound email working for the most part, but I am worried about security.My fear is that if I leave port 25 open to the outside world spammers will find this and start relaying mail through it and eventually blacklisting the IP attached to this box.

For now, I am hosting mail for a single domain and single user (me) with a few aliases. I plan on expanding to IMAP and SMTP access from the outside at some point, but for now I've been using Mutt in a shell and it's fine for my needs for now.

Here are my current Postfix settings:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases

[code]....

View 3 Replies View Related

Server :: Setup Postfix Header_check Subject That Discard All Emails That Have More Than 6 Words In It?

Sep 8, 2010

How would one setup a header_check that would discard all emails that have more than 6 words in it? Such as, if there are more than 6 spaces in the entire message it would be deleted? I cannot find this out but it would reduce my spam intake by 50+ a day.

View 2 Replies View Related

General :: Setup A Functioning Imap And Pop3 Mail Server Using Dovecot-postfix?

May 4, 2010

I'm somewhat familiar with Linux and became pretty decent at installing and configuring packages in Ubuntu. One of the things I was able to do with my tinkering was set up a functioning imap and pop3 mail server using dovecot-postfix. Now I'm experimenting with Slackware to get the feel of another distro, and I noticed that the mail server packages were already installed. On my client computer they can pick up that I have users configured and my mx record is working.

However it is failing to send mail saying that it is failing to relay the e-mail message and that the server responded 5.7.1 which was a problem that I was having in Ubuntu when first configuring the mail server. The fix was to edit the postfix.conf file and adding the localhost name of my server. Does anybody know of the file that I need to edit to make it possible to relay my messages with both pop3 and imap.

View 1 Replies View Related

Ubuntu Servers :: Postfix: How To Get The Configuration

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

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 View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved