Re: to and cc send message to specified address and all address in the email
Sam Varshavchik <[email protected]> Tue, 24 Jun 2014 00:25:12 -0400
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
Marc Guyard writes: > « HTML content follows » > > Hi, > > > I've working since many days on MailDrop and i have a problem with the to and > cc. > In my configuration, i've this : > > > > if ($SUBJECT =~ /.*\[Ticket#[0-9]+\].*$/ && ! /^X-Loop: > <URL:mailto:[email protected]>[email protected]$/:h) > { > log "* Match OTRS Subject" > log "* Add AntiLoop Header ==> X-Loop" > xfilter "reformail -A 'X-Loop: > <URL:mailto:[email protected]>[email protected]'" > log "* Send email to OTRS mailbox" > to "[email protected] [email protected]" > } > > > In my case, mails who match this rule are send to [email protected] and otrs- > [email protected] but also to all address in to and cc of the original > email. > > > How can i specify to foward the email only to addresses specified and not to > this and original to/cc ? That's determined by your mail server. maildrop invokes $SENDMAIL and passes it the given arguments, the two email addresses. You are saying that the mail server then takes them, and also takes the addresses from the message's headers, and sends the mail to the combined list. That's very unusual. You did not specify what mail server what you're using, but it's strange for the mail server's sendmail to behave like that. I've never heard of any mainstream mail server to behave this way. Check the documentation for your mail server, for more clues. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Courier-maildrop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJTqP2oAAoJEGs6Yr4nnb8l4+wP/0aU7mfUc6v/5a3jH9MZo+dL +4+9H2a8fm2AqS3cGjQDLbOzryznunGtfMjdcivpL1BwiyBMT81gP5n0T+xEyeaJ wAqx+DZSVgncODJX0gMaQRl2NaTPs0Gvz8CbCQbN81+NO2OPiseU8YnuL5Kugnrt evrVB6PBtsqK9dZs8T5pu86Ce/k4Mto+lau2VMCbAzS4SwL+ZBxbMWT+BEqkn7+V WsjjbL1MMvTJdLOBxbLeVWoIbEFWnEpeOYN/kxNfVerXtdg3ODxv3NuS/4q00q32 9usoj3I8ysU5upnisuFtCUL/vj/GCjbwZYwiKLzC8RsTjqn620dIc2ShUQFc/PQU FDkhyiO660GxPB1Q5muAfzWe4H6Ap56mWNqOjWFFuoBeLdaaP/yGtEJmr7WLsg8R ouKKkBZQGDIfeMKUgk5jdFZw/V/0ZiyOX9VcuN5wXFAY4tMSgzZ1Hyg30k1WzZmc sQBO9+8yYO5nzz4Os+9xrH2ivLHgN5nVcVYdPBRDYXdTNM+nM3qL17ZloE1AsrtP bfe7KKGGt7cI6AqKC309TCB1SFtA3DxG4g3LPW1kXVoceWCXMkXp+R+YsknMvjCP kBPkFJZsgj9p/KtidWgY1WaZ6JbxGBCB4yENfW+CLDB4vVPsPIQnzW68o86EHyhP yfd6xkq8dn4UcsR8MWfS =cYvl -----END PGP SIGNATURE-----