Current time: 12-25-2024, 11:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Forwarding problems ispcp version 1.0.3.1
Author Message
al_paun Offline


Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #1
Forwarding problems ispcp version 1.0.3.1
Hello,
I'm facing with a strange problem.
I've added in interface an email to a domain which is a normal email and forward in the same time (i've added the account then I entered and added 3 or 4 email addresses to forward).

The users complains that they receive 2 or 3 times the emails send to this forward email.

In /var/log/mail.log it seems that email is sent 2 /3 times instead normally only once.

Can you please help me with this issue?
03-05-2010 02:40 AM
Find all posts by this user Quote this message in a reply
TheCry Away
Member
***

Posts: 851
Joined: Oct 2008
Reputation: 21
Post: #2
RE: Forwarding problems ispcp version 1.0.3.1
Are you using Amavis and Maia?
This problem is known and has nothing to do with ispCP!

Look on this site:
http://workaround.org/ispmail/etch

Seearch there for
Code:
A few words on how AMaViS will be plugged into Postfix. If some person sends you an email from the internet it will be received by Postfix (the smtpd daemon) first on TCP port 25 (SMTP). If Postfix accepts the email it will be forwarded to AMaViS on TCP port 10024 (SMTP). And if AMaViS is happy with the email's contents it will be sent back to Postfix on TCP port 10025 (SMTP). Postfix finally delivers the email to the actual recipient.

All what you have to do is to edit the main.cf and add this line
Code:
receive_override_options=no_address_mappings
after
Code:
content_filter               = amavis:[127.0.0.1]:10024

and in the master.cf
Code:
-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
after
Code:
-o strict_rfc821_envelopes=yes

Postfix reload.. Ready
(This post was last modified: 03-05-2010 04:28 AM by TheCry.)
03-05-2010 04:16 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #3
RE: Forwarding problems ispcp version 1.0.3.1
If you are using amavis without Maia, I recomment the following changes to the postfix's master.cf (see this website for details):
Code:
[...]
   # ==========================================================================
   # service type  private unpriv  chroot  wakeup  maxproc command + args
   #               (yes)   (yes)   (yes)   (never) (100)
   # ==========================================================================
   smtp      inet  n       -       -       -       -       smtpd
+          -o cleanup_service_name=pre-cleanup
   [...]
   587       inet  n       -       -       -       -       smtpd
           -o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination
+          -o cleanup_service_name=pre-cleanup
   #628      inet  n       -       -       -       -       qmqpd
   pickup    fifo  n       -       -       60      1       pickup
+          -o cleanup_service_name=pre-cleanup
   cleanup   unix  n       -       -       -       0       cleanup
+           -o mime_header_checks=
+           -o nested_header_checks=
+           -o body_checks=
+           -o header_checks=
   qmgr      fifo  n       -       n       300     1       qmgr
   [...]
   # ====================================================================
   # AMaViS => Antivir / Antispam
  
+  # See: http://www.ijs.si/software/amavisd/README.postfix.html
+  pre-cleanup unix n       -       n       -       0       cleanup
+      -o virtual_alias_maps=
+  
   amavis    unix  -       -       n       -       2       smtp
      -o smtp_data_done_timeout=1200
      -o smtp_send_xforward_command=yes
      -o disable_dns_lookups=yes
+     -o max_use=20
   [...]
03-05-2010 05:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
al_paun Offline


Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #4
RE: Forwarding problems ispcp version 1.0.3.1
Thanks a lot
03-05-2010 05:31 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)