Ticket #870 (new defect)

Opened 8 months ago

Last modified 5 months ago

Problem with autoresponder + mail address forwardings

Reported by: joximu Assigned to:
Priority: major Milestone: ispCP ω 1.1.0
Component: Backend (Engine) Version: ispCP ω 1.0.0 - DEV
Severity: Hard Keywords: autoresponder forwardings
Cc:

Description

Situation, example:

mail account: joxi@domain.com with enabled autoresponder mail forwarding: joximu@domain.com forward to joxi@domain.com

If I send a mail to joxi@domain.com it's ok, I get a auto reply.

If I send a mail to joximu@domain.com then I don't get a reply.

The problem: The autoreply script does not see the account which has the autoeply message. The script gets the header of the message and sees "to: joximu@domain.com" - but there's no autoreply message on this mail address.

One way to possibly solve: find the right mail account by following the database -> forward... - BUT this is boring and not usefull (forwarded from external?).

IMHO a better solution would be, in master.cf:

# ISPCP autoresponder
ispcp-arpl unix  -      n       n       -       -       pipe
  flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr
  ${mailbox} ${nexthop} ${recipient}

and get the right mail account directly from the parameters...

other opinions?

Attachments

Change History

11/12/2007 06:28:59 PM changed by rbtux

why don't check if envelope-to is available in header?

11/12/2007 10:48:23 PM changed by joximu

I tried to get more infos - but I don't know where to get this info... the script reads the message (or a part from it??? - only headers???) from STDIN and then tries to figure out what mail account... - not a good solution ("BCC").

The parameters from postfix are already separated so lookup in the mail table should be no big deal...

11/12/2007 11:06:38 PM changed by rbtux

but with bcc or forwardings you have an envelope-to header in the mail... elsewise the server wouldn't know where to deliver...

But if you think lookup in the mail table would be better? I don't hold you back ;-)

02/17/2008 02:51:09 PM changed by rats

  • severity set to Hard.
  • milestone changed from ispCP ω 1.0.0 - RC4 to Working.

02/17/2008 11:38:07 PM changed by rats

  • milestone changed from Working to ispCP ω 1.1.0.

Add/Change #870 (Problem with autoresponder + mail address forwardings)