Loading ...
Sorry, an error occurred while loading the content.
 

Negative Greeting using Amavis

Expand Messages
  • Shane Dittmar
    Hey, I m baffled by yet another problem. I installed Amavis, performed necessary master.cf, amavis conf.d, and main.cf changes, and launched the service.
    Message 1 of 3 , Sep 29, 2010
      Hey,

      I'm baffled by yet another problem. I installed Amavis, performed
      necessary master.cf, amavis conf.d, and main.cf changes, and launched
      the service.

      However, it seems that Amavis is being denied by the Postfix SMTPD
      listening on 10025 when it attempts to reinject the mail. When I
      telnet to 127.0.0.1:10025 (on the server), I am immediately
      disconnected ("Connection closed by foreign host.") The log output
      generated by this connection looks like this:

      Sep 29 16:59:45 shanedittmar postfix/smtpd[10141]: fatal: unexpected
      command-line argument: reject
      Sep 29 16:59:46 shanedittmar postfix/master[26160]: warning: process
      /usr/lib/postfix/smtpd pid 10141 exit status 1
      Sep 29 16:59:46 shanedittmar postfix/master[26160]: warning:
      /usr/lib/postfix/smtpd: bad command startup -- throttling

      This is the configuration I added to master.cf to creat the second SMTPD.

      amavis unix - - - - 2 smtp
      -o smtp_data_done_timeout=1200
      -o smtp_send_xforward_command=yes
      -o disable_dns_lookups=yes
      -o max_use=20
      127.0.0.1:10025 inet n - n - - smtpd
      -o content_filter=
      -o local_recipient_maps=
      -o relay_recipient_maps=
      -o smtpd_restriction_classes=
      -o smtpd_delay_reject=no
      -o smtpd_client_restrictions=permit_mynetworks, reject
      -o smtpd_ehlo_restrictions=
      -o smtpd_sender_restrictions=
      -o smtpd_recipient_restrictions=permit_mynetworks,reject
      -o smtpd_data_restrictions=reject_auth_pipelining
      -o smtpd_end_of_data_restrictions=
      -o mynetworks=127.0.0.0/8
      -o smtpd_error_sleep_time=0
      -o smtpd_soft_error_limit=1001
      -o smtpd_hard_error_limit=1000
      -o smtpd_client_connection_count_limit=0
      -o smtpd_client_connection_rate_limit=0
      -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
      -o smtpd_bind_address=127.0.0.1
      -o disable_dns_lookups=yes

      Thanks for your help in advance. If you need more information, please
      let me know.
    • mouss
      ... space before reject .
      Message 2 of 3 , Sep 29, 2010
        Le 29/09/2010 23:17, Shane Dittmar a écrit :
        > Hey,
        >
        > I'm baffled by yet another problem. I installed Amavis, performed
        > necessary master.cf, amavis conf.d, and main.cf changes, and launched
        > the service.
        >
        > However, it seems that Amavis is being denied by the Postfix SMTPD
        > listening on 10025 when it attempts to reinject the mail. When I
        > telnet to 127.0.0.1:10025 (on the server), I am immediately
        > disconnected ("Connection closed by foreign host.") The log output
        > generated by this connection looks like this:
        >
        > Sep 29 16:59:45 shanedittmar postfix/smtpd[10141]: fatal: unexpected
        > command-line argument: reject
        > Sep 29 16:59:46 shanedittmar postfix/master[26160]: warning: process
        > /usr/lib/postfix/smtpd pid 10141 exit status 1
        > Sep 29 16:59:46 shanedittmar postfix/master[26160]: warning:
        > /usr/lib/postfix/smtpd: bad command startup -- throttling
        >
        > This is the configuration I added to master.cf to creat the second SMTPD.
        >
        > amavis unix - - - - 2 smtp
        > -o smtp_data_done_timeout=1200
        > -o smtp_send_xforward_command=yes
        > -o disable_dns_lookups=yes
        > -o max_use=20
        > 127.0.0.1:10025 inet n - n - - smtpd
        > -o content_filter=
        > -o local_recipient_maps=
        > -o relay_recipient_maps=
        > -o smtpd_restriction_classes=
        > -o smtpd_delay_reject=no
        > -o smtpd_client_restrictions=permit_mynetworks, reject


        space before "reject".
        > [snip]
      • Shane Dittmar
        Wow, that was a stupid error. (I probably misssed it because I m blind) Thanks! ... -- -Shane Website: http://www.blind-geek.com AIM: inhaddict MSN:
        Message 3 of 3 , Sep 29, 2010
          Wow, that was a stupid error. (I probably misssed it because I'm blind)

          Thanks!

          On 9/29/10, mouss <mouss@...> wrote:
          > Le 29/09/2010 23:17, Shane Dittmar a écrit :
          >> Hey,
          >>
          >> I'm baffled by yet another problem. I installed Amavis, performed
          >> necessary master.cf, amavis conf.d, and main.cf changes, and launched
          >> the service.
          >>
          >> However, it seems that Amavis is being denied by the Postfix SMTPD
          >> listening on 10025 when it attempts to reinject the mail. When I
          >> telnet to 127.0.0.1:10025 (on the server), I am immediately
          >> disconnected ("Connection closed by foreign host.") The log output
          >> generated by this connection looks like this:
          >>
          >> Sep 29 16:59:45 shanedittmar postfix/smtpd[10141]: fatal: unexpected
          >> command-line argument: reject
          >> Sep 29 16:59:46 shanedittmar postfix/master[26160]: warning: process
          >> /usr/lib/postfix/smtpd pid 10141 exit status 1
          >> Sep 29 16:59:46 shanedittmar postfix/master[26160]: warning:
          >> /usr/lib/postfix/smtpd: bad command startup -- throttling
          >>
          >> This is the configuration I added to master.cf to creat the second SMTPD.
          >>
          >> amavis unix - - - - 2 smtp
          >> -o smtp_data_done_timeout=1200
          >> -o smtp_send_xforward_command=yes
          >> -o disable_dns_lookups=yes
          >> -o max_use=20
          >> 127.0.0.1:10025 inet n - n - - smtpd
          >> -o content_filter=
          >> -o local_recipient_maps=
          >> -o relay_recipient_maps=
          >> -o smtpd_restriction_classes=
          >> -o smtpd_delay_reject=no
          >> -o smtpd_client_restrictions=permit_mynetworks, reject
          >
          >
          > space before "reject".
          >> [snip]
          >
          >


          --
          -Shane
          Website: http://www.blind-geek.com
          AIM: inhaddict
          MSN: shane@...
          Skype: chatter8712
          Twitter: @shanervr
        Your message has been successfully submitted and would be delivered to recipients shortly.