OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Staff di Netribe - ReggioNET (staff_at_netribe.it)
Date: Tue Feb 25 2003 - 04:40:30 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hello,
    We have recently migrate from Sendmail to Postfix using standard RedHat
    8.0 package (1.1.11).
    We host an old application that use the "From:" header to parse some
    application parameter (yes, we know, it's very bad, but we must go on
    with that!).
    That application connect to a mailbox using POP3 and search for a sender
    address (From: header) in the form:

            PARAM1;PARAM2;PARAM3;PARAM4 <usermail.server.domain>

    (yes, we know, the semicolon is a character that has a particular
    meaning defined by RFCs, but we must go on with that!).
    The problem is that Postfix rewrite the address in the form:

            PARAM1;, PARAM2;, PARAM3;PARAM4 <usermail.server.domain>

    and our bad application does not recognize its parameter any more.

    I tried to add the following line to the main.cf:
    resolve_dequoted_address = no
    but it didn't work.
    In attachment it is the "postconf -n" output for our server.

    Sendmail didn't modify the From: header, it is possible to obtain this
    behaviour in Postfix too?

    Thanks for your attention and best regards.

    -- 
    ___________________________________________________________________
    Staff
    staffnetribe.it
    ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
    NETRIBE srl :: Collaborative E-Business
    42100 :: Reggio Emilia :: Italy :: Via della Costituzione, 27/4
    ph. +39 0522 232378 :: fax +39 0522 232386 :: http://www.netribe.it
    ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
    

    alias_database = hash:/etc/postfix/aliases, hash:/etc/postfix/lists_aliases alias_maps = hash:/etc/postfix/aliases, hash:/etc/postfix/lists_aliases append_at_myorigin = no append_dot_mydomain = no command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 3 default_privs = mail header_checks = regexp:/etc/postfix/header_checks inet_interfaces = all mail_owner = postfix mailbox_size_limit = 200000000 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man message_size_limit = 10240000 mydestination = $myhostname, localhost.localdomain, matilde.rcs.re.it, rcs.re.it, re.it, reggio-emilia.it, space.reggionet.it, matilde.reggionet.it, list.reggionet.it mydomain = reggionet.it myhostname = mbox.reggionet.it mynetworks = 127.0.0.0/8, 172.16.0.0/16, 193.207.67.0/24, 193.207.160.0/24, 193.207.161.0/24, 130.186.250.0/24, 130.186.75.0/24, 130.186.76.0/24, 130.186.77.0/24, 130.186.78.0/24, 130.186.113.0/24 myorigin = $myhostname newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES relay_domains = ln.reggionet.it, notes.reggionet.it sample_directory = /usr/share/doc/postfix-1.1.11/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_client_restrictions = reject_maps_rbl virtual_mailbox_limit = 200000000 virtual_maps = hash:/etc/postfix/virtual