Server :: Getting The Postfix Configuration And How To Use It

Dec 13, 2010

Postfix Configuration needed and its use

View 1 Replies


ADVERTISEMENT

Server :: Postfix Configuration: How To Restrict Use Of CC

Jan 17, 2011

I have configured postfix on my server.

telnet mydomain.com 25
helo validdomain.com
mail from: validaddress@validdomain.com
rcpt to: validuser@mydomain.com

[code]....

When I run this test, as expected, the email is delivered to validuser. However, postfix also delivers it to user1 and user2 despite the fact that the sender does not belong to my domain. I have implemented client, helo and recipient restrictions as below. How do I prevent the malicious use of CC as described here?

Snap of main.cf
-------------------
smtpd_client_restrictions = permit_mynetworks,
reject_invalid_hostname,
reject_rbl_client zen.spamhaus.org,
reject_unknown_client,

[code].....

View 1 Replies View Related

Server :: Postfix Configuration To Split Mail Between Apps On Same Host?

Jul 19, 2010

I have an OpenSuse 11.2 system that is running 2 BBS systems independently, both of which are capable of receiving smtp mail on prot 25. What I would like to do is set up Postfix on the OpenSuse OS to receive all mail for both those domains and then send the relevant mail to the correct BBS. I would therefore have Postfix listening on Port 25 External and the 2 BBS applications listening on different ports on the localhost address. At least that is the plan.

how to do this. I want to do it and still make sure Postfix is secure and not accidentally open up any nasty relay holes etc etc.

View 2 Replies View Related

CentOS 5 Server :: TLS Configuration - Section On The Wiki For Postfix TLS / SASL?

Dec 29, 2009

I was reading over and checking the How to section on the Wiki for Postfix TLS / SASL. I followed it completely and everything seems to be working fine however I am confused about the following section:

smtpd_tls_security_level = may
smtpd_tls_key_file = /etc/pki/tls/private/mail.example.com.key
smtpd_tls_cert_file = /etc/pki/tls/certs/mail.example.com.cert[code].....

View 3 Replies View Related

Debian Configuration :: Tests And Playing Around With Postfix In A Test Squeeze Server?

Feb 15, 2011

I'm doing some tests and playing around with postfix in a test squeeze server. What I want to achieve is a postfix mail server using ports 465 and 587 with smtp authentication to send mails. I followed this howto: [URL].. and I'm using a php script with pear functions to test sending emails to a gmail test account of mine. This is the script:

<?php
require_once "Mail.php";
$from = "Webmaster <webmaster@server>";
$to = "My Name <myaccount@gmail.com>";
$subject = "This is sent with pear as a test";
$body = "This is the body of the message";

[Code]...

View 2 Replies View Related

OpenSUSE Network :: Mail Server Configuration - Postfix To Send Incoming Emails To A Php Script Or Perl

Aug 13, 2010

I have a server with a domain running and im trying to resolve the mail server but i can't see where to start. I use OpenSuse 11.2. Basically, for starting, i want postfix to send incoming emails to a php script or perl. for outgoing emails i guess that i could use php mail function and i will see what else to have. I configured the dns. I do a dig.mydomain.tld MX and i get the following:

mydomain.tld3600INMX0 mail.mydomain.tld
mail.mydomain.tld 3600INAmyNumericalIp

So now my system is receiving MX content but i dont know what to do.

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

CentOS 5 :: Postfix Mail Server Will Not Start Tried To Change Postfix Smtp Port?

Oct 4, 2010

so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens

View 7 Replies View Related

Server :: Updated Postfix Not Running After Transferring Over Users From Older Postfix?

Feb 25, 2011

I recently moved over user from an old box running postfix(v 2.0.16) over to rhel 6 running postfix (v mail_version = 2.6.6). ive tried to make sure all the files are of correct permissions and that the main.cf file is configured corectly. However there is something wrong as when i run postfix: service postfix server i get no error but when checking the status:service postfix status i get: master dead but pid file exists Looking into /var/log/mailog i find this line being the issue:

Feb 25 16:24:39 puny1 postfix/master[3517]: fatal: fifo_listen: create fifo public/pickup: Permission denied

I gather this is a file permission issue and ive tried to make sure the public folder in /var/spool/postfix is correctly set but still no avail.

View 2 Replies View Related

Debian Configuration :: Postfix - Dovecot Configuration

May 13, 2010

I have a web server running and wish to get a mail server running on the same machine. I have a registered domain name. I have postfix and dovecot installed. I can send emails from the server to my normal address on a different domain but cannot receive mail. I can send and receive mail locally with no problems. I just don't know where to look for the problems. If you need any more info ( config files/doamin names etc let me know)

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 :: 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 :: Postfix Smtp Configuration

May 13, 2010

I'm running Postfix primarily as a local email server. There is no email coming in from other machines, and there are no other machines using it to send mail. But I'd like it to be able to send mail. I use Evolution for my normal email stuff, and it's configured to send mail to my ISP's smtp server, and that's working fine. But I occasionally send mail from the command line, using the "mail" or "mutt" utilities. (Mutt because the standard mail doesn't support attachments.) These don't use Evolution's configuration, they depend upon whatever is listening to port 25 - and that's Postfix. So all I should need to do is to give Postfix the smtp server, user name, and password. My problem is that Postfix has voluminous documentation online, and I haven't been able to find this simple configuration in it.

View 3 Replies View Related

Debian Configuration :: Postfix Bad IP Syntax Support

Apr 23, 2016

I have currently configured Postfix as an SMTP server. I would preferably not use a domain name in my email address, like so: myname@[1.2.3.4]

I'm currently testing to see how other mail servers handle this kind of address. When I sent a mail with one one of my gmail accounts, I see that the mail gets rejected due to bad syntax.

It seems as though Google is giving me a RCPT TO address like so: myname@1.2.3.4 However, the postfix server rejects this address with the following error:

501 5.1.3 Bad recipient address syntax

To my best knowledge the only way to have an IP address inside an email address with to write it as a domain literal [1.2.3.4].

My question: how to configure postfix to accept myname@1.2.3.4 as well?

I have put both [1.2.3.4] and 1.2.3.4 in "mydestination" and 1.2.3.4 in "virtual_alias_domains".

It doesn't seem to work so far though.

View 1 Replies View Related

Fedora Servers :: Recommended Postfix Configuration For SB?

Mar 27, 2009

I am building an email server in what I consider to be a 'small business'. I would say my Postfix mail server will house 300 mailboxes (Max). I have a decent server with enough RAM / disk space to run this email server however I don't know what the best way is to manage / configure the users mail boxes.

how to create a new user on the Linux server using 'adduser / useradd' and then setting their shell to /bin/nologin. This is because the mail user will never need to log into the shell of the mail server directly and can still populate email from their mailbox which is located in their /home/$user directory. Now many people I spoke with have advised me that this is a bad and cumbersome method of account administration.

I am running:

Postfix 2.5
Clamav v0.94.2
Amavisd-new 2.5.4
Dovecot 1.0.7
Spamassassin 3.2.5

View 3 Replies View Related

Ubuntu Servers :: Postfix Configuration And Use Error

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

Debian Configuration :: Postfix - Cannot Currently Create Any Folders Other Than Inbox

Jun 20, 2011

My Postfix cannot currently create any folders other than inbox. Even when I send an e-mail I receive an error along the lines of, "Could not create sendmail folder." Also, my Postfix isn't receiving e-mails, and can only send e-mails to other accounts on the server. I called my ISP and they told me my port 25 isn't blocked, and it is forwarded on my router so I am not sure what could be wrong. I am using zoneedit as my name server and I am pretty sure my MX record is good.

View 14 Replies View Related

Ubuntu :: Postfix Configuration To Prevent External Connections?

Mar 14, 2010

How can I configure Postfix to reject connections coming from anywhere except the local machine?

View 4 Replies View Related

Ubuntu Servers :: Postfix Configuration Can't Send E-mail

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

Ubuntu Servers :: Postfix / Courier And Squirrelmail Configuration

Aug 13, 2010

I have setup a postfix + courier + squirrelmail email configuration. I can get to the squirrelmail login page and run its test and it said everything was fine. After that I am stuck. What is the username and password or if it is not created, how do I create it?

View 3 Replies View Related

Debian Configuration :: Postfix Multi-instance Doesn't Work

Jun 21, 2015

i created a second instance of postfix.It isn' t the first time that i made this procedure but with debian i had a lot of problem.I think that the problem is chroot configuration of postfix .In the first i had two problem smtp “fatal: unknown service: smtp/tcp” and the second instance was enable to make nslookup of domain.I copied the necessary file in /var/spool/postfix-second-instace and i solved the errors.Now the problem is that there aren't error in log file but connect to xxx.xxx.net[yyy.nn.yyy.yyy]:25: Connection timed out for all connection. and the email are all in defer directory and the second instance doesn' t send emails.

View 4 Replies View Related

Debian Configuration :: Postfix To Block Fake Mail From Own Email

