Sponsored Content
Full Discussion: ACL for postfix or sendmail
Top Forums UNIX for Dummies Questions & Answers ACL for postfix or sendmail Post 302771929 by safsound on Friday 22nd of February 2013 07:10:27 AM
Old 02-22-2013
Quote:
Originally Posted by DGPickett
So, this is just a common outgoing email server to support clients, which must shun spammers.

Reverse lookup can be set up to say any domain, unless it checks with a forward lookup to match.

I guess in postfix you put your IPs in mynetworks and set to restrict: Postfix SMTP relay and access control

From the man page referenced there, how to set mynetworks: Postfix Configuration Parameters
Thanks but i dont find any example to write the good syntax

example :

10.5.5.10 can send from toto.com on all domain in outgoing
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Postfix Problem under mailx/sendmail command

Update: Problem solved with this command: /opt/soc/bin/postfix-setup ================================ Hi, I am trying the following mailx command: sadm@edwardwi-z:/etc$ mailx ewijaya@gmail.com Subject: test foo . . EOT But it gives the following error ... (0 Replies)
Discussion started by: monkfan
0 Replies

2. UNIX for Dummies Questions & Answers

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (0 Replies)
Discussion started by: kumakuma
0 Replies

3. OS X (Apple)

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (1 Reply)
Discussion started by: kumakuma
1 Replies

4. UNIX for Dummies Questions & Answers

Mail tranmission issue: Postfix/Sendmail

Hi, I have email that is being routed from one server to another server it seems. The sending server has postfix running and the receiving server has sendmail running. The sendmail status is receiving connection. The sending server cannot seem to reach the receiving server. Error logs state... (0 Replies)
Discussion started by: mojoman
0 Replies

5. Solaris

Replace sendmail with Postfix

Hi, I am assigned to replace sendmail with Postfix in solaris 10. Can anyone please tell what are the steps should be taken like files to backup and what are the configurations should be taken care and so on??????? Appreciate any help.... (0 Replies)
Discussion started by: bpsunadm
0 Replies

6. UNIX for Dummies Questions & Answers

French characters in postfix/sendmail

Hello again, How can I send emails via postfix with special characters like "à" via postfix. When I'm paste-ing the special character inside a editor (nano) it shows like this --> � ... any tips? (1 Reply)
Discussion started by: galford
1 Replies
LMDB_TABLE(5)							File Formats Manual						     LMDB_TABLE(5)

NAME
lmdb_table - Postfix LMDB adapter SYNOPSIS
postmap lmdb:/etc/postfix/filename postmap -i lmdb:/etc/postfix/filename <inputfile postmap -d "key" lmdb:/etc/postfix/filename postmap -d - lmdb:/etc/postfix/filename <inputfile postmap -q "key" lmdb:/etc/postfix/filename postmap -q - lmdb:/etc/postfix/filename <inputfile DESCRIPTION
The Postfix LMDB adapter provides access to a persistent, memory-mapped, key-value store. The database size is limited only by the size of the memory address space (typically 31 or 47 bits on 32-bit or 64-bit CPUs, respectively) and by the available file system space. REQUESTS
The LMDB adapter supports all Postfix lookup table operations. This makes LMDB suitable for Postfix address rewriting, routing, access policies, caches, or any information that can be stored under a fixed lookup key. When a transaction fails due to a full database, Postfix resizes the database and retries the transaction. Postfix table lookups may generate partial search keys such as domain names without one or more subdomains, network addresses without one or more least-significant octets, or email addresses without the localpart, address extension or domain portion. This behavior is also found with, for example, btree:, hash:, or ldap: tables. Unlike other flat-file Postfix databases, changes to an LMDB database do not trigger automatic daemon program restart, and do not require "postfix reload". RELIABILITY
LMDB's copy-on-write architecture provides safe updates, at the cost of using more space than some other flat-file databases. Read opera- tions are memory-mapped for speed. Write operations are not memory-mapped to avoid silent corruption due to stray pointer bugs. Multiple processes can safely update an LMDB database without serializing requests through the proxymap(8) service. This makes LMDB suit- able as a shared cache for verify(8) or postscreen(8) services. SYNCHRONIZATION
The Postfix LMDB adapter does not use LMDB's built-in locking scheme, because that would require world-writable lockfiles and would violate the Postfix security model. Instead, Postfix uses fcntl(2) locks with whole-file granularity. Programs that use LMDB's built-in locking protocol will corrupt a Postfix LMDB database or will read garbage. Every Postfix LMDB database read or write transaction must be protected from start to end with a shared or exclusive fcntl(2) lock. A writer may atomically downgrade an exclusive lock to a shared lock, but it must hold an exclusive lock while opening another write transac- tion. Note that fcntl(2) locks do not protect transactions within the same process against each other. If a program cannot avoid making simulta- neous database requests, then it must protect its transactions with in-process locks, in addition to the per-process fcntl(2) locks. CONFIGURATION PARAMETERS
Short-lived programs automatically pick up changes to main.cf. With long-running daemon programs, Use the command "postfix reload" after a configuration change. lmdb_map_size (default: 16777216) The initial LMDB database size limit in bytes. SEE ALSO
postconf(1), Postfix supported lookup tables postmap(1), Postfix lookup table maintenance postconf(5), configuration parameters README FILES
Use "postconf readme_directory" or "postconf html_directory" to locate this information. DATABASE_README, Postfix lookup table overview LMDB_README, Postfix OpenLDAP LMDB howto LICENSE
The Secure Mailer license must be distributed with this software. HISTORY
LMDB support was introduced with Postfix version 2.11. AUTHOR(S) Howard Chu Symas Corporation Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA Wietse Venema Google, Inc. 111 8th Avenue New York, NY 10011, USA LMDB_TABLE(5)
All times are GMT -4. The time now is 06:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy