Home | Forum | MAN Pages | Tutorials | Directory | HOWTOs | About Me | Contact
 
Postfix Documentation
General configuration
Basic configuration
Standard configuration examples
Address rewriting
Virtual domain hosting
SASL Authentication
IP Version 6 Support
TLS Encryption and authentication
Installation from source code

Problem solving
Bottleneck analysis
Performance tuning
Debugging strategies
Error messages

Content inspection
Content inspection overview
Stopping backscatter mail
Built-in content inspection
After-queue content filter
Before-queue content Filter

SMTP Relay/access control
Relay/access control overview
Access policy delegation
Address verification
Per-client/user/etc. access
ETRN Support
LAN connected via UUCP

Lookup tables (databases)
Lookup table overview
CDB Howto
Berkeley DB Howto
LDAP Howto
MySQL Howto
PCRE Howto
PostgreSQL Howto

Mailing list support
qmail/ezmlm support
VERP Support

Specific environments
Linux issues
NFS issues
Ultrix support

Other mail delivery agents
Cyrus
Maildrop
LMTP

Other topics
Architecture overview
All main.cf parameters
All Postfix manual pages
Rejecting Unknown Local Recipients
Address Classes
Connection cache howto
Postfix DSN support
Guidelines for Package Builders
Queue Scheduler
XCLIENT Command
XFORWARD Command
FAQS
» Advanced Routing & Traffic Control
» General FAQ
» Squid Proxy Server
» Sendmail
» Fetchmail
» Postfix
» Connecting Mobile Phone
» Paging from Linux
» Standard Commands
» Some common terms
Linux HOWTOs
- Single List of HOWTOs
-
Warning: file(link1.inc) [function.file]: failed to open stream: No such file or directory in /home/linuxfaqs/linux-faqs.com/link1.php on line 12

Warning: Invalid argument supplied for foreach() in /home/linuxfaqs/linux-faqs.com/link1.php on line 16

-
Warning: file(link2.inc) [function.file]: failed to open stream: No such file or directory in /home/linuxfaqs/linux-faqs.com/link2.php on line 12

Warning: Invalid argument supplied for foreach() in /home/linuxfaqs/linux-faqs.com/link2.php on line 16

-
Warning: file(link3.inc) [function.file]: failed to open stream: No such file or directory in /home/linuxfaqs/linux-faqs.com/link3.php on line 12

Warning: Invalid argument supplied for foreach() in /home/linuxfaqs/linux-faqs.com/link3.php on line 16

-
Warning: file(link4.inc) [function.file]: failed to open stream: No such file or directory in /home/linuxfaqs/linux-faqs.com/link4.php on line 12

Warning: Invalid argument supplied for foreach() in /home/linuxfaqs/linux-faqs.com/link4.php on line 16

-
Warning: file(link5.inc) [function.file]: failed to open stream: No such file or directory in /home/linuxfaqs/linux-faqs.com/link5.php on line 12

Warning: Invalid argument supplied for foreach() in /home/linuxfaqs/linux-faqs.com/link5.php on line 16

-
Warning: file(link6.inc) [function.file]: failed to open stream: No such file or directory in /home/linuxfaqs/linux-faqs.com/link6.php on line 12

Warning: Invalid argument supplied for foreach() in /home/linuxfaqs/linux-faqs.com/link6.php on line 16

- INFO-SHEET
- LDP-Reviewer-HOWTO
- MGR-HOWTO
- MultiOS-HOWTO
- Pager
- Psion-HOWTO
- Sendmail-Address-Rewrite
- Sound-HOWTO
- TkRat
- TT-XFree86
- Valgrind-HOWTO
- Wireless-HOWTO
- XWindow-Overview-HOWTO
- ADSL Bandwidth Management
- Compile Apache
- Make a Bootdisk
- Linux-Windows9x-Grub
- Linux-Windows
- Linux Crash Recovery
- Optimise Squid
- Block websites in Squid
- Broadcast webcam in linux
- Compile RedHat Linux kernel
- Implement Firewall Security
- Increase Harddrive Performance
- Mount NTFS filesystem
- Patch / rebuild SRPM
- Secure Linux
- Set up a DHCP Server
- Set up an FTP server
- Set up Linux as a Router
- Use Cron
- Samba
Miscellaneous
» All Ports
» Spammers fetch email addresses
» Mounting NTFS in linux
» Linux Gazette
» Linux Man Pages
» Linux Directory
Linux Man Pages
- Section 1
- Section 2
- Section 3
- Section 4
- Section 5
- Section 6
- Section 7
- Section 8
Linux Directory
- General Information
- Linux Hardware
- Software / Applications
- Web Technology
- Software Development
- Linux Distributions
- Linux Publications
- Linux Beginners


 

Postfix DSN Support


Introduction

Postfix version 2.3 introduces support for Delivery Status Notifications as described in RFC 3464. This gives senders control over successful and failed delivery notifications.

Specifically, DSN support gives an email sender the ability to specify:

  • What notifications are sent: success, failure, delay, or none.

  • What content is returned in case of failure: only the message headers, or the full message.

  • An envelope ID that is returned as part of delivery status notifications. This identifies the message submission transaction, and must not be confused with the message ID, which identifies the message content.

The implementation of DSN support involves extra parameters to the SMTP MAIL FROM and RCPT TO commands, as well as new Postfix sendmail command line options that provide a sub-set of the functions of the extra SMTP command parameters.

This document has information on the following topics:

Restricting the scope of "success" notifications

Just like reports of undeliverable mail, DSN reports of successful delivery can give away more information about the internal infrastructure than desirable. Unfortunately, disallowing "success" notification requests requires disallowing other DSN requests as well. The RFCs do not offer the option to negotiate feature subsets.

This is not as bad as it sounds. Remote senders with DSN support will still be informed that their mail reached your Postfix gateway successfully; they just will not get successful delivery notices from your internal systems.

Use the smtpd_discard_ehlo_keyword_address_maps feature if you wish to allow DSN requests from trusted clients but not from random strangers (see below for how to turn this off for all clients):

/etc/postfix/main.cf:
    smtpd_discard_ehlo_keyword_address_maps = 
        cidr:/etc/postfix/esmtp_access

/etc/postfix/esmtp_access:
    # Allow DSN requests from local subnet only
    192.168.0.0/28      silent-discard
    0.0.0.0/0           silent-discard, dsn
    ::/0                silent-discard, dsn

If you want to disallow all use of DSN requests from the network, use the smtpd_discard_ehlo_keywords feature:

/etc/postfix/main.cf:
    smtpd_discard_ehlo_keywords = silent-discard, dsn

Postfix sendmail command-line interface

Postfix has two Sendmail-compatible command-line options for DSN support.

  • The first option specifies what notifications are sent for mail that is submitted via the Postfix sendmail(1) command line:

    $ sendmail -N success,delay,failure ... (one or more of these)
    $ sendmail -N never ...                 (or just this by itself)
    

    The built-in default corresponds with "delay,failure".

  • The second option specifies an envelope ID which is reported in delivery status notifications for mail that is submitted via the Postfix sendmail(1) command line:

    $ sendmail -V envelope-id ...
    

    Note: this conflicts with VERP support in older Postfix versions, as discussed in the next section.

Postfix VERP support compatibility

With Postfix versions before 2.3, the sendmail(1) commands uses the -V command-line option to request VERP-style delivery. In order to request VERP style delivery with Postfix 2.3 and later, you must specify -XV instead of -V.

The Postfix 2.3 sendmail(1) command will recognize if you try to use -V for VERP-style delivery. It will do the right thing and will remind you of the new syntax.


 
Random Linux Commands
Hacker
A slang term for a computer enthusiast, i.e., a person who enjoys learning programming languages and computer systems and can often be considered an expert on the subject(s). Depending on how the term is used it can be either complimentary or derogatory, although it is developing an increasingly derogatory connotation. The netative sense of hacker is becoming more prominent largely because the popular press has adopted the term to refer to individuals who gain unauthorized access to computer systems for the purpose of stealing and corrupting data. Hackers, themselves, maintain that the proper term for such individuals is "cracker".

Common Linux terms
Linux-FAQs Forum Categories
» About Forum
» Hardware Troubleshooting in Linux
» Linux Entertainment
» Resources
» Software toubleshooting and configuration
All Linux-FAQs Forums
» Crash Recovery
» FAQs
» Forum Talk
» Games
» General
» Linux Audio Support
» Linux Hardware / Driver
» Linux Installation Support
» Linux misc.
» Linux Networking
» Linux Newbies
» Linux Printing Support
» Linux Security
» Linux Video Support
» Mail Server
» Multimedia
» Tutorials
» Web Proxy Server
» Web Server
Partners Link
Linux, Windows, Ubuntu, Debian Freaking Tips funny pictures OMFG Snaps


 
Powered by HTML
Linux-faqs.com Copyright, All rights reserved www.linux-faqs.com. Peeyush Maurya.