Mar 22, 2016

The problem I have is so simple yet difficult for me to resolve. My Postfix MTA allow fake mails from me@example.com to me@example.com. How can I block them?

For example, if I do "telnet smtp.mail.yahoo.it 25", as I write the MAIL FROM command I get the alert "Authentication required". How can I achieve that?

View 13 Replies View Related

Debian Configuration :: Postfix Not Delivering To Local Users / Sort It?

Mar 24, 2011

I did search the forum but didn't find an answer.

I have setup Postfix + Dovecot on my basic debian 5 server. If I send a message to a localuser@mydomain.com from mutt, it delivers just fine and is visible when viewed through squirrelmail, I can also send just fine.

My issue is that irrespective of what options I set in main.cf, I cannot for the life of me get Postfix to stop erroring with "Recipient address rejected: User unknown in virtual alias table". I'm stumped.

My main.cf is as follows code...

I do not want to setup virtual hosting with MySQL or similar, I literally want to receive mail in local users mailboxes for a single domain. Any ideas on what's missing?

View 1 Replies View Related

Ubuntu Servers :: Postfix Smtp Client Configuration For Port 465?

Jan 2, 2010

configuring my postfix server to send mail over smtps port 465. My ISP (as is the case with many ISPs), is blocking outbound SMTP, so I need to configure postfix to relay my mail out through my ISPs SMTP servers.

I was able to get it to work with gmail, which uses port 587, by using SASL: [URL] but that configuration is less than ideal as gmail drops the "reply to" address so when people receive my email, it looks like it's from gmail instead of from my server.

If I use my ISP SMTP servers as a relay the "reply to" address is not stripped, but the relay uses ssl over port 465 instead of TLS. According to the SASL readme:

Quote:

Postfix does not deliver mail via TCP port 465 (the obsolete "wrappermode" protocol). See TLS_README for a solution that uses the "stunnel" command.

I've looked at the TLS_README and can't figure out what I need to do. how to configure this?

View 7 Replies View Related

Ubuntu Servers :: Postfix Configuration - Send Mail To Other Domains

Nov 5, 2010

Let me start off by saying I am experienced with computers, though my knowledge of Linux and networking is limited. I've just recently started setting up a Ubuntu 10.04 server to be a SMTP server. I've followed this guide by the letter: [URL] What I've attempted, to test the server, is the following:

telnet localhost 25
ehlo localhost

(this returns all the desired information) I then do a MAIL FROM my domain which is accepted, and try to do a RCPT TO an external mail server (gmail) to test sending an email. I am then told 'Relay Access Denied'. I'm sure that there's something fundamental that I'm either not understanding or not doing correctly. I simply want an SMTP server that can send to other domains. What do I need to do?

View 1 Replies View Related

Ubuntu :: Postfix / Gmail Smtp Configuration Failure To Authenticate / Create Tls Connection

Jun 29, 2010

I'm trying to configure postfix on an ubuntu virtual machine to use gmail as a relay client. For the past two days I have been in and out of the logs, changing parameters and blindly following tutorials but I can't get anything to work properly. So far I've narrowed my problems down to tls connection establishing and a failure to authenticate, judging by the local emails I've received from "The mail system".

View 2 Replies View Related

Server :: Move Mails On Exim Server To Postfix Server?

Jan 12, 2010

how can I best transfer my mails that are sitting on my old exim server to my new postfix server?

View 1 Replies View Related

Server :: Postfix As Spam Mailscanner To Protect Mail Server Running Sendmail?

Jul 27, 2011

I am using postfix as spam Mailscanner to protect my mail server running sendmail. The problem is that when I forward an email from MailScanner mail me back with the following error:

<postmaster@localhost.@mydomain.com.>... Real domain name required for sender address (in reply to MAIL FROM command))
Jul 27 13:15:59 smtp postfix/local[28465]: C68AC1000001: to=<root@smtp.mydomain.com>,

[code]....

View 1 Replies View Related

Server :: Sended Mail Go To Trash Folder Of Reciver Using Postfix In Smtp Server?

Nov 26, 2010

my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.

my main.conf
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

[code]...

View 3 Replies View Related

CentOS 5 Server :: Configure Postfix On 5 To Relay Email From The Internet To The Exchange Server

Apr 24, 2011

i need to configure postfix on centos to relay email from the internet to the Exchange Server and i also need that emails sent from the exchange within the same domain be sent to postfix then resent to exchange because i have spamassassin and clamav installed on centos to filter all incoming and outgoing mails ...

View 1 Replies View Related







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