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
POSTDROP(1)						      General Commands Manual						       POSTDROP(1)

NAME
postdrop - Postfix mail posting utility SYNOPSIS
postdrop [-rv] [-c config_dir] DESCRIPTION
The postdrop command creates a file in the maildrop directory and copies its standard input to the file. Options: -c The main.cf configuration file is in the named directory instead of the default configuration directory. See also the MAIL_CONFIG environment setting below. -r Use a Postfix-internal protocol for reading the message from standard input, and for reporting status information on standard out- put. This is currently the only supported method. -v Enable verbose logging for debugging purposes. Multiple -v options make the software increasingly verbose. SECURITY
The command is designed to run with set-group ID privileges, so that it can write to the maildrop queue directory and so that it can con- nect to Postfix daemon processes. DIAGNOSTICS
Fatal errors: malformed input, I/O error, out of memory. Problems are logged to syslogd(8) and to the standard error stream. When the input is incomplete, or when the process receives a HUP, INT, QUIT or TERM signal, the queue file is deleted. ENVIRONMENT
MAIL_CONFIG Directory with the main.cf file. In order to avoid exploitation of set-group ID privileges, it is not possible to specify arbitrary directory names. A non-standard directory is allowed only if the name is listed in the standard main.cf file, in the alternate_config_directories configuration parameter value. Only the super-user is allowed to specify arbitrary directory names. FILES
/var/spool/postfix, mail queue /etc/postfix, configuration files CONFIGURATION PARAMETERS
See the Postfix main.cf file for syntax details and for default values. Use the postfix reload command after a configuration change. import_environment List of names of environment parameters that can be imported from non-Postfix processes. queue_directory Top-level directory of the Postfix queue. This is also the root directory of Postfix daemons that run chrooted. SEE ALSO
sendmail(1) compatibility interface syslogd(8) system logging LICENSE
The Secure Mailer license must be distributed with this software. AUTHOR(S) Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA POSTDROP(1)
All times are GMT -4. The time now is 05:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy