|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Arora, Sumit (sumit.arora
hp.com)
Date: Thu Sep 17 2009 - 06:25:18 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks a lot Patrick.
Here are my requirements:
- I have to setup my own SMTP server to receive emails (I chose postfix, sm body referred me)
- Then I have to pass the email body and attachments to a component to process it.
- My postfix server should be able to receive all emails sent to my domain name e.g. anything
mydomain.com
- It is preferred that there should not be any time gap between I receive email and process them, so probably I cannot have any other small smtp server to fetch emails from my postfix server.
- By security perspective, my postfix server should be able to do anti-spoofing and stop junk emails.
- There is no requirement of sending email from my postfix server.
Here is the output of "postconf -n"
[root
sarora postfix]# postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = 16.150.18.223, $myhostname, localhost
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = sarora.com
myhostname = sarora.com
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
proxy_interfaces = 16.212.0.103:8080
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
Many Thanks,
Sumit Arora
-----Original Message-----
From: owner-postfix-users
postfix.org [mailto:owner-postfix-users
postfix.org] On Behalf Of Patrick Ben Koetter
Sent: Thursday, September 17, 2009 2:50 PM
To: postfix-users
postfix.org
Subject: Re: How to receive email on my postfix server
* Arora, Sumit <sumit.arora
hp.com>:
> What I understand Postfix is a smtp server, it will also receive emails.
correct.
> What I need is, postfix to receive emails and my component will process
> those emails, i don't need to receive emails from my postfix server.
Postfix can do that for you.
Postfix basically runs out of the box. It will impersonate as your hosts
hostname unless you configure it differently and accept messages for users
that have an account on your server and will put them into
/var/mail/<username> unless you specify something else.
You could, for example, create an alias in (usually) /etc/aliases and pipe the
incoming message to a script. You could also write your own little SMTP server
and have Postfix send incoming messages to your server and it does whatever
you instruct it to do with the message.
You might need to configure the inet_interfaces parameter, since some OS
vendors set it to listen on localhost only.
But before I go on...
Tell us what the setup you need is and send us output from "postconf -n" and
we will be able to help you a lot better than now.
p
rick
>
> -Sumit
>
> -----Original Message-----
> From: owner-postfix-users
postfix.org [mailto:owner-postfix-users
postfix.org] On Behalf Of Patrick Ben Koetter
> Sent: Thursday, September 17, 2009 2:18 PM
> To: postfix-users
postfix.org
> Subject: Re: How to receive email on my postfix server
>
> * Arora, Sumit <sumit.arora
hp.com>:
> > I have some doubt in receiving email.
>
> Postfix is a SMTP server. It transports (read: sends) messages.
> If you want to receive messages you need an IMAP or POP server such as
> Dovecot, Courier, Cyrus IMAP or ...
>
> p
rick
>
>
>
> >
> > What I understand I just need one domain name associated with my server ip address,
> > and I need to enter this domain in postfix configuration. That's it.
> >
> > I don't need to send emails from this server.
> >
> > I guess that is all I need, can anybody confirm it?
> >
> > Thanks,
> > Sumit Arora
>
> --
> All technical questions asked privately will be automatically answered on the
> list and archived for public access unless privacy is explicitely required and
> justified.
>
> saslfinger (debugging SMTP AUTH):
> <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
--
All technical questions asked privately will be automatically answered on the
list and archived for public access unless privacy is explicitely required and
justified.
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]