Sponsored Content
Full Discussion: Postfix relaying
Top Forums UNIX for Dummies Questions & Answers Postfix relaying Post 302252980 by s_becker on Thursday 30th of October 2008 08:52:16 PM
Old 10-30-2008
Postfix relaying

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.

Code:
 Connecting to [127.0.0.1] via relay...

Inserted this into transport

Code:
*            smtp:[relay1.ourdomain.com]

Added this to main.cf

Code:
transport_maps = hash:/etc/postfix/transport

Executed a postmap /etc/postfix/transport, no dice

Code:
[root@somehost postfix]# postconf -m
static
sdbm
pcre
nis
regexp
environ
proxy
ldap
btree
unix
hash

Verified my transport.db is a hash file

Code:
transport.db: Berkeley DB (Hash, version 8, native byte-order)

Any ideas?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

problem relaying email to client mail exchanger from online forms

We are having a mail issue on our shared web server. We have a $40/mo. web hosting reseller account with a company called F r o g e e . c o m. We host 50+ domains there and only have this problem with two. We don't get much support from them so I am turning to outside help. We are not web... (1 Reply)
Discussion started by: ken_brainstorm
1 Replies

2. Linux

postfix

hi when I telnet to my machine on port 25 and send an email to myself, the machine sends the email to the old corporate mail server instead of the new corporate mail server. how to change that so that any email sent from my linux box goes directly to the new mail server? thx (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

3. UNIX for Advanced & Expert Users

send all mail to files instead of relaying out

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

4. IP Networking

postfix - reinject mail to postfix from hold queue directory

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

5. Solaris

Postfix

recently installed postfix on Solaris 10 but can not find the folder where you install the application to set the default main.cf postfix brings. solaris that saves the configuration part of the applications that are installed. thank (4 Replies)
Discussion started by: cejodrake
4 Replies

6. UNIX for Dummies Questions & Answers

Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix

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

550 5.7.1 Relaying denied During Send mail in UNIX

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 for Dummies Questions & Answers

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: ... (1 Reply)
Discussion started by: mojoman
1 Replies

9. UNIX and Linux Applications

Postfix: Active Directory and postfix alias

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
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)
All times are GMT -4. The time now is 11:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy