Sponsored Content
Full Discussion: ACL for postfix or sendmail
Top Forums UNIX for Dummies Questions & Answers ACL for postfix or sendmail Post 302770910 by safsound on Tuesday 19th of February 2013 03:16:02 AM
Old 02-19-2013
Quote:
Originally Posted by DGPickett
Possible in sendmail but if it takes rewrite rules, very demanding. You mean incoming mail will be relayed to one of several hosts by domain? Nothing delivered locally? Or are you talking about outgoing mail? ACL is a file permission thing, usually.

Postfix is pretty standard about this sort of thing: Postfix SMTP relay and access control
Yes, i just want relay (outgoing) somes network to use my MTA, no local mail, example :

somes network -------> my MTA -----> outgoing mail (all destination)

i want filter somes network/domain from incoming but nothing to outgoing,

But i need to match network with his domain. not just allow a domain incoming or network incoming but twice

i see access control for postfix but i dont find any configuration example to help me
 

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
TRIVIAL-REWRITE(8)					      System Manager's Manual						TRIVIAL-REWRITE(8)

NAME
trivial-rewrite - Postfix address rewriting and resolving daemon SYNOPSIS
trivial-rewrite [generic Postfix daemon options] DESCRIPTION
The trivial-rewrite daemon processes two types of client service requests: rewrite Rewrite an address to standard form. The trivial-rewrite daemon by default appends local domain information to unqualified addresses, swaps bang paths to domain form, and strips source routing information. This process is under control of several configu- ration parameters (see below). resolve Resolve an address to a (transport, nexthop, recipient) triple. The meaning of the results is as follows: transport The delivery agent to use. This is the first field of an entry in the master.cf file. nexthop The host to send to. For local delivery this is an empty string. recipient The envelope recipient address that is passed on to nexthop. The trivial-rewrite daemon by default only distinguishes between local and non-local mail. For finer control over mail routing, use the optional transport(5) lookup table. This program expects to be run from the master(8) process manager. STANDARDS
None. The command does not interact with the outside world. SECURITY
The trivial-rewrite daemon is not security sensitive. By default, this daemon does not talk to remote or local users. It can run at a fixed low privilege in a chrooted environment. DIAGNOSTICS
Problems and transactions are logged to syslogd(8). BUGS
CONFIGURATION PARAMETERS
The following main.cf parameters are especially relevant to this program. See the Postfix main.cf file for syntax details and for default values. Use the postfix reload command after a configuration change. Miscellaneous inet_interfaces The network interfaces that this mail system receives mail on. This information is used to determine if user@[net.work.addr.ess] is local or remote. mydestination List of domains that this machine considers local. myorigin The domain that locally-posted mail appears to come from. resolve_unquoted_address When resolving an address, do not quote the address localpart as per RFC 822, so that additional @, % or ! characters remain visi- ble. This is technically incorrect, but allows us to stop relay attacks when forwarding mail to a Sendmail primary MX host. Rewriting allow_percent_hack Rewrite user%domain to user@domain. append_at_myorigin Rewrite user to user@$myorigin. append_dot_mydomain Rewrite user@host to user@host.$mydomain. swap_bangpath Rewrite site!user to user@site. Routing local_transport Where to deliver mail for destinations that match $mydestination or $inet_interfaces. The default transport is local. Syntax is transport:nexthop; see transport(5) for details. The :nexthop part is optional. default_transport Where to deliver non-local mail when no information is explicitly given in the transport(5) table. The default transport is smtp. Syntax is transport:nexthop; see transport(5) for details. The :nexthop part is optional. parent_domain_matches_subdomains List of Postfix features that use domain.tld patterns to match sub.domain.tld (as opposed to requiring .domain.tld patterns). relayhost The default host to send non-local mail to when no entry is matched in the transport(5) table. When no relayhost is specified, mail is routed directly to the destination's mail exchanger. transport_maps List of tables with domain to (transport, nexthop) mappings. SEE ALSO
master(8) process manager syslogd(8) system logging transport(5) transport table format 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 TRIVIAL-REWRITE(8)
All times are GMT -4. The time now is 06:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy