03-28-2010
Help Configuring Postfix for no-relaying
Hi,
I have read a lot of manuals and man pages yet I am still confused so I thought I would ask this forum for some help.
I need to configure my postfix to accept email for certain domains.
And it should not be allowed to deliver emails from another emails!
So I did the following:
mydestination = $myhostname localhost.$mydomain
If I only want Postfix to deliver mail from the local machine do I set set the mynetworks parameter to host?
Second issue: what is /etc/postifx/relay file for?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks!
I have a Postfix email server running on my MacOs x box.
I would like to customize this automatic message to portuguese language:
============
This is the Postfix program at host myserver.com.
I'm sorry to have to inform you that the message returned
below could not... (4 Replies)
Discussion started by: fundidor
4 Replies
2. IP Networking
Hello,
I am new to POSTFIX.
My manager has asked me to configure POSTFIX running on a server to accept mail only from itself(localhost). Can someone tell me how I can go about doing this? (1 Reply)
Discussion started by: mojoman
1 Replies
3. UNIX for Dummies Questions & Answers
I have sendmail config'd to relay to a MTA and thought I would try out postfix. I specified my hostname and the relayhost, postfix reload and postfix says it is trying localhost.
Connecting to via relay...
Inserted this into transport
* smtp:Added this to main.cf
... (0 Replies)
Discussion started by: s_becker
0 Replies
4. UNIX for Advanced & Expert Users
I had a wierd request from one of our guys. We are running on RedHat EL5. He asked that all mail originating from 3 servers he owns be sent to files instead of being sent out. My first thought is to set "Smart" relay host in sendmail.cf on each of the 3 servers so all messages are sent to a 4th... (0 Replies)
Discussion started by: mglenney
0 Replies
5. IP Networking
hi all.
Am using smtpd_recipient_restrictions & check_recipient_access in postfix.
The hash file looks like this:
emailaddress1 HOLD
emailaddress2 HOLD
The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies
6. UNIX for Dummies Questions & Answers
Hi guys
One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered.
What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies
7. UNIX for Dummies Questions & Answers
Hi ,
I am new to Send mail concept in UNIX , when ever am trying to send a mail am getting this errors , Could anyone please help me .
reason: 550 5.7.1 .. Relaying denied (2 Replies)
Discussion started by: thana
2 Replies
8. UNIX and Linux Applications
I have a mailserver with postfix
i want to alias all mail for administrator@domain.fqdn
to root@domain.fqdn
I have the aliases configured,and i did newliases
but doesn't work.
How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)
Discussion started by: Linusolaradm1
2 Replies
9. UNIX for Advanced & Expert Users
Hello,
We have 2 servers, server A and Server B in same domain. I have already configured the Serevr A to send an email to the internet (outside domain) by opening the port 25 to the internet.
Now I need to send an email to the outside domain from Server B using server A. I have opened the... (1 Reply)
Discussion started by: sathishbabu89
1 Replies
10. Red Hat
I am trying to setup the postfix email server on Redhat Linux 6.5 running as an EC2 instance in AWS. I can do reverse port mapping to open a port
from our internal network to the AWS linux server, so we should be able to get to our mail server, even though it is a one way path from our internal ... (1 Reply)
Discussion started by: gandolf989
1 Replies
LEARN ABOUT SUSE
ocf_heartbeat_postfix
OCF_HEARTBEAT_POSTFI(7) OCF resource agents OCF_HEARTBEAT_POSTFI(7)
NAME
ocf_heartbeat_postfix - Manages a highly available Postfix mail server instance
SYNOPSIS
postfix [start | stop | reload | monitor | validate-all | meta-data]
DESCRIPTION
This script manages Postfix as an OCF resource in a high-availability setup. Tested with Postfix 2.5.5 on Debian 5.0.
SUPPORTED PARAMETERS
binary
Full path to the Postfix binary. For example, "/usr/sbin/postfix". (optional, string, default /usr/sbin/postfix)
config_dir
Full path to a Postfix configuration directory. For example, "/etc/postfix". (optional, string, no default)
parameters
The Postfix daemon may be called with additional parameters. Specify any of them here. (optional, string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20s.
stop
Stops the resource. Suggested minimum timeout: 20s.
reload
Suggested minimum timeout: 20s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 60s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
EXAMPLE
The following is an example configuration for a postfix resource using the crm(8) shell:
primitive example_postfix ocf:heartbeat:postfix
op monitor depth="0" timeout="20s" interval="60s"
SEE ALSO
http://www.linux-ha.org/wiki/postfix_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_POSTFI(7)