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


ADVERTISEMENT

OpenSUSE Network :: Stunnel Update Breaks Programs Using Stunnel (11.4)?

Jul 30, 2011

I received stunnel 4.40-0.6.1 as an update from "zypper up" (openSUSE 11.4).After a reboot, stunnel does not work anymore for the programs that need it.Symptom: the program (emacs+mew) hangs for ever, telling me

"Creating an SSL/TLS connection..."
/var/log/messages does not contain a clue and restarting stunnel via
"rcstunnel restart" looks fine:

[code]....

View 8 Replies View Related

Fedora Networking :: Command Line Email With Att Dsl (stunnel And Ssmtp)?

Jan 26, 2010

I have been trying to get command line email working for cron email reports and such. I have set up stunnel for ssl and this works with thunderbird (set to route through stunnel with no ssl in thunderbird). I am trying to use ssmtp as I don't need all the complexity of sendmail - just trying to use an [URL]..account It complains that my address is not verified. I think the from line is not set up properly but I have been unable to see this in the stunnel logs and ssmtp doesn't seem to have logs. Is there a way to get more logs from stunnel. How do I make sure I am sending the right email and not something like "localhost"?

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

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

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

Fedora :: Why Does Stunnel Fail?

Jun 14, 2011

How do I fix this stunnel error in Fedora 15(LoveLock)? I previously have been able to run stunnel in Fedora 14 and had stunnel up and running. Just recently moved to Fedora 15 LoveLock and now stunnel returns the following fail mesage when I try to restart stunnel.# /etc/init.d/stunnel startStarting stunnel (via systemctl): Job failed. See system logs and 'systemctl status' for details.Does anyone know What changed or how to fix this fail error?

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

Software :: Install Stunnel With Haproxy 1.4.6?

Jun 25, 2010

how to install stunnel (patch I think ) with haproxy. I guess I would need clear cut instructions because I will be doing this on a production server and dont wanna make any mistakes.

View 6 Replies View Related

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

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

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

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

Fedora :: Services (Haproxy And Stunnel) Failing To Start

Dec 3, 2009

I have 2 services registered one for HAProxy and one for stunnel. When I type service start haproxy or service start stunnel they start and everything works fine. I ran ntsysv and they are set as autostart, and I have init.d scripts that work. I have checked the runlevel and using chkconfig runlevel 3, 4 and 5 are :on. And I also added service haproxy start and service stunnel start to inittab. But when I restart the computer haproxy and stunnel fail to autostart. I am a fedora novice and I have no idea why this isn't working...

View 4 Replies View Related

Software :: Bypass Content Filtering Without Using Such Putty - Stunnel?

Jan 14, 2010

I want to bypass my isp web content filtering with squid. i know i have to encrypt my connection between my browser and squid server.how can i do that without using such Putty or Stunnel?which configuration i have to do on squid?

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

Software :: Setup A Mail Server - Virtual Users With Postfix - PostfixAdmin - Courier - Mailscanner - ClamAV On CentOS 5.5

Dec 26, 2010

I am trying to set up a Mail Server -- Virtual Users with Postfix, PostfixAdmin, Courier, Mailscanner, ClamAV On CentOS 5.5 using this guide. These are the version and softwares I have used till now:-

[Code]....

View 4 Replies View Related

OpenSUSE Network :: 11.2 Xen Bridged Networking - Setup Multiple DomU Through The Default Bridge Setup

Feb 4, 2010

Im trying to setup multiple domU through the default bridge setup. I am able to access only one of them through the network at a time. If you ping one of the domU it works perfectly but you cannot ping any of the others until you stop pinging the one and even then it takes a bit before you can. Ive looked around for a while and seen similar problems but nothing ever seems quite the same. Im probably missing something really stupid. Or is this the way the bridge is supposed to behave? Do i need to use a routed virtual network?

[Code]....

View 1 Replies View Related

Ubuntu :: Configuring Webmin Postfix Server With Multiple Postfix Virtual Hosts?

Sep 25, 2010

is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..

View 1 Replies View Related







